diff options
| author | Ana C. Custura <ana@netstat.org.uk> | 2018-08-15 17:32:23 +0100 |
|---|---|---|
| committer | Ana C. Custura <ana@netstat.org.uk> | 2018-08-15 17:32:23 +0100 |
| commit | 419fb7a940ff1ae9db0cd0d4826c34320b01ed4f (patch) | |
| tree | c19ff167a68dbf5e9e05654845351d0c1036bb33 /debian/patches/02-fix-setup-py.patch | |
| parent | 3adef9d89f20324fbbcf3287cd22fb8f3855ebb9 (diff) | |
New upstream version 20180815upstream/20180815
Diffstat (limited to 'debian/patches/02-fix-setup-py.patch')
| -rw-r--r-- | debian/patches/02-fix-setup-py.patch | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/debian/patches/02-fix-setup-py.patch b/debian/patches/02-fix-setup-py.patch deleted file mode 100644 index 44f635f..0000000 --- a/debian/patches/02-fix-setup-py.patch +++ /dev/null @@ -1,53 +0,0 @@ -Description: Remove unneeded bits of the setup.py file which - are used to build an entirely different package. -Author: Steve Conklin <steve@conklinhouse.com> - ---- a/setup.py -+++ b/setup.py -@@ -136,45 +136,9 @@ - ] + locale_files) - - --def rpttool_build(): -- from distutils.core import setup -- -- setup(name="rpttool", -- packages=["chirp"], -- version="0.3", -- scripts=["rpttool"], -- description="A frequency tool for ICOM D-STAR Repeaters", -- data_files=[('/usr/sbin', ["tools/icomsio.sh"])], -- ) -- -- --def nuke_manifest(*files): -- for i in ["MANIFEST", "MANIFEST.in"]: -- if os.path.exists(i): -- os.remove(i) -- -- if not files: -- return -- -- f = file("MANIFEST.in", "w") -- for fn in files: -- print >>f, fn -- f.close() -- -- - if sys.platform == "darwin": - macos_build() - elif sys.platform == "win32": - win32_build() - else: -- if os.path.exists("rpttool"): -- nuke_manifest("include tools/icomsio.sh", "include README.rpttool") -- rpttool_build() -- if os.path.exists("chirp/ui"): -- nuke_manifest("include *.xsd", -- "include share/*.desktop", -- "include share/chirp.png", -- "include share/*.1", -- "include stock_configs/*", -- "include COPYING") -- default_build() -+ default_build() |
