1 |
commit: 25d12e76367e2493f07906e4cbfd86bf7faa14fc |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 23 23:27:32 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 23 23:37:02 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25d12e76 |
7 |
|
8 |
dev-python/cliapp: Fix running tests |
9 |
|
10 |
dev-python/cliapp/cliapp-1.20170823.ebuild | 11 +++-------- |
11 |
1 file changed, 3 insertions(+), 8 deletions(-) |
12 |
|
13 |
diff --git a/dev-python/cliapp/cliapp-1.20170823.ebuild b/dev-python/cliapp/cliapp-1.20170823.ebuild |
14 |
index 6ca847d60c1..bea4d92c06f 100644 |
15 |
--- a/dev-python/cliapp/cliapp-1.20170823.ebuild |
16 |
+++ b/dev-python/cliapp/cliapp-1.20170823.ebuild |
17 |
@@ -1,4 +1,4 @@ |
18 |
-# Copyright 1999-2017 Gentoo Foundation |
19 |
+# Copyright 1999-2018 Gentoo Foundation |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
|
22 |
EAPI=6 |
23 |
@@ -14,10 +14,7 @@ SRC_URI="http://git.liw.fi/cgi-bin/cgit/cgit.cgi/cliapp/snapshot/${P}.tar.gz" |
24 |
LICENSE="GPL-2" |
25 |
SLOT="0" |
26 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
27 |
-IUSE="test" |
28 |
- |
29 |
-# test deps not supporting python 3 |
30 |
-RESTRICT="test" |
31 |
+IUSE="" |
32 |
|
33 |
MY_DEPEND=" |
34 |
dev-python/pyyaml[${PYTHON_USEDEP}] |
35 |
@@ -25,8 +22,6 @@ MY_DEPEND=" |
36 |
|
37 |
DEPEND="${PYTHON_DEPS} |
38 |
${MY_DEPEND}" |
39 |
-# test? ( >=dev-python/CoverageTestRunner-1.11 dev-python/pep8 ) |
40 |
-# " |
41 |
|
42 |
RDEPEND=" |
43 |
${MY_DEPEND} |
44 |
@@ -38,5 +33,5 @@ src_test() { |
45 |
} |
46 |
|
47 |
python_test() { |
48 |
- ${PYTHON} -m CoverageTestRunner --ignore-missing-from=without-tests || die |
49 |
+ "${EPYTHON}" -m unittest discover -v -p '*_tests.py' || die |
50 |
} |