From f882e3e1122e10788bb0b427ea40eccba7343625 Mon Sep 17 00:00:00 2001 From: "Gregory M. Tuner" Date: Thu, 5 Jun 2014 02:55:25 -0700 Subject: eclass/distutils-r1: sync with upstream Signed-off-by: Gregory M. Tuner --- eclass/distutils-r1.eclass | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'eclass') 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}" -- cgit v1.2.3-65-gdbad