diff options
| author | Iain R. Learmonth <irl@debian.org> | 2015-11-01 15:25:47 +0000 |
|---|---|---|
| committer | Iain R. Learmonth <irl@debian.org> | 2015-11-01 15:25:47 +0000 |
| commit | 533923c7705e6105bafe93baeaf92aa3e3ae5005 (patch) | |
| tree | fe4303ae5aac04f13f4e4a65c09aec0c8c84107b /debian/patches/02-fix-setup-py.patch | |
| parent | c18c7a10f6e7493436472858e6c6e8a5a4d421c6 (diff) | |
Refreshed patches
Diffstat (limited to 'debian/patches/02-fix-setup-py.patch')
| -rw-r--r-- | debian/patches/02-fix-setup-py.patch | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/debian/patches/02-fix-setup-py.patch b/debian/patches/02-fix-setup-py.patch index 1088490..44f635f 100644 --- a/debian/patches/02-fix-setup-py.patch +++ b/debian/patches/02-fix-setup-py.patch @@ -4,13 +4,13 @@ Author: Steve Conklin <steve@conklinhouse.com> --- a/setup.py +++ b/setup.py -@@ -117,44 +117,10 @@ - ('share/chirp/stock_configs', stock_configs), +@@ -136,45 +136,9 @@ ] + locale_files) + -def rpttool_build(): - from distutils.core import setup -- +- - setup(name="rpttool", - packages=["chirp"], - version="0.3", @@ -19,6 +19,7 @@ Author: Steve Conklin <steve@conklinhouse.com> - data_files=[('/usr/sbin', ["tools/icomsio.sh"])], - ) - +- -def nuke_manifest(*files): - for i in ["MANIFEST", "MANIFEST.in"]: - if os.path.exists(i): @@ -31,7 +32,8 @@ Author: Steve Conklin <steve@conklinhouse.com> - for fn in files: - print >>f, fn - f.close() -- +- +- if sys.platform == "darwin": macos_build() elif sys.platform == "win32": @@ -40,7 +42,7 @@ Author: Steve Conklin <steve@conklinhouse.com> - if os.path.exists("rpttool"): - nuke_manifest("include tools/icomsio.sh", "include README.rpttool") - rpttool_build() -- if os.path.exists("chirpui"): +- if os.path.exists("chirp/ui"): - nuke_manifest("include *.xsd", - "include share/*.desktop", - "include share/chirp.png", @@ -49,4 +51,3 @@ Author: Steve Conklin <steve@conklinhouse.com> - "include COPYING") - default_build() + default_build() - |
