1 |
commit: d2a909e886e5ef7d4456577c20f91eeb0d5c5c85 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 16 16:59:36 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 16 17:41:01 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2a909e8 |
7 |
|
8 |
dev-python/pycurl: Improve running tests |
9 |
|
10 |
Run tests manually instead of via Makefile. Remove unnecessary test |
11 |
dep on broken dev-python/nose-showskipped plugin. |
12 |
|
13 |
dev-python/pycurl/pycurl-7.43.0.2.ebuild | 4 +--- |
14 |
1 file changed, 1 insertion(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/pycurl/pycurl-7.43.0.2.ebuild b/dev-python/pycurl/pycurl-7.43.0.2.ebuild |
17 |
index 056fbcb20b2..3b07c860bc3 100644 |
18 |
--- a/dev-python/pycurl/pycurl-7.43.0.2.ebuild |
19 |
+++ b/dev-python/pycurl/pycurl-7.43.0.2.ebuild |
20 |
@@ -40,7 +40,6 @@ DEPEND="${RDEPEND} |
21 |
dev-python/bottle[${PYTHON_USEDEP}] |
22 |
dev-python/flaky[${PYTHON_USEDEP}] |
23 |
dev-python/nose[${PYTHON_USEDEP}] |
24 |
- dev-python/nose-show-skipped[${PYTHON_USEDEP}] |
25 |
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),http2,kerberos] |
26 |
>=dev-python/bottle-0.12.7[${PYTHON_USEDEP}] |
27 |
)" |
28 |
@@ -49,7 +48,6 @@ DISTUTILS_IN_SOURCE_BUILD=1 |
29 |
|
30 |
python_prepare_all() { |
31 |
sed -e "/setup_args\['data_files'\] = /d" -i setup.py || die |
32 |
- sed -e '/pyflakes/d' -i Makefile || die |
33 |
distutils-r1_python_prepare_all |
34 |
} |
35 |
|
36 |
@@ -64,7 +62,7 @@ python_compile() { |
37 |
} |
38 |
|
39 |
python_test() { |
40 |
- emake -j1 do-test |
41 |
+ nosetests -a '!standalone' -v --with-flaky || die "Tests fail with ${EPYTHON}" |
42 |
} |
43 |
|
44 |
python_install_all() { |