diff options
Diffstat (limited to 'dev-python/httpcore')
| -rw-r--r-- | dev-python/httpcore/httpcore-1.0.9-r1.ebuild | 28 |
1 files changed, 3 insertions, 25 deletions
diff --git a/dev-python/httpcore/httpcore-1.0.9-r1.ebuild b/dev-python/httpcore/httpcore-1.0.9-r1.ebuild index 88425338dfbd..36f93c24a5eb 100644 --- a/dev-python/httpcore/httpcore-1.0.9-r1.ebuild +++ b/dev-python/httpcore/httpcore-1.0.9-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -33,37 +33,15 @@ RDEPEND=" BDEPEND=" dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-httpbin[${PYTHON_USEDEP}] dev-python/socksio[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] dev-python/trustme[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/pytest-trio[${PYTHON_USEDEP}] - dev-python/trio[${PYTHON_USEDEP}] - ' 3.{11..13}) ) " +EPYTEST_PLUGINS=( anyio pytest-{asyncio,httpbin,trio} ) distutils_enable_tests pytest -python_test() { - local opts=() - local EPYTEST_IGNORE=() - - if ! has_version "dev-python/trio[${PYTHON_USEDEP}]"; then - opts+=( -k "not trio" ) - EPYTEST_IGNORE+=( - tests/_async/test_connection_pool.py - ) - fi - - if ! has_version "dev-python/pytest-trio[${PYTHON_USEDEP}]"; then - opts+=( -m "not trio" -o addopts= ) - fi - - epytest "${opts[@]}" -} - pkg_postinst() { optfeature "SOCKS support" dev-python/socksio } |
