summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-07-16 18:59:36 +0200
committerMichał Górny <mgorny@gentoo.org>2018-07-16 19:41:01 +0200
commitd2a909e886e5ef7d4456577c20f91eeb0d5c5c85 (patch)
tree5f760b7da6f90c2875676172df744427f9cadf4a
parentdev-python/pycurl: Bump to 7.43.0.2 (diff)
downloadgentoo-d2a909e886e5ef7d4456577c20f91eeb0d5c5c85.tar.gz
gentoo-d2a909e886e5ef7d4456577c20f91eeb0d5c5c85.tar.bz2
gentoo-d2a909e886e5ef7d4456577c20f91eeb0d5c5c85.zip
dev-python/pycurl: Improve running tests
Run tests manually instead of via Makefile. Remove unnecessary test dep on broken dev-python/nose-showskipped plugin.
-rw-r--r--dev-python/pycurl/pycurl-7.43.0.2.ebuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/dev-python/pycurl/pycurl-7.43.0.2.ebuild b/dev-python/pycurl/pycurl-7.43.0.2.ebuild
index 056fbcb20b27..3b07c860bc35 100644
--- a/dev-python/pycurl/pycurl-7.43.0.2.ebuild
+++ b/dev-python/pycurl/pycurl-7.43.0.2.ebuild
@@ -40,7 +40,6 @@ DEPEND="${RDEPEND}
dev-python/bottle[${PYTHON_USEDEP}]
dev-python/flaky[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
- dev-python/nose-show-skipped[${PYTHON_USEDEP}]
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,curl_ssl_nss(-)=,curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),http2,kerberos]
>=dev-python/bottle-0.12.7[${PYTHON_USEDEP}]
)"
@@ -49,7 +48,6 @@ DISTUTILS_IN_SOURCE_BUILD=1
python_prepare_all() {
sed -e "/setup_args\['data_files'\] = /d" -i setup.py || die
- sed -e '/pyflakes/d' -i Makefile || die
distutils-r1_python_prepare_all
}
@@ -64,7 +62,7 @@ python_compile() {
}
python_test() {
- emake -j1 do-test
+ nosetests -a '!standalone' -v --with-flaky || die "Tests fail with ${EPYTHON}"
}
python_install_all() {