summaryrefslogtreecommitdiff
path: root/dev-python/httpcore
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-02-21 18:23:44 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-02-21 18:23:44 +0000
commitc50f96bfee32e67b8c68cf9f0d281ac48995ddb0 (patch)
tree0443d0c3e2af80b75e50397c93defb9e98e7072e /dev-python/httpcore
parentc939486cdb8916d1876296535cadc2d484cd309f (diff)
downloadbaldeagleos-repo-c50f96bfee32e67b8c68cf9f0d281ac48995ddb0.tar.gz
baldeagleos-repo-c50f96bfee32e67b8c68cf9f0d281ac48995ddb0.tar.xz
baldeagleos-repo-c50f96bfee32e67b8c68cf9f0d281ac48995ddb0.zip
Adding metadata
Diffstat (limited to 'dev-python/httpcore')
-rw-r--r--dev-python/httpcore/Manifest1
-rw-r--r--dev-python/httpcore/httpcore-1.0.4.ebuild49
2 files changed, 50 insertions, 0 deletions
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..bb1f4a2df607
--- /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=( python3_{8,9,10,11,12} pypy3 )
+
+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
+}