1 |
commit: 315d95092d7a32cfe600ef8c8632e89950c8f4aa |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 26 23:17:47 2020 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 26 23:19:12 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=315d9509 |
7 |
|
8 |
dev-python/css-parser: Update PYTHON_COMPAT |
9 |
|
10 |
Bug: https://bugs.gentoo.org/710390 |
11 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
12 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
13 |
|
14 |
dev-python/css-parser/css-parser-1.0.4-r1.ebuild | 8 +++++++- |
15 |
1 file changed, 7 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/dev-python/css-parser/css-parser-1.0.4-r1.ebuild b/dev-python/css-parser/css-parser-1.0.4-r1.ebuild |
18 |
index 6e64e14284f..16d755705e6 100644 |
19 |
--- a/dev-python/css-parser/css-parser-1.0.4-r1.ebuild |
20 |
+++ b/dev-python/css-parser/css-parser-1.0.4-r1.ebuild |
21 |
@@ -2,7 +2,7 @@ |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=7 |
25 |
-PYTHON_COMPAT=( python3_{6,7} ) |
26 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
27 |
|
28 |
inherit distutils-r1 |
29 |
|
30 |
@@ -15,3 +15,9 @@ SLOT="0" |
31 |
KEYWORDS="amd64 ~arm x86" |
32 |
|
33 |
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
34 |
+# Tests fail under network-sandbox. |
35 |
+RESTRICT+=" test" |
36 |
+ |
37 |
+python_test() { |
38 |
+ esetup.py test || die "tests failed under ${EPYTHON}" |
39 |
+} |