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 d626ba12ae3b9..800fc5a15b7a8 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