commit:     7407f018fe7b883c0bedd34416e8eb8d07a3a8c9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  5 14:09:30 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun  5 14:11:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7407f018

dev-python/python-distutils-extra: Use PEP517 build

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/python-distutils-extra/python-distutils-extra-2.46.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/dev-python/python-distutils-extra/python-distutils-extra-2.46.ebuild 
b/dev-python/python-distutils-extra/python-distutils-extra-2.46.ebuild
index 5e898d180bee..d00792e6360e 100644
--- a/dev-python/python-distutils-extra/python-distutils-extra-2.46.ebuild
+++ b/dev-python/python-distutils-extra/python-distutils-extra-2.46.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=8
 
+DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{8..11} )
 
 inherit distutils-r1
@@ -34,5 +35,6 @@ BDEPEND="
 "
 
 python_test() {
+       local -x SETUPTOOLS_USE_DISTUTILS=stdlib
        "${EPYTHON}" test/auto.py -v || die "Tests fail with ${EPYTHON}"
 }

Reply via email to