dev-python/pycurl: Fix missing test dependencies

Fix missing new test dependency on dev-python/numpy.  Restore the use
of dev-python/flaky plugin that got replaced with pytest-rerunfailures
over unmarked flaky tests -- however, upstream uses flaky directly, so
I guess we're stuck with tests failing randomly.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-06-14 20:43:49 +02:00
parent 2b3d247fa2
commit 02fef4e843

View File

@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYPI_VERIFY_REPO=https://github.com/pycurl/pycurl
PYTHON_COMPAT=( python3_{11..14} )
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi toolchain-funcs
@@ -43,12 +43,12 @@ RDEPEND="
BDEPEND="
test? (
dev-python/flask[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),http2]
)
"
EPYTEST_PLUGINS=()
EPYTEST_RERUNS=5
EPYTEST_PLUGINS=( flaky )
: ${EPYTEST_TIMEOUT:=120}
distutils_enable_tests pytest