diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-04-09 20:49:35 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-04-09 20:49:35 +0200 |
commit | 90dfe6d6ec0a8e3aec98e6e458d580db0ef322ae (patch) | |
tree | c9803bb102f9df6c6188afcd6fa227cafc0f574c /dev-python/zope-interface | |
parent | dev-python/cryptography: Remove old (diff) | |
download | gentoo-90dfe6d6ec0a8e3aec98e6e458d580db0ef322ae.tar.gz gentoo-90dfe6d6ec0a8e3aec98e6e458d580db0ef322ae.tar.bz2 gentoo-90dfe6d6ec0a8e3aec98e6e458d580db0ef322ae.zip |
dev-python/zope-interface: Strip unneeded setuptools rdep
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/zope-interface')
-rw-r--r-- | dev-python/zope-interface/zope-interface-5.4.0-r1.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-python/zope-interface/zope-interface-5.4.0-r1.ebuild b/dev-python/zope-interface/zope-interface-5.4.0-r1.ebuild index e1ec0460269b..52e20bfda75f 100644 --- a/dev-python/zope-interface/zope-interface-5.4.0-r1.ebuild +++ b/dev-python/zope-interface/zope-interface-5.4.0-r1.ebuild @@ -33,6 +33,12 @@ PATCHES=( 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 |