dev-python/httpx: drop 0.25.0

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-04-12 17:51:59 +02:00
parent ad011d415c
commit ce6f93bacd
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 4 additions and 94 deletions

View File

@ -1,5 +1,3 @@
DIST httpx-0.25.0.gh.tar.gz 2169337 BLAKE2B 632a11917c35150be4aa9a946ae90493ba19b37697f97f82c36334a1004c57e9c256af54bcd0afbc2d5a67bd48f28c578285dd48473c8ccfd4b1c11e2c6bc069 SHA512 0be0f7ed53061d1dd9e0010d5a10adc6508bd49bf51e5ccf44f0aa2f54bdd067e3a7d1f37dfab80d3d374984aca2f20c346e46b8bc518826ce3371abc7291ee3
DIST httpx-0.26.0.gh.tar.gz 2164373 BLAKE2B 1de507dd1a0a4f5c87187645f7928f37f29e9a6cdcaacfbefe0e324cda5ad7f86a29efe99b496629a2e2f14851b8a6312d8be4595cfc61a97ce302b284dd1939 SHA512 76838d5c191700f5fd4c6afcc9d129f3809811f6ce40d45edf89518457a9497cdd94c11a68a9c42494780c579eaa43760a8bd85313d7864a8f5ae1c1b9912d61
EBUILD httpx-0.25.0.ebuild 2206 BLAKE2B 690e1315316e1ff5f0d1cb79f645dd255156ec69990b013e17ebf50b5b49ce7e77ae7c4ee5ff0f5f1cd46d0c94d81a66f6d6239cb2d93be09437676a3bf84b5f SHA512 3546e54bfd458f124cab9706b740d4feb478c5c94b799cd38267e1b8c99af68b730610b19a081fda4449059ec3f3865ebd17a7b4c6ce5be982934cfcf4f73e60
EBUILD httpx-0.26.0.ebuild 2019 BLAKE2B cd24389a6c4b118229cd52ed37e745f3be248f39be71a5b9618a2d643d68a84a0126541c01afab98b3185873ba3a631896d908a5295c3d5aac4bb08704cec5ac SHA512 27c86a50493b1ac70183f6943a33738b69d264aa03cb1e5d445ddf64505b89e3548fbfd62f69dba331ecaedf56f41f11f2989025fa18888665d4073a66aaf6c2
EBUILD httpx-0.26.0.ebuild 1953 BLAKE2B 4cd0cc32933707ea5f979b1e011fd4552682e6a537ba8368a478f3e035f43b06224024a9decc4082dc7e7fefd69ddc80ac3d10cf4dd91555c9133d42fda0ba4f SHA512 0419ce62e0cbaeaab02128adb7e5b0388741c73c00723417bb9f069edbd6959699ce67ef53e0548e3b2ccf91316f682e84ba6c22d3ae4ec65f5787167b6001a2
MISC metadata.xml 580 BLAKE2B ba896cb0d9fb03c185aeb54c86bdae3bda84d18f74beee1c5dc78aeee101a94bc364e839933e55f1a854f037d4a8cde5d3d03ea14f121389ef4544b8f5850abb SHA512 6e56bfdf86abe8d50b59718287eb40a15bec800b7ea5d0a83f7687573a90b31858b280a55d6304077d8d3ae440846cf01fc5fb41dd3b55643c146e839159d73b

View File

@ -1,88 +0,0 @@
# Copyright 2022-2023 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="Fully-featured HTTP client which provides sync and async APIs"
HOMEPAGE="
https://www.python-httpx.org/
https://github.com/encode/httpx/
https://pypi.org/project/httpx/
"
SRC_URI="
https://github.com/encode/httpx/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"
IUSE="cli"
RDEPEND="
dev-python/certifi[${PYTHON_USEDEP}]
<dev-python/httpcore-0.19[${PYTHON_USEDEP}]
>=dev-python/httpcore-0.18[${PYTHON_USEDEP}]
dev-python/idna[${PYTHON_USEDEP}]
dev-python/sniffio[${PYTHON_USEDEP}]
cli? (
=dev-python/click-8*[${PYTHON_USEDEP}]
=dev-python/pygments-2*[${PYTHON_USEDEP}]
dev-python/rich[${PYTHON_USEDEP}]
)
"
BDEPEND="
dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}]
test? (
dev-python/anyio[${PYTHON_USEDEP}]
dev-python/brotlicffi[${PYTHON_USEDEP}]
dev-python/chardet[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/h2[${PYTHON_USEDEP}]
dev-python/socksio[${PYTHON_USEDEP}]
dev-python/trio[${PYTHON_USEDEP}]
dev-python/trustme[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]
dev-python/uvicorn[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
src_prepare() {
if ! use cli; then
sed -i -e '/^httpx =/d' pyproject.toml || die
fi
sed -i -e '/rich/s:,<14::' pyproject.toml || die
# use brotlicffi instead of brotli in tests
sed -i -e 's:import brotli:import brotlicffi as brotli:' \
tests/test_decoders.py || die
distutils-r1_src_prepare
}
python_test() {
local EPYTEST_DESELECT=(
# Internet
tests/client/test_proxies.py::test_async_proxy_close
tests/client/test_proxies.py::test_sync_proxy_close
)
use cli || EPYTEST_IGNORE+=(
tests/test_main.py
)
epytest
}
pkg_postinst() {
optfeature "HTTP/2 support" dev-python/h2
optfeature "SOCKS proxy support" dev-python/socksio
optfeature "Decoding for brotli compressed responses" dev-python/brotlicffi
}

View File

@ -1,10 +1,10 @@
# Copyright 2022-2024 Gentoo Authors
# 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} )
PYTHON_COMPAT=( python3_{11..12} )
inherit distutils-r1 optfeature
@ -21,7 +21,7 @@ SRC_URI="
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
KEYWORDS="amd64 arm arm64 x86"
IUSE="cli"
RDEPEND="