1 |
commit: b6ccaa71f235ba08319abd83eddb7a5f71653040 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 7 17:23:07 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 7 17:24:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6ccaa71 |
7 |
|
8 |
dev-python/humanize: fix DISTUTILS_USE_SETUPTOOLS |
9 |
|
10 |
Closes: https://bugs.gentoo.org/816807 |
11 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
12 |
|
13 |
.../humanize/{humanize-3.12.0.ebuild => humanize-3.12.0-r1.ebuild} | 5 +++++ |
14 |
1 file changed, 5 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/humanize/humanize-3.12.0.ebuild b/dev-python/humanize/humanize-3.12.0-r1.ebuild |
17 |
similarity index 87% |
18 |
rename from dev-python/humanize/humanize-3.12.0.ebuild |
19 |
rename to dev-python/humanize/humanize-3.12.0-r1.ebuild |
20 |
index 927e0251686..e01d205acf4 100644 |
21 |
--- a/dev-python/humanize/humanize-3.12.0.ebuild |
22 |
+++ b/dev-python/humanize/humanize-3.12.0-r1.ebuild |
23 |
@@ -25,3 +25,8 @@ BDEPEND=" |
24 |
" |
25 |
|
26 |
distutils_enable_tests --install pytest |
27 |
+ |
28 |
+src_prepare() { |
29 |
+ sed -e '/setuptools/d' -i setup.cfg || die |
30 |
+ distutils-r1_src_prepare |
31 |
+} |