diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-04-09 20:50:46 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-04-09 20:50:46 +0200 |
commit | 66ab4a8f1e845adafaea4ca70ccfa661ded61045 (patch) | |
tree | 943816e11f8debcbe3e7aba8a2d0b99962f9154d /dev-python/zope-configuration | |
parent | dev-python/zope-interface: Strip unneeded setuptools rdep (diff) | |
download | gentoo-66ab4a8f1e845adafaea4ca70ccfa661ded61045.tar.gz gentoo-66ab4a8f1e845adafaea4ca70ccfa661ded61045.tar.bz2 gentoo-66ab4a8f1e845adafaea4ca70ccfa661ded61045.zip |
dev-python/zope-configuration: Strip unneeded setuptools rdep
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/zope-configuration')
-rw-r--r-- | dev-python/zope-configuration/zope-configuration-4.4.1-r1.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-python/zope-configuration/zope-configuration-4.4.1-r1.ebuild b/dev-python/zope-configuration/zope-configuration-4.4.1-r1.ebuild index c83af620f922..79735c57df92 100644 --- a/dev-python/zope-configuration/zope-configuration-4.4.1-r1.ebuild +++ b/dev-python/zope-configuration/zope-configuration-4.4.1-r1.ebuild @@ -38,6 +38,12 @@ BDEPEND=" distutils_enable_tests unittest +src_prepare() { + # strip rdep specific to namespaces + sed -i -e "/'setuptools'/d" setup.py || die + distutils-r1_src_prepare +} + python_compile() { distutils-r1_python_compile find "${BUILD_DIR}" -name '*.pth' -delete || die |