dev-python/pypy: Apply full Gentoo path set, only for Gentoo sys.prefix
authorMichał Górny <mgorny@gentoo.org>
Fri, 27 Nov 2015 16:13:31 +0000 (17:13 +0100)
committerMichał Górny <mgorny@gentoo.org>
Fri, 27 Nov 2015 19:49:29 +0000 (20:49 +0100)
commitac802704f1c23ef89035b5a817ae4314ea1b5c0c
tree573b3b7ffc1075a427b5dc5d872da591612174c3
parente21928bf27d7fe2373c41006b9ae59012d50a969
dev-python/pypy: Apply full Gentoo path set, only 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
dev-python/pypy/files/1.9-scripts-location.patch [deleted file]
dev-python/pypy/files/4.0.0-gentoo-path.patch [new file with mode: 0644]
dev-python/pypy/pypy-2.6.0-r1.ebuild [moved from dev-python/pypy/pypy-2.6.0.ebuild with 97% similarity]
dev-python/pypy/pypy-4.0.0-r1.ebuild [moved from dev-python/pypy/pypy-4.0.0.ebuild with 97% similarity]