summaryrefslogtreecommitdiff
path: root/dev-python/hishel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-15 00:09:17 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-15 00:09:17 +0100
commit6a7029e0f7370d4d5dfe9e31cc2719a870482392 (patch)
tree28c6c747114eaedfd2db81f86ac2ff3d7d13111e /dev-python/hishel
parent5e41a38157bb40e8513e8e34426e85faba672fe7 (diff)
gentoo auto-resync : 15:06:2024 - 00:09:17
Diffstat (limited to 'dev-python/hishel')
-rw-r--r--dev-python/hishel/Manifest4
-rw-r--r--dev-python/hishel/hishel-0.0.25-r1.ebuild61
-rw-r--r--dev-python/hishel/hishel-0.0.26.ebuild74
3 files changed, 0 insertions, 139 deletions
diff --git a/dev-python/hishel/Manifest b/dev-python/hishel/Manifest
index a8507a05b697..0a7afbfad6ec 100644
--- a/dev-python/hishel/Manifest
+++ b/dev-python/hishel/Manifest
@@ -1,7 +1,3 @@
-DIST hishel-0.0.25.gh.tar.gz 825114 BLAKE2B dd7d7bec47700a1ab07976ba31b951adacf7e917dd7ba09419cc6e3b81f1b6609a1f7f14a6c176b0c151ed255cf099f3da60122717b2be9161bd41b7ba080f36 SHA512 16aec1ea495075b4932e1e9d16b07af060b49bb74faed097343bde99c5d2b656b36762b2f2d67fd46c31b700206eec77ecdfb364a1c2cd19bb67c3055abc9e98
-DIST hishel-0.0.26.gh.tar.gz 828246 BLAKE2B e8273020c3b69edc0a080940d8462d33c4eb6b6bbb6f0325975ef29e15d0f16c57a31406f24ae56ad651722ccf6ff704afcedb917417355f67b7536d80dc0c3f SHA512 1d5d55e2ad2743ac15b258c1246a21975c4e8bf5786e331d55acc6e5cb82c0393b23b7c00a5ea9f6f8070e5e3cf6d5f6d9755315403748259d99e6ce20ccd27f
DIST hishel-0.0.27.gh.tar.gz 828343 BLAKE2B 57c42988bb64ef0a36bfe15527fae4a06cf1945609458266c29c0ba9423002c8c7c3beb0b1276dd4aa7d8b3a4f4575f5c8d570d7d66b97ea757988f3e673b651 SHA512 c348bc7ef236a9379f4c45f3cfa3eb74ea1c11be3b3dc533e7864c788d029137720de7612210873971d8ccd6768379ee26a4782c6c7fdf87ce4e4028489b6012
-EBUILD hishel-0.0.25-r1.ebuild 1720 BLAKE2B 418142e364c802db5ef8348cc39017f45aff35e8acbac2a1b57c96ee2d873d740fbdfcd539b78e0b9e0eaa04100fda30331adec46befa8e88b6788b8a3a09c0b SHA512 8fb39d0f967504c1443417dd7f3ac55627fee958fb54e26bc8b8d7718c107721a71dc5ffd7f4c354e6a8404ed188943c488a397d5985b51fc4e2391a406fa10d
-EBUILD hishel-0.0.26.ebuild 1673 BLAKE2B e3d7bc87f13e5c6b02f83751e54918f6500a38e11881afc739f1e1f0c57fe85f5680f6a4ee70305c39e5506993b4c9a734c24399771b2d6dd3aa35846f7c90e9 SHA512 03df99a4904d9a2b71b665b4a83e87c8ae17b74f63294d1ea5194575b5cae19f093d88da85d471adad73611f23911fdf03c0e37fc6b9e4248e9e11505c95be40
EBUILD hishel-0.0.27.ebuild 1673 BLAKE2B e3d7bc87f13e5c6b02f83751e54918f6500a38e11881afc739f1e1f0c57fe85f5680f6a4ee70305c39e5506993b4c9a734c24399771b2d6dd3aa35846f7c90e9 SHA512 03df99a4904d9a2b71b665b4a83e87c8ae17b74f63294d1ea5194575b5cae19f093d88da85d471adad73611f23911fdf03c0e37fc6b9e4248e9e11505c95be40
MISC metadata.xml 378 BLAKE2B 24bb3b6d47931488021a625ac5f4eca9575efaebabc4af29fcd42ea8468a0a8da077d88b98c6f348c7528d7b338fbf553475894fe0726f11ca48c6c5d4720f61 SHA512 ae67451815773cffe43a0e16ae42020f1c29fb83ad711633666b065be586a08e4da5ebcee8e35d7f0c0084c018713760a1f20b4b9a7f2a5d43691589be357b42
diff --git a/dev-python/hishel/hishel-0.0.25-r1.ebuild b/dev-python/hishel/hishel-0.0.25-r1.ebuild
deleted file mode 100644
index 99f6858c366c..000000000000
--- a/dev-python/hishel/hishel-0.0.25-r1.ebuild
+++ /dev/null
@@ -1,61 +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"
-
-RDEPEND="
- dev-python/httpx[${PYTHON_USEDEP}]
- dev-python/typing-extensions[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
- ${RDEPEND}
- dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}]
- test? (
- dev-python/anyio[${PYTHON_USEDEP}]
- dev-python/boto3[${PYTHON_USEDEP}]
- dev-python/moto[${PYTHON_USEDEP}]
- dev-python/trio[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests pytest
-
-EPYTEST_DESELECT=(
- # tests that need anysqlite
- "tests/_async/test_storages.py::test_sqlitestorage[asyncio]"
- "tests/_async/test_storages.py::test_sqlitestorage[trio]"
-
- # tests that need a running redis instance
- "tests/_async/test_storages.py::test_redisstorage[asyncio]"
- "tests/_async/test_storages.py::test_redisstorage_expired[asyncio]"
- "tests/_async/test_storages.py::test_sqlite_expired[asyncio]"
- "tests/_sync/test_storages.py::test_redisstorage[asyncio]"
- "tests/_sync/test_storages.py::test_redisstorage_expired[asyncio]"
- "tests/_sync/test_storages.py::test_redisstorage[trio]"
- "tests/_sync/test_storages.py::test_redisstorage_expired[trio]"
-)
-
-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
-}
diff --git a/dev-python/hishel/hishel-0.0.26.ebuild b/dev-python/hishel/hishel-0.0.26.ebuild
deleted file mode 100644
index 07503f286cee..000000000000
--- a/dev-python/hishel/hishel-0.0.26.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
-}