1 |
commit: 89d30fa4eef6bc82bd1315af9128fc5b07494a05 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 27 13:37:59 2018 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 27 13:37:59 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89d30fa4 |
7 |
|
8 |
dev-python/enable: Run tests as upstream wants and restrict |
9 |
|
10 |
until fixed (#654090, https://github.com/enthought/enable/issues/303) |
11 |
|
12 |
Package-Manager: Portage-2.3.38, Repoman-2.3.9 |
13 |
|
14 |
dev-python/enable/enable-4.7.1.ebuild | 9 ++++++--- |
15 |
1 file changed, 6 insertions(+), 3 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/enable/enable-4.7.1.ebuild b/dev-python/enable/enable-4.7.1.ebuild |
18 |
index 1672c3a01ef..afe2cd13e91 100644 |
19 |
--- a/dev-python/enable/enable-4.7.1.ebuild |
20 |
+++ b/dev-python/enable/enable-4.7.1.ebuild |
21 |
@@ -17,6 +17,8 @@ SLOT="0" |
22 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
23 |
IUSE="doc examples test" |
24 |
|
25 |
+RESTRICT="test" # Until https://github.com/enthought/enable/issues/303 is solved |
26 |
+ |
27 |
RDEPEND=" |
28 |
dev-python/apptools[${PYTHON_USEDEP}] |
29 |
dev-python/kiwisolver[${PYTHON_USEDEP}] |
30 |
@@ -34,6 +36,7 @@ DEPEND="${RDEPEND} |
31 |
dev-python/cython[${PYTHON_USEDEP}] |
32 |
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
33 |
test? ( |
34 |
+ dev-python/coverage[${PYTHON_USEDEP}] |
35 |
dev-python/fonttools[${PYTHON_USEDEP}] |
36 |
dev-python/hypothesis[${PYTHON_USEDEP}] |
37 |
dev-python/mock[${PYTHON_USEDEP}] |
38 |
@@ -61,9 +64,9 @@ python_compile_all() { |
39 |
|
40 |
python_test() { |
41 |
pushd "${BUILD_DIR}"/lib > /dev/null |
42 |
- # https://github.com/enthought/enable/issues/158 |
43 |
- PYTHONPATH=.:kiva \ |
44 |
- virtx nosetests --verbose |
45 |
+ # https://github.com/enthought/enable/issues/303 |
46 |
+ virtx coverage run -m nose.core enable -v |
47 |
+ virtx coverage run -a -m nose.core kiva -v |
48 |
popd > /dev/null |
49 |
} |