diff options
author | Gregory M. Tuner <gmt@be-evil.net> | 2014-06-05 02:55:25 -0700 |
---|---|---|
committer | Gregory M. Tuner <gmt@be-evil.net> | 2014-06-05 02:55:25 -0700 |
commit | f882e3e1122e10788bb0b427ea40eccba7343625 (patch) | |
tree | 95f61953a1d1938f9ea6c638f3c4450cbdea8bf4 /eclass | |
parent | eclass/cmake-multilib: partial sync with upstream (diff) | |
download | gmt-f882e3e1122e10788bb0b427ea40eccba7343625.tar.gz gmt-f882e3e1122e10788bb0b427ea40eccba7343625.tar.bz2 gmt-f882e3e1122e10788bb0b427ea40eccba7343625.zip |
eclass/distutils-r1: sync with upstream
Signed-off-by: Gregory M. Tuner <gmt@be-evil.net>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/distutils-r1.eclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index dc8ee44..f8d8fb3 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -497,7 +497,7 @@ distutils-r1_python_install() { debug-print "${FUNCNAME}: [${EPYTHON}] flags: ${flags}" # enable compilation for the install phase. - local -x PYTHONDONTWRITEBYTECODE + local -x PYTHONDONTWRITEBYTECODE= # python likes to compile any module it sees, which triggers sandbox # failures if some packages haven't compiled their modules yet. @@ -559,6 +559,9 @@ distutils-r1_python_install() { if [[ -d ${root}$(python_get_sitedir)/tests ]]; then die "Package installs 'tests' package, file collisions likely." fi + if [[ -d ${root}/usr/$(get_libdir)/pypy/share ]]; then + die "Package installs 'share' in PyPy prefix, see bug #465546." + fi if [[ ! ${DISTUTILS_SINGLE_IMPL} ]]; then _distutils-r1_wrap_scripts "${root}" "${scriptdir}" |