1 |
commit: 66ab4a8f1e845adafaea4ca70ccfa661ded61045 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 9 18:50:46 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 9 18:50:46 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66ab4a8f |
7 |
|
8 |
dev-python/zope-configuration: Strip unneeded setuptools rdep |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/zope-configuration/zope-configuration-4.4.1-r1.ebuild | 6 ++++++ |
13 |
1 file changed, 6 insertions(+) |
14 |
|
15 |
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 |
16 |
index c83af620f922..79735c57df92 100644 |
17 |
--- a/dev-python/zope-configuration/zope-configuration-4.4.1-r1.ebuild |
18 |
+++ b/dev-python/zope-configuration/zope-configuration-4.4.1-r1.ebuild |
19 |
@@ -38,6 +38,12 @@ BDEPEND=" |
20 |
|
21 |
distutils_enable_tests unittest |
22 |
|
23 |
+src_prepare() { |
24 |
+ # strip rdep specific to namespaces |
25 |
+ sed -i -e "/'setuptools'/d" setup.py || die |
26 |
+ distutils-r1_src_prepare |
27 |
+} |
28 |
+ |
29 |
python_compile() { |
30 |
distutils-r1_python_compile |
31 |
find "${BUILD_DIR}" -name '*.pth' -delete || die |