dev-python/hishel: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-04-27 04:06:51 +02:00
parent 98cb0dc221
commit 6ff66ae2b2
2 changed files with 0 additions and 74 deletions

View File

@@ -1,2 +1 @@
DIST hishel-1.1.10.gh.tar.gz 749424 BLAKE2B 5757ad0f64711fb2616f4c6b209f78ded5049d186acaea41ae4f9d0c254ca3bf1c0f6b745b8d6720068c6ad925968b2fa2fa0f16fb0cb66c605dc6ebf3640de8 SHA512 9aa2a797152f0b23160f91f505999508d1507b08da576405c0bf4c1dbfa3ab7dbe8863b9c01727b74a3dec29ad82a5d953bb0ef094f12de6b637fa5a654ef3d9
DIST hishel-1.1.9.gh.tar.gz 1112186 BLAKE2B bbb5f2d60b1319ae6ba6753664a85c26316cf355c3e721db5bb2d28ec0edf4f97bec50aeaba4bd707f95e943e0379ee91911125bd6f7b0c872d481d850773cbe SHA512 b17b30bee8a68cbdd51d28b00229b49464c1a6a94fafcdc89fd6f16a82713b9422df39af341f4c26de4c9e72be8dd6495cbcf382b0185c53f4aac7d0d27d620a

View File

@@ -1,73 +0,0 @@
# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1
DESCRIPTION="An elegant HTTP Cache implementation for HTTPX and HTTP Core"
HOMEPAGE="
https://github.com/karpetrosyan/hishel/
https://pypi.org/project/hishel/
"
SRC_URI="
https://github.com/karpetrosyan/${PN}/archive/refs/tags/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RDEPEND="
>=dev-python/anyio-4.9.0[${PYTHON_USEDEP}]
>=dev-python/anysqlite-0.0.5[${PYTHON_USEDEP}]
>=dev-python/httpx-0.28.1[${PYTHON_USEDEP}]
>=dev-python/msgpack-1.1.2[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-1.14.1[${PYTHON_USEDEP}]
"
BDEPEND="
${RDEPEND}
dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}]
test? (
dev-db/redis
>=dev-python/boto3-1.15.3[${PYTHON_USEDEP}]
>=dev-python/inline-snapshot-0.28.0[${PYTHON_USEDEP}]
>=dev-python/redis-6.2.0[${PYTHON_USEDEP}]
>=dev-python/time-machine-2.19.0[${PYTHON_USEDEP}]
>=dev-python/trio-0.30.0[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( anyio )
distutils_enable_tests pytest
src_test() {
local EPYTEST_DESELECT=(
# Internet
tests/test_async_httpx.py
tests/test_requests.py
tests/test_sync_httpx.py
)
local redis_pid="${T}"/redis.pid
local redis_port=6379
einfo "Starting Redis"
"${EPREFIX}"/usr/sbin/redis-server - <<- EOF
daemonize yes
pidfile ${redis_pid}
port ${redis_port}
bind 127.0.0.1 ::1
EOF
# Run the tests
distutils-r1_src_test
# Clean up afterwards
kill "$(<"${redis_pid}")" || die
}