commit: f91c0e85e6e08c02a0bdc7dd62731a80a3b84c5c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 12 14:38:20 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 12 14:51:45 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f91c0e85
app-crypt/gpgme: fix distutils-r1 use
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-crypt/gpgme/gpgme-1.17.1-r1.ebuild | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/app-crypt/gpgme/gpgme-1.17.1-r1.ebuild
b/app-crypt/gpgme/gpgme-1.17.1-r1.ebuild
index 545d22dc9141..db83c2548bf2 100644
--- a/app-crypt/gpgme/gpgme-1.17.1-r1.ebuild
+++ b/app-crypt/gpgme/gpgme-1.17.1-r1.ebuild
@@ -102,15 +102,14 @@ src_compile() {
src_test() {
default
- if use python; then
- test_python() {
- emake -C lang/python/tests check \
- PYTHON=${EPYTHON} \
- PYTHONS=${EPYTHON} \
- TESTFLAGS="--python-libdir=${BUILD_DIR}/lib"
- }
- python_foreach_impl test_python
- fi
+ use python && distutils-r1_src_test
+}
+
+python_test() {
+ emake -C lang/python/tests check \
+ PYTHON=${EPYTHON} \
+ PYTHONS=${EPYTHON} \
+ TESTFLAGS="--python-libdir=${BUILD_DIR}/lib"
}
src_install() {