summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-05-31 10:43:38 +0200
committerMichał Górny <mgorny@gentoo.org>2022-06-07 08:53:47 +0200
commit4a3dc32bdafdc5b99cd5c9fd865c3cb40c5e054e (patch)
tree5cc417d39f64bcfc163c239ccbf753c2e79f436d
parentdistutils-r1.eclass: Move install QA checks to post-phase function (diff)
downloadgentoo-4a3dc32bdafdc5b99cd5c9fd865c3cb40c5e054e.tar.gz
gentoo-4a3dc32bdafdc5b99cd5c9fd865c3cb40c5e054e.tar.bz2
gentoo-4a3dc32bdafdc5b99cd5c9fd865c3cb40c5e054e.zip
distutils-r1.eclass: Remove the obsolete pypy/share check
The PyPy 'share' directory check was necessary because of the historical prefix logic that we patched in Gentoo. All modern versions of PyPy use '/usr' as sys.prefix natively, so the check is no longer needed. Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--eclass/distutils-r1.eclass12
1 files changed, 0 insertions, 12 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 30391ad67f3a..b0318410b100 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1839,18 +1839,6 @@ _distutils-r1_post_python_install() {
die "Package installs '${p}' package which is forbidden and likely a bug in the build system."
fi
done
-
- local shopt_save=$(shopt -p nullglob)
- shopt -s nullglob
- local pypy_dirs=(
- "${D}${EPREFIX}/usr/$(get_libdir)"/pypy*/share
- "${D}${EPREFIX}/usr/lib"/pypy*/share
- )
- ${shopt_save}
-
- if [[ -n ${pypy_dirs} ]]; then
- die "Package installs 'share' in PyPy prefix, see bug #465546."
- fi
}
# @FUNCTION: _distutils-r1_check_namespace_pth