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