summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2017-01-08 13:21:09 +0100
committerGöktürk Yüksek <gokturk@gentoo.org>2017-01-14 21:31:38 -0500
commit4fba15eccfb55b66d2786d6c8b8af1cb6ba404ae (patch)
tree50baf929bc044733a5957c3e57df1110010dc47a /net-firewall/ufw
parentnet-analyzer/w3af: remove unused patch (diff)
downloadgentoo-4fba15eccfb55b66d2786d6c8b8af1cb6ba404ae.tar.gz
gentoo-4fba15eccfb55b66d2786d6c8b8af1cb6ba404ae.tar.bz2
gentoo-4fba15eccfb55b66d2786d6c8b8af1cb6ba404ae.zip
net-firewall/ufw: remove unused patch
Diffstat (limited to 'net-firewall/ufw')
-rw-r--r--net-firewall/ufw/files/ufw-0.31.1-python-abis.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/net-firewall/ufw/files/ufw-0.31.1-python-abis.patch b/net-firewall/ufw/files/ufw-0.31.1-python-abis.patch
deleted file mode 100644
index 2c04284ad50c..000000000000
--- a/net-firewall/ufw/files/ufw-0.31.1-python-abis.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-This patch fixes issues during package build with ebuild supporting
-installation for Python versions: sed substitutions in common.py and location
-of ufw script in Python ABIs which have prefix different than /usr.
-Also makes .mo files not to be installed in wrong paths.
-
-More info about the first issue:
-with support for multiple Python versions in the ebuild, seems the
-file isn't copied from staging/ to build-*/lib/ufw/ after being
-modified. That's why the copy needs to be done "manually" here.
-The issue occurs with "setup.py build -b build-XXX" followed by
-"setup.py build -b build-XXX install".
-
-probably related: https://bugs.launchpad.net/ufw/+bug/819600
---- setup.py
-+++ setup.py
-@@ -90,6 +90,8 @@
- "-i",
- "s%#SHARE_DIR#%" + real_sharedir + "%g",
- os.path.join('staging', file)])
-+ self.copy_file(os.path.join('staging', file),
-+ os.path.join(self.build_base, "lib", "ufw"))
-
- # Now byte-compile everything
- super(Install, self).run()
-@@ -99,7 +101,8 @@
- if self.root != None:
- prefix = self.root + real_prefix
-
-- script = os.path.join(prefix, 'sbin', 'ufw')
-+ # PyPy (and Jython?) has different prefix. Without the change the binary would end up in a wrong path.
-+ script = os.path.join(self.root, 'usr', 'sbin', 'ufw')
- manpage = os.path.join(prefix, 'share', 'man', 'man8', 'ufw.8')
- manpage_f = os.path.join(prefix, 'share', 'man', 'man8', \
- 'ufw-framework.8')
-@@ -147,7 +150,6 @@
- self.mkpath(i18ndir)
- if len(os.listdir('locales/mo')) == 0:
- subprocess.call(["make", "mo"])
-- self.copy_tree('locales/mo', i18ndir)
-
- # Install configuration files
- confdir = real_confdir