summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-11-27 17:29:08 +0100
committerMichał Górny <mgorny@gentoo.org>2015-11-27 20:49:29 +0100
commit2d1cc6f35df19bf9f787d5b717fa8879a47e99d7 (patch)
tree7e0beb334e948fa06c5ba8f69711d5dbdf9e71b3 /dev-python/pypy-bin/files/1.9-scripts-location.patch
parentdev-python/pypy: Apply full Gentoo path set, only for Gentoo sys.prefix (diff)
downloadgentoo-2d1cc6f35df19bf9f787d5b717fa8879a47e99d7.tar.gz
gentoo-2d1cc6f35df19bf9f787d5b717fa8879a47e99d7.tar.bz2
gentoo-2d1cc6f35df19bf9f787d5b717fa8879a47e99d7.zip
dev-python/pypy-bin: Apply full Gentoo path set, for Gentoo sys.prefix
Override all default distutils.command.install paths for Gentoo rather than just scriptdir. However, do that only when install_base equals the default prefix in which PyPy is installed system-wide. This fixes both issues resulting from lack of prefix override (like installing data files in /usr/lib*/pypy), and from overeager prefix overrides (like virtualenv installing scripts in /usr/bin). Fixes: https://bugs.gentoo.org/462306 Fixes: https://bugs.gentoo.org/465546
Diffstat (limited to 'dev-python/pypy-bin/files/1.9-scripts-location.patch')
-rw-r--r--dev-python/pypy-bin/files/1.9-scripts-location.patch11
1 files changed, 0 insertions, 11 deletions
diff --git a/dev-python/pypy-bin/files/1.9-scripts-location.patch b/dev-python/pypy-bin/files/1.9-scripts-location.patch
deleted file mode 100644
index 5f0190d9a20f..000000000000
--- a/dev-python/pypy-bin/files/1.9-scripts-location.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- pypy-pypy-release-1.7/lib-python/2.7/distutils/command/install.py
-+++ pypy-pypy-release-1.7/lib-python/2.7/distutils/command/install.py
-@@ -87,7 +87,7 @@
- 'purelib': '$base/site-packages',
- 'platlib': '$base/site-packages',
- 'headers': '$base/include',
-- 'scripts': '$base/bin',
-+ 'scripts': '/usr/bin',
- 'data' : '$base',
- },
- }