commit: 2883c689d2f26e974b219a1bc04129541f888770
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 23 11:34:03 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 23 11:35:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2883c689
dev-python/slimit: Enable py3.9 & py3.10
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/slimit/slimit-0.8.1-r1.ebuild | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/dev-python/slimit/slimit-0.8.1-r1.ebuild
b/dev-python/slimit/slimit-0.8.1-r1.ebuild
index adb87957179..d402ab74e3e 100644
--- a/dev-python/slimit/slimit-0.8.1-r1.ebuild
+++ b/dev-python/slimit/slimit-0.8.1-r1.ebuild
@@ -1,11 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( pypy3 python3_{7,8} )
+EAPI=7
+PYTHON_COMPAT=( pypy3 python3_{7..10} )
inherit distutils-r1
DESCRIPTION="A JavaScript minifier written in Python"
@@ -34,5 +32,5 @@ python_compile() {
}
python_test() {
- pytest -vv "${BUILD_DIR}" || die "Tests failed with ${EPYTHON}"
+ epytest "${BUILD_DIR}"
}