summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/gerbmerge/README8
-rw-r--r--python/gerbmerge/fix-install-paths.patch24
-rw-r--r--python/gerbmerge/gerbmerge.SlackBuild65
-rw-r--r--python/gerbmerge/gerbmerge.info10
-rw-r--r--python/gerbmerge/slack-desc19
5 files changed, 0 insertions, 126 deletions
diff --git a/python/gerbmerge/README b/python/gerbmerge/README
deleted file mode 100644
index d5a48beaf3..0000000000
--- a/python/gerbmerge/README
+++ /dev/null
@@ -1,8 +0,0 @@
-GerbMerge is a program for combining (panelizing) the CAM data from
-multiple printed circuit board designs into a single set of CAM files. The
-purpose of doing so is to submit a single job to a board manufacturer,
-thereby saving on manufacturing costs.
-
-Advice: "Users of GerbMerge complain that the configuration file is the
-biggest hurdle to overcome in using the program. Don't panic. Start with
-a sample configuration file and modify it for your own jobs".
diff --git a/python/gerbmerge/fix-install-paths.patch b/python/gerbmerge/fix-install-paths.patch
deleted file mode 100644
index dbe20a3f57..0000000000
--- a/python/gerbmerge/fix-install-paths.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -Naur gerbmerge-1.8old/setup.py gerbmerge-1.8new/setup.py
---- gerbmerge-1.8old/setup.py 2011-07-11 19:15:46.000000000 +0200
-+++ gerbmerge-1.8new/setup.py 2011-07-11 19:13:20.000000000 +0200
-@@ -37,7 +37,7 @@
- BinFiles = ['misc/gerbmerge.bat']
- BinDir = '.'
- else:
-- DestLib = distutils.sysconfig.get_config_var('LIBPYTHON')
-+ DestLib = "/usr/lib/python2.7"
- DestDir = os.path.join(DestLib, 'gerbmerge')
- BinFiles = ['misc/gerbmerge']
- BinDir = distutils.sysconfig.get_config_var('BINDIR')
-@@ -74,10 +74,7 @@
- url = "http://ruggedcircuits.com/gerbmerge",
- packages = ['gerbmerge'],
- platforms = ['all'],
-- data_files = [ (DestDir, AuxFiles),
-- (os.path.join(DestDir,'testdata'), SampleFiles),
-- (os.path.join(DestDir,'doc'), DocFiles),
-- (BinDir, BinFiles) ]
-+ data_files = [ (BinDir, BinFiles) ]
- )
-
- do_fix_perms = 0
diff --git a/python/gerbmerge/gerbmerge.SlackBuild b/python/gerbmerge/gerbmerge.SlackBuild
deleted file mode 100644
index 33207708f5..0000000000
--- a/python/gerbmerge/gerbmerge.SlackBuild
+++ /dev/null
@@ -1,65 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for GerbMerge
-
-# Written by Andrzej Telszewski <atelszewski@gmail.com>
-
-PRGNAM=gerbmerge
-VERSION=1.8
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "x86_64" ]; then
- LIBDIRSUFFIX="64"
-else
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
-
-sed s/lib/lib$LIBDIRSUFFIX/ $CWD/fix-install-paths.patch | patch -p1
-
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
-
-python setup.py install --root=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-chmod 0755 $PKG/usr/bin/gerbmerge
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a doc testdata COPYING \
- $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/python/gerbmerge/gerbmerge.info b/python/gerbmerge/gerbmerge.info
deleted file mode 100644
index 6f8ca10ddb..0000000000
--- a/python/gerbmerge/gerbmerge.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="gerbmerge"
-VERSION="1.8"
-HOMEPAGE="http://ruggedcircuits.com/gerbmerge/"
-DOWNLOAD="http://ruggedcircuits.com/gerbmerge/gerbmerge-1.8.tar.gz"
-MD5SUM="b34d86e47de1f5c9ce3d2d4c3b35662c"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES="SimpleParse"
-MAINTAINER="Andrzej Telszewski"
-EMAIL="atelszewski@gmail.com"
diff --git a/python/gerbmerge/slack-desc b/python/gerbmerge/slack-desc
deleted file mode 100644
index aa7ba85c5b..0000000000
--- a/python/gerbmerge/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description.
-# Line up the first '|' above the ':' following the base package name, and
-# the '|' on the right side marks the last column you can put a character in.
-# You must make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':' except on otherwise blank lines.
-
- |-----handy-ruler------------------------------------------------------|
-gerbmerge: GerbMerge (A Gerber-file merging program)
-gerbmerge:
-gerbmerge: GerbMerge is a program for combining (panelizing) the CAM data from
-gerbmerge: multiple printed circuit board designs into a single set of CAM
-gerbmerge: files.
-gerbmerge:
-gerbmerge: The purpose of doing so is to submit a single job to a board
-gerbmerge: manufacturer, thereby saving on manufacturing costs.
-gerbmerge:
-gerbmerge:
-gerbmerge: