commit:     b79e3ba09b3dd71dd1b5abf45ee9fd063480f169
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 21 14:22:10 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Feb 21 17:06:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b79e3ba0

dev-python/httpcore: Bump to 1.0.4

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/httpcore/Manifest              |  1 +
 dev-python/httpcore/httpcore-1.0.4.ebuild | 49 +++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/httpcore/Manifest b/dev-python/httpcore/Manifest
index 89b6f371f5f2..becded666577 100644
--- a/dev-python/httpcore/Manifest
+++ b/dev-python/httpcore/Manifest
@@ -1,2 +1,3 @@
 DIST httpcore-1.0.2.gh.tar.gz 95549 BLAKE2B 
92aa9a936d8c6933e1840ae50e6dfb70e61c756027a0448c2f0a5d270937342bd99cdb110aae152103c0d6c966e9288a22f7166a04dbb06dfb2a6f1bf1454d87
 SHA512 
6fc0c686b0b02b1e822550c18a7a90d2501f9d530598511877ee8cb09a0bdc4d56afe48cbb5fab5f8c1a12ea443055fe2a081b990fa4270f84db8197646b4979
 DIST httpcore-1.0.3.gh.tar.gz 96028 BLAKE2B 
de71f44e21a7aedeb61bd598ea5451efdace9582b15dbbe22f2bd91e1892f21ef3ee49408cdb08ec4142eeef688c1eed003eadf43bd2a8d16a38e6fc2fdf7409
 SHA512 
1f17e6232a7fe5e2500d7adc67915143eff0fd4b197e5cea0ee11ad7c6b88488ac2181571b5a2f67d4bebe933886b1f273c91c565e3b739df8aaf2d6aa219cb0
+DIST httpcore-1.0.4.gh.tar.gz 97682 BLAKE2B 
2a500e63360095680b5b679856b8b2b9bdefc5f0a2d268ded83da52f0ef9cee5d09a99fa15565590d6c7ef4637146beeee3c950dd37a8a40f2af5189eb25cc4c
 SHA512 
e618a562dbeb2229e9fdc8e63769415c7308614e120f24d0319e8fe9c96ed6de014fcc03ac376737c5791875bb82b2cc486247bfbf235afe11d48f09a2d2a701

diff --git a/dev-python/httpcore/httpcore-1.0.4.ebuild 
b/dev-python/httpcore/httpcore-1.0.4.ebuild
new file mode 100644
index 000000000000..24a34134c031
--- /dev/null
+++ b/dev-python/httpcore/httpcore-1.0.4.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="A minimal low-level HTTP client"
+HOMEPAGE="
+       https://www.encode.io/httpcore/
+       https://github.com/encode/httpcore/
+       https://pypi.org/project/httpcore/
+"
+SRC_URI="
+       https://github.com/encode/httpcore/archive/${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+       <dev-python/anyio-5[${PYTHON_USEDEP}]
+       dev-python/certifi[${PYTHON_USEDEP}]
+       <dev-python/h11-0.15[${PYTHON_USEDEP}]
+       <dev-python/h2-5[${PYTHON_USEDEP}]
+       =dev-python/sniffio-1*[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}]
+       test? (
+               dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+               dev-python/pytest-httpbin[${PYTHON_USEDEP}]
+               dev-python/pytest-trio[${PYTHON_USEDEP}]
+               dev-python/socksio[${PYTHON_USEDEP}]
+               dev-python/trio[${PYTHON_USEDEP}]
+               dev-python/trustme[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+pkg_postinst() {
+       optfeature "SOCKS support" dev-python/socksio
+}

Reply via email to