diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-05-18 07:44:59 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-05-18 07:58:47 +0200 |
commit | 53359059a756a9b8245f7d5d77c2a282801799f1 (patch) | |
tree | c03266661fee74fe7180da1a9fa835bb6c2b3438 /dev-python | |
parent | dev-python/dulwich: Bump to 0.20.38 (diff) | |
download | gentoo-53359059a756a9b8245f7d5d77c2a282801799f1.tar.gz gentoo-53359059a756a9b8245f7d5d77c2a282801799f1.tar.bz2 gentoo-53359059a756a9b8245f7d5d77c2a282801799f1.zip |
dev-python/httpcore: Bump to 0.15.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/httpcore/Manifest | 1 | ||||
-rw-r--r-- | dev-python/httpcore/httpcore-0.15.0.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/httpcore/Manifest b/dev-python/httpcore/Manifest index 1a780dabcc57..304187d6e61e 100644 --- a/dev-python/httpcore/Manifest +++ b/dev-python/httpcore/Manifest @@ -1 +1,2 @@ DIST httpcore-0.14.7.gh.tar.gz 75844 BLAKE2B 50d5fac7f44996cc5a08b4f994c2109b173e5b9fea080c8740309b799421d012a70280a84fffe93e290bf425e5ee6eb1bfcb74aff81fa7e737c21f25019e6664 SHA512 6865e97f9b84846bb4e9304ea358b0a28d66fd2d1e244e8a2a439ee446a294ecbc68ac07d5a718fd1c3eceaa44a391d7a8f7f2ca659f1674eb17a90f39987d48 +DIST httpcore-0.15.0.gh.tar.gz 76220 BLAKE2B e9a346d4f77cde82be5a3eb468123ae453753e57b54382f0b2c60b16afd3433cba173d9a796df20d76edbd8b5bcf2d61c32302bdd30c8d587036b3ac6f0425fd SHA512 3c25630d582448e3c7d46176c8862e4d92c6c4aac954bfe46b06e26297b32f996db2e002a87c7187accb5bf4ef86e82d7f9051404bee651ce5254119571d0c95 diff --git a/dev-python/httpcore/httpcore-0.15.0.ebuild b/dev-python/httpcore/httpcore-0.15.0.ebuild new file mode 100644 index 000000000000..3397dc1e674d --- /dev/null +++ b/dev-python/httpcore/httpcore-0.15.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{8..11} ) + +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="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + =dev-python/anyio-3*[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] + <dev-python/h11-0.14[${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 + +src_prepare() { + sed -i -e '/h11/s:,<0.13::' setup.py || die + distutils-r1_src_prepare +} + +pkg_postinst() { + optfeature "SOCKS support" dev-python/socksio +} |