1 |
commit: 7d3d3a2a19e309600ad3d97c9a453968fc9b5727 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 21 16:53:16 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 21 16:53:16 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d3d3a2a |
7 |
|
8 |
dev-python/rcssmin: enable py3.10, enable tests |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/rcssmin/rcssmin-1.0.6.ebuild | 9 ++++++--- |
13 |
1 file changed, 6 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/rcssmin/rcssmin-1.0.6.ebuild b/dev-python/rcssmin/rcssmin-1.0.6.ebuild |
16 |
index 1161a3a5cbe..515bb03be05 100644 |
17 |
--- a/dev-python/rcssmin/rcssmin-1.0.6.ebuild |
18 |
+++ b/dev-python/rcssmin/rcssmin-1.0.6.ebuild |
19 |
@@ -1,9 +1,9 @@ |
20 |
-# Copyright 1999-2020 Gentoo Authors |
21 |
+# Copyright 1999-2021 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=7 |
25 |
|
26 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
27 |
+PYTHON_COMPAT=( python3_{8..10} ) |
28 |
DISTUTILS_USE_SETUPTOOLS=no |
29 |
inherit distutils-r1 |
30 |
|
31 |
@@ -15,8 +15,11 @@ LICENSE="Apache-2.0" |
32 |
SLOT="0" |
33 |
KEYWORDS="~amd64" |
34 |
|
35 |
-DOCS="" |
36 |
python_install_all() { |
37 |
distutils-r1_python_install_all |
38 |
mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}" |
39 |
} |
40 |
+ |
41 |
+python_test() { |
42 |
+ "${EPYTHON}" run_tests.py tests || die "Tests failed with ${EPYTHON}" |
43 |
+} |