diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-11-08 19:19:15 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-11-08 19:23:09 +0100 |
| commit | c8d965f18d452180bf5bce89f7af34af39572c1c (patch) | |
| tree | 263bcdaf092aa62168a5d16b7564bd5cfcdc8a54 /dev-python/pytest-httpx | |
| parent | d6d04e4e88138bc813c3d40c634a20b8e750065b (diff) | |
dev-python/pytest-httpx: Unpin dependencies
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pytest-httpx')
| -rw-r--r-- | dev-python/pytest-httpx/pytest-httpx-0.35.0-r1.ebuild (renamed from dev-python/pytest-httpx/pytest-httpx-0.35.0.ebuild) | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/dev-python/pytest-httpx/pytest-httpx-0.35.0.ebuild b/dev-python/pytest-httpx/pytest-httpx-0.35.0-r1.ebuild index 6f79d6824c63..9d3e38c2f0a1 100644 --- a/dev-python/pytest-httpx/pytest-httpx-0.35.0.ebuild +++ b/dev-python/pytest-httpx/pytest-httpx-0.35.0-r1.ebuild @@ -20,14 +20,20 @@ SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" - =dev-python/httpx-0.28*[${PYTHON_USEDEP}] - =dev-python/pytest-8*[${PYTHON_USEDEP}] + >=dev-python/httpx-0.28[${PYTHON_USEDEP}] + >=dev-python/pytest-8[${PYTHON_USEDEP}] " BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - ) " +EPYTEST_PLUGINS=( "${PN}" pytest-asyncio ) +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unpin dependencies + sed -i -e '/==/{s:==:>=:;s:\.\*::}' pyproject.toml || die +} |
