commit:     b6ccaa71f235ba08319abd83eddb7a5f71653040
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  7 17:23:07 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Oct  7 17:24:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6ccaa71

dev-python/humanize: fix DISTUTILS_USE_SETUPTOOLS

Closes: https://bugs.gentoo.org/816807
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .../humanize/{humanize-3.12.0.ebuild => humanize-3.12.0-r1.ebuild}   | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-python/humanize/humanize-3.12.0.ebuild 
b/dev-python/humanize/humanize-3.12.0-r1.ebuild
similarity index 87%
rename from dev-python/humanize/humanize-3.12.0.ebuild
rename to dev-python/humanize/humanize-3.12.0-r1.ebuild
index 927e0251686..e01d205acf4 100644
--- a/dev-python/humanize/humanize-3.12.0.ebuild
+++ b/dev-python/humanize/humanize-3.12.0-r1.ebuild
@@ -25,3 +25,8 @@ BDEPEND="
 "
 
 distutils_enable_tests --install pytest
+
+src_prepare() {
+       sed -e '/setuptools/d' -i setup.cfg || die
+       distutils-r1_src_prepare
+}

Reply via email to