app-crypt/gpgme: fix distutils-r1 use

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-06-12 15:38:20 +01:00
parent 8da7d26c21
commit f91c0e85e6

View File

@@ -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() {