summaryrefslogtreecommitdiff
path: root/dev-python/hishel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-07 12:24:47 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-07 12:24:47 +0100
commit5d8ffbc273ca664e15618d557ced3e02de1a884b (patch)
treebc22fbc6a07790fd70dc8b5148de3089a1c4db3e /dev-python/hishel
parent4187bba080530c5ca1c7dae9c233e88f3fc8f535 (diff)
gentoo auto-resync : 07:07:2024 - 12:24:46
Diffstat (limited to 'dev-python/hishel')
-rw-r--r--dev-python/hishel/Manifest2
-rw-r--r--dev-python/hishel/hishel-0.0.27.ebuild74
2 files changed, 0 insertions, 76 deletions
diff --git a/dev-python/hishel/Manifest b/dev-python/hishel/Manifest
index d8e064df9267..5c6c90b8232d 100644
--- a/dev-python/hishel/Manifest
+++ b/dev-python/hishel/Manifest
@@ -1,5 +1,3 @@
-DIST hishel-0.0.27.gh.tar.gz 828343 BLAKE2B 57c42988bb64ef0a36bfe15527fae4a06cf1945609458266c29c0ba9423002c8c7c3beb0b1276dd4aa7d8b3a4f4575f5c8d570d7d66b97ea757988f3e673b651 SHA512 c348bc7ef236a9379f4c45f3cfa3eb74ea1c11be3b3dc533e7864c788d029137720de7612210873971d8ccd6768379ee26a4782c6c7fdf87ce4e4028489b6012
DIST hishel-0.0.29.gh.tar.gz 828680 BLAKE2B 2869f53e04e92d5c6ccaeb3234a299a075db8429b3b8f77ac9671764b65a4a7d360451e934651789caf2e654b3e5b18819b741b52abe89867157599b921d5a40 SHA512 a16b2c198ea93c2445e0f572e5432c1f44b12ed0e301e52ed46c2c849a5a324457f88ca50c5e98283ceb9aaddf1e1ea4a11644cf61dd0ca4a25f956950c6da23
-EBUILD hishel-0.0.27.ebuild 1673 BLAKE2B e3d7bc87f13e5c6b02f83751e54918f6500a38e11881afc739f1e1f0c57fe85f5680f6a4ee70305c39e5506993b4c9a734c24399771b2d6dd3aa35846f7c90e9 SHA512 03df99a4904d9a2b71b665b4a83e87c8ae17b74f63294d1ea5194575b5cae19f093d88da85d471adad73611f23911fdf03c0e37fc6b9e4248e9e11505c95be40
EBUILD hishel-0.0.29.ebuild 1673 BLAKE2B e3d7bc87f13e5c6b02f83751e54918f6500a38e11881afc739f1e1f0c57fe85f5680f6a4ee70305c39e5506993b4c9a734c24399771b2d6dd3aa35846f7c90e9 SHA512 03df99a4904d9a2b71b665b4a83e87c8ae17b74f63294d1ea5194575b5cae19f093d88da85d471adad73611f23911fdf03c0e37fc6b9e4248e9e11505c95be40
MISC metadata.xml 378 BLAKE2B 24bb3b6d47931488021a625ac5f4eca9575efaebabc4af29fcd42ea8468a0a8da077d88b98c6f348c7528d7b338fbf553475894fe0726f11ca48c6c5d4720f61 SHA512 ae67451815773cffe43a0e16ae42020f1c29fb83ad711633666b065be586a08e4da5ebcee8e35d7f0c0084c018713760a1f20b4b9a7f2a5d43691589be357b42
diff --git a/dev-python/hishel/hishel-0.0.27.ebuild b/dev-python/hishel/hishel-0.0.27.ebuild
deleted file mode 100644
index 07503f286cee..000000000000
--- a/dev-python/hishel/hishel-0.0.27.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=hatchling
-PYTHON_COMPAT=( python3_{10..12} )
-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/httpx[${PYTHON_USEDEP}]
- dev-python/typing-extensions[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
- ${RDEPEND}
- dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}]
- test? (
- dev-db/redis
- dev-python/anyio[${PYTHON_USEDEP}]
- dev-python/boto3[${PYTHON_USEDEP}]
- dev-python/moto[${PYTHON_USEDEP}]
- dev-python/redis[${PYTHON_USEDEP}]
- dev-python/trio[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
- sed -e 's:mock_s3:mock_aws:g' \
- -e '/import anysqlite/ d' \
- -i tests/_async/test_storages.py \
- tests/_sync/test_storages.py || die
-
- distutils-r1_python_prepare_all
-}
-
-src_test() {
- local EPYTEST_DESELECT=(
- # tests that need anysqlite
- tests/_async/test_storages.py::test_sqlitestorage
- tests/_async/test_storages.py::test_sqlite_expired
- tests/_async/test_storages.py::test_sqlite_ttl_after_hits
- )
-
- 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
-}