commit: 1272c3b742a24284ddd068d7bf097be00c0277a7 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sun Feb 27 18:44:56 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Feb 27 18:44:56 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1272c3b7
dev-python/httpcore: Relax the dev-python/h11 dep Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> .../{httpcore-0.14.7.ebuild => httpcore-0.14.7-r1.ebuild} | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-python/httpcore/httpcore-0.14.7.ebuild b/dev-python/httpcore/httpcore-0.14.7-r1.ebuild similarity index 88% rename from dev-python/httpcore/httpcore-0.14.7.ebuild rename to dev-python/httpcore/httpcore-0.14.7-r1.ebuild index 44f405586310..396c0c27cbe0 100644 --- a/dev-python/httpcore/httpcore-0.14.7.ebuild +++ b/dev-python/httpcore/httpcore-0.14.7-r1.ebuild @@ -5,6 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8..10} ) + inherit distutils-r1 optfeature DESCRIPTION="A minimal low-level HTTP client" @@ -20,7 +21,7 @@ KEYWORDS="amd64 arm arm64 hppa ppc ppc64 ~riscv sparc x86" RDEPEND=" =dev-python/anyio-3*[${PYTHON_USEDEP}] dev-python/certifi[${PYTHON_USEDEP}] - <dev-python/h11-0.13[${PYTHON_USEDEP}] + <dev-python/h11-0.14[${PYTHON_USEDEP}] <dev-python/h2-5[${PYTHON_USEDEP}] =dev-python/sniffio-1*[${PYTHON_USEDEP}] " @@ -37,6 +38,11 @@ BDEPEND=" distutils_enable_tests pytest +src_prepare() { + sed -i -e '/h11/s:,<0.13::' setup.py || die + distutils-r1_src_prepare +} + pkg_postinst() { optfeature "SOCKS support" dev-python/socksio }