diff options
author | Michał Górny <mgorny@gentoo.org> | 2014-05-11 07:58:35 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2014-05-11 07:58:35 +0000 |
commit | 1c32253b5d8109f9dc7067a3885fee75d582f4cf (patch) | |
tree | 62cc7cb46677ff900f76a1fa7b616164f2196530 /eclass/distutils-r1.eclass | |
parent | amd64/x86 stable wrt #509962 (diff) | |
download | gentoo-2-1c32253b5d8109f9dc7067a3885fee75d582f4cf.tar.gz gentoo-2-1c32253b5d8109f9dc7067a3885fee75d582f4cf.tar.bz2 gentoo-2-1c32253b5d8109f9dc7067a3885fee75d582f4cf.zip |
Fail when package installs "share" subdirectory to PyPy prefix. This should stop people from adding PyPy support to packages that do not work due to the bug in PyPy.
Diffstat (limited to 'eclass/distutils-r1.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 9084f4c18473..5b592123822b 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.94 2014/01/18 15:06:56 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.95 2014/05/11 07:58:35 mgorny Exp $ # @ECLASS: distutils-r1 # @MAINTAINER: @@ -538,6 +538,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}" |