diff options
author | Andrzej Telszewski <atelszewski@gmail.com> | 2011-07-28 09:58:29 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-07-28 09:58:29 -0300 |
commit | 3dfc7de500436317b8eb9f2788a86ed4fec22476 (patch) | |
tree | d9282523bc9ac1bca815df30d6257fcbd87be30e /python/gerbmerge/fix-install-paths.patch | |
parent | 23637dd85cab104b2e98b480c6525021e6401300 (diff) |
python/gerbmerge: Added (A Gerber-file merging program)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'python/gerbmerge/fix-install-paths.patch')
-rw-r--r-- | python/gerbmerge/fix-install-paths.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/python/gerbmerge/fix-install-paths.patch b/python/gerbmerge/fix-install-paths.patch new file mode 100644 index 0000000000000..dd6ea36f71636 --- /dev/null +++ b/python/gerbmerge/fix-install-paths.patch @@ -0,0 +1,24 @@ +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.6" + 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 |