Also disable test_set_default_verify_paths, which requires network
access.
Bug: https://bugs.gentoo.org/601332
Package-Manager: Portage-2.3.3_p56, Repoman-2.3.1_p49
S=${WORKDIR}/${MY_P}
+python_prepare_all() {
+ # Requires network access
+ sed -i -e 's/test_set_default_verify_paths/_&/' tests/test_ssl.py || die
+ distutils-r1_python_prepare_all
+}
+
python_compile_all() {
use doc && emake -C doc html
}
python_test() {
# FIXME: for some reason, no-ops on PyPy
- esetup.py test
+ py.test -v || die "Testing failed with ${EPYTHON}"
}
python_install_all() {