1 |
commit: 0aedd9eb5aeb4031c90d60f6d8d05c36e7f6daed |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 24 06:35:25 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 24 18:19:27 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aedd9eb |
7 |
|
8 |
dev-python/flask-babelex: enable py3.10, cleanup python_test |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/flask-babelex/flask-babelex-0.9.4.ebuild | 11 ++++------- |
13 |
1 file changed, 4 insertions(+), 7 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/flask-babelex/flask-babelex-0.9.4.ebuild b/dev-python/flask-babelex/flask-babelex-0.9.4.ebuild |
16 |
index aadb87785dd..8c709a50a16 100644 |
17 |
--- a/dev-python/flask-babelex/flask-babelex-0.9.4.ebuild |
18 |
+++ b/dev-python/flask-babelex/flask-babelex-0.9.4.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..9} ) |
27 |
+PYTHON_COMPAT=( python3_{8..10} ) |
28 |
inherit distutils-r1 |
29 |
|
30 |
MY_PN="Flask-BabelEx" |
31 |
@@ -17,16 +17,13 @@ S="${WORKDIR}/${MY_P}" |
32 |
LICENSE="BSD" |
33 |
SLOT="0" |
34 |
KEYWORDS="amd64 x86" |
35 |
-IUSE="test" |
36 |
-RESTRICT="!test? ( test )" |
37 |
|
38 |
RDEPEND="dev-python/flask[${PYTHON_USEDEP}] |
39 |
>=dev-python/Babel-1[${PYTHON_USEDEP}] |
40 |
>=dev-python/speaklater-1.2[${PYTHON_USEDEP}] |
41 |
>=dev-python/jinja-2.5[${PYTHON_USEDEP}]" |
42 |
-BDEPEND=" |
43 |
- test? ( ${RDEPEND} )" |
44 |
|
45 |
+distutils_enable_tests unittest |
46 |
distutils_enable_sphinx docs \ |
47 |
dev-python/flask-sphinx-themes |
48 |
|
49 |
@@ -34,5 +31,5 @@ PATCHES=( "${FILESDIR}/${PN}-0.9.3-tests-fix.patch" ) |
50 |
|
51 |
python_test() { |
52 |
cd tests || die |
53 |
- "${EPYTHON}" tests.py || die "Testing failed with ${EPYTHON}" |
54 |
+ eunittest |
55 |
} |