add httpcore-0.17.2 (fram main)

This commit is contained in:
2023-09-25 19:36:04 +02:00
committed by Andreas Billmeier
parent 040df8b155
commit 7a9512daf2
2 changed files with 50 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
DIST httpcore-0.16.3.gh.tar.gz 79132 BLAKE2B c06d55ce1390085db6c15d3e96160cfb037a935d1298304856defd1778783ad1954924a48653ce165dae9cde18abec157aa72865f57e97d91a564d1b823c863c SHA512 d889da0a3fee4f190ecc3981b8af34fa9b285d00f4ad92158a085c65f3ad8fa5a97a8c711bd51f8b9518b9d2c90ecd457dee1a3d7bbf853715473f4707cc421a
DIST httpcore-0.17.2.gh.tar.gz 85086 BLAKE2B 74f748c0135cbd0551b3d1cf22b655e9d8e26f517790d08e9cb10f10cc7eecc09187e755e429fd9620f6f845be1abc3a7fde2a4d8ce557d57296d1777aaebc81 SHA512 429451323b31006eddae88b2f5575bb4b672206056d466e274f0667c185f196bedc06e82ed3a824836d56360004ba368370bca88656c3c998d61f7382c990296
EBUILD httpcore-0.16.3.ebuild 1167 BLAKE2B dd75bce8acf054670193fa690ea907bde019f17b47b9453cdc915157cce23e2e5f2216ebf9a2c1d97bfacfadc60c8fe4e3917380d48de52f2b4498d0823aa163 SHA512 e57084ca2901ae4dcba6ad4f11bcd9ad7071e7dfab3bc4398d493a8c34a45b298f02d26f916197262a1af5ed4fa5ee58531d6295cbfb0a880c67a30bb2c4bd3e
EBUILD httpcore-0.17.2.ebuild 1168 BLAKE2B 6406a80927fef46e2fc4aa55039e426d01313059f7ccf85c9946a5db7aaa3dae418233bd954d540a6bcb45014227b45b87a0c1f040ead23a62415927e5800d8a SHA512 1097c0bea70f9872c359decdc20b9e146dd2cc4c567fe1750ff578325107ffc148c54320730dace3100c0ab320086ae1360d1a36ea21730082116edaac304eae
MISC metadata.xml 454 BLAKE2B f8a48d9ab81e5f74623dd0c8490e5de5cc711fda7f4614932e7ac6caa80bd23436037ddf9327d6bddc3d39c8b601b4ee74a85c0a10bacb20514cbf8278e34d1f SHA512 af962141bd55f51b27e0d4b61bcf7d5426e816df4f8c65be257d8fddd597664afe04e78ebe7e11caaebf06ae4fe17b88f568dc440403865ba6b8e3b47d796aa6

View File

@@ -0,0 +1,48 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
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="
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
}