commit: 24ecc278221551081caa262dd1187756414eac1a
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 24 15:56:05 2016 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Oct 24 15:56:59 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24ecc278
dev-python/pycparser: fix file permissions
Package-Manager: portage-2.3.2
.../pycparser/{pycparser-2.16.ebuild => pycparser-2.16-r1.ebuild} | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dev-python/pycparser/pycparser-2.16.ebuild
b/dev-python/pycparser/pycparser-2.16-r1.ebuild
similarity index 88%
rename from dev-python/pycparser/pycparser-2.16.ebuild
rename to dev-python/pycparser/pycparser-2.16-r1.ebuild
index d626ba1..800fc5a 100644
--- a/dev-python/pycparser/pycparser-2.16.ebuild
+++ b/dev-python/pycparser/pycparser-2.16-r1.ebuild
@@ -22,6 +22,12 @@ DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+python_prepare_all() {
+ # Bad permissions in tarball
+ chmod -R g+rX,o+rX "${S}" || die
+ distutils-r1_python_prepare_all
+}
+
python_compile() {
distutils-r1_python_compile
pushd "${BUILD_DIR}/lib/pycparser" > /dev/null || die