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