1 |
commit: 714d3a1802c59e91297223ee20daeb519c12d476 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 6 18:43:01 2020 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 6 18:46:16 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=714d3a18 |
7 |
|
8 |
dev-python/defcon: Fix tests |
9 |
|
10 |
Thanks-to: Thomas Deutschmann |
11 |
Closes: https://bugs.gentoo.org/721156 |
12 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
13 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
14 |
|
15 |
dev-python/defcon/defcon-0.6.0-r1.ebuild | 12 ++++++++---- |
16 |
1 file changed, 8 insertions(+), 4 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/defcon/defcon-0.6.0-r1.ebuild b/dev-python/defcon/defcon-0.6.0-r1.ebuild |
19 |
index 9d7deff618e..b982a24e82b 100644 |
20 |
--- a/dev-python/defcon/defcon-0.6.0-r1.ebuild |
21 |
+++ b/dev-python/defcon/defcon-0.6.0-r1.ebuild |
22 |
@@ -17,8 +17,12 @@ IUSE="" |
23 |
|
24 |
RDEPEND=">=dev-python/fonttools-3.31.0[${PYTHON_USEDEP}]" |
25 |
DEPEND="${RDEPEND}" |
26 |
-BDEPEND="" |
27 |
+BDEPEND=" |
28 |
+ test? ( |
29 |
+ dev-python/fonttools[${PYTHON_USEDEP}] |
30 |
+ dev-python/fs[${PYTHON_USEDEP}] |
31 |
+ dev-python/pytest-runner[${PYTHON_USEDEP}] |
32 |
+ ) |
33 |
+" |
34 |
|
35 |
-python_test() { |
36 |
- esetup.py test |
37 |
-} |
38 |
+distutils_enable_tests pytest |