mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
dev-python/hishel: Bump to 1.1.7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
6a7e7c95d2
commit
c508c34a83
@ -1,2 +1,3 @@
|
|||||||
DIST hishel-0.1.5.gh.tar.gz 1065622 BLAKE2B 926801f579a57cc2b45cb6cd5326459493452d34b32a2725b906307dcc4575b1297b35ffc626e51acc5805216731552d58c672dedb0541f2c771f153daee960d SHA512 b1f850895b147da616ace381d98ac9b6a15386d7e79d64a57a4e87f9bd0b42009a6ffa15fe1f8e46c57f8bc664c3af97d46e5adb81211e30fae87dab898f7734
|
DIST hishel-0.1.5.gh.tar.gz 1065622 BLAKE2B 926801f579a57cc2b45cb6cd5326459493452d34b32a2725b906307dcc4575b1297b35ffc626e51acc5805216731552d58c672dedb0541f2c771f153daee960d SHA512 b1f850895b147da616ace381d98ac9b6a15386d7e79d64a57a4e87f9bd0b42009a6ffa15fe1f8e46c57f8bc664c3af97d46e5adb81211e30fae87dab898f7734
|
||||||
DIST hishel-1.1.6.gh.tar.gz 1098160 BLAKE2B a02509ba9516e9b1125c6f40d2eeadcc79932586ff60d709050eb6123422fb77584dd7aa8749c4efa9f434323d1e3d916bbc80cbddcd089628ce5ceaf2e70272 SHA512 56c330ccc47f5eced158b00a972508a5f9c14ec09c8263297e12c57de9f105ea200807988f36607d2b21500eeb7d0389069e55c77f258d62550ed1ed6af8aa11
|
DIST hishel-1.1.6.gh.tar.gz 1098160 BLAKE2B a02509ba9516e9b1125c6f40d2eeadcc79932586ff60d709050eb6123422fb77584dd7aa8749c4efa9f434323d1e3d916bbc80cbddcd089628ce5ceaf2e70272 SHA512 56c330ccc47f5eced158b00a972508a5f9c14ec09c8263297e12c57de9f105ea200807988f36607d2b21500eeb7d0389069e55c77f258d62550ed1ed6af8aa11
|
||||||
|
DIST hishel-1.1.7.gh.tar.gz 1099100 BLAKE2B b51c0daa98b771528697c00ab50c58966354ce6a838feb818511c0aadc178c47e59537b92e4cdd2a705fe8af2f5cccaf7af91c6a4ad5808091a0ea7fdd296f5c SHA512 cf2f8d52afcf5f1eb01ded5fda630fd3bf2dd76536ca9cd54f6d7fa7de4afee1b08c4c3ccc78ae4a207c655dd8a9595e8aa0f94a8ff8cd00cad6e746643a26e0
|
||||||
|
|||||||
73
dev-python/hishel/hishel-1.1.7.ebuild
Normal file
73
dev-python/hishel/hishel-1.1.7.ebuild
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
# Copyright 2024-2025 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
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user