[gentoo-commits] repo/gentoo:master commit in: dev-python/hishel/
commit: 8e5ab3e18a9d8822981d7891749a875a1378e3d9 Author: Michał Górny gentoo org> AuthorDate: Sun Sep 22 14:19:45 2024 + Commit: Michał Górny gentoo org> CommitDate: Sun Sep 22 14:19:45 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e5ab3e1 dev-python/hishel: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/hishel/Manifest | 1 - dev-python/hishel/hishel-0.0.29.ebuild | 74 -- 2 files changed, 75 deletions(-) diff --git a/dev-python/hishel/Manifest b/dev-python/hishel/Manifest index c3adb1866199..64d077b991f1 100644 --- a/dev-python/hishel/Manifest +++ b/dev-python/hishel/Manifest @@ -1,2 +1 @@ -DIST hishel-0.0.29.gh.tar.gz 828680 BLAKE2B 2869f53e04e92d5c6ccaeb3234a299a075db8429b3b8f77ac9671764b65a4a7d360451e934651789caf2e654b3e5b18819b741b52abe89867157599b921d5a40 SHA512 a16b2c198ea93c2445e0f572e5432c1f44b12ed0e301e52ed46c2c849a5a324457f88ca50c5e98283ceb9aaddf1e1ea4a11644cf61dd0ca4a25f956950c6da23 DIST hishel-0.0.30.gh.tar.gz 832978 BLAKE2B 932150b3464dcbc4fc2ff1361bafa6b2ea3fef496b0c89117c18b62122d07b0d71db66762e3eb87edb03f84eb4af0273f1792131e110291924bb29299051741a SHA512 f55f04badfe9ea161e20d8eca631cc02f9b1195ddaf3ba75b5e1a0ef143337a13438181ede9c853f30f7a24d3b6e59cffdc044860fc564d18392a59bd603c5c9 diff --git a/dev-python/hishel/hishel-0.0.29.ebuild b/dev-python/hishel/hishel-0.0.29.ebuild deleted file mode 100644 index 046e93ae7033.. --- a/dev-python/hishel/hishel-0.0.29.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..13} ) -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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hishel/
commit: 2e888f6034a56ddb17e67cee2d3519458b8728a6 Author: Michał Górny gentoo org> AuthorDate: Sun Sep 22 14:19:59 2024 + Commit: Michał Górny gentoo org> CommitDate: Sun Sep 22 14:19:59 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e888f60 dev-python/hishel: Bump to 0.0.31 Signed-off-by: Michał Górny gentoo.org> dev-python/hishel/Manifest | 1 + dev-python/hishel/hishel-0.0.31.ebuild | 74 ++ 2 files changed, 75 insertions(+) diff --git a/dev-python/hishel/Manifest b/dev-python/hishel/Manifest index 64d077b991f1..bb0e0be7acb9 100644 --- a/dev-python/hishel/Manifest +++ b/dev-python/hishel/Manifest @@ -1 +1,2 @@ DIST hishel-0.0.30.gh.tar.gz 832978 BLAKE2B 932150b3464dcbc4fc2ff1361bafa6b2ea3fef496b0c89117c18b62122d07b0d71db66762e3eb87edb03f84eb4af0273f1792131e110291924bb29299051741a SHA512 f55f04badfe9ea161e20d8eca631cc02f9b1195ddaf3ba75b5e1a0ef143337a13438181ede9c853f30f7a24d3b6e59cffdc044860fc564d18392a59bd603c5c9 +DIST hishel-0.0.31.gh.tar.gz 833160 BLAKE2B 417cd61a88ca2dd29661f00bf7ce743b38a3d50f4eb111c69a42f6c59fdb8e9774f00e1802fb87cc8156975ffb3fabddc17cdc8f217cc62fce161ce780bea315 SHA512 88a459f4898af0d10718e7a90ec4502bb323f41a26c03ea36bf03ea0e88fe0984778094fafe9c4f8fea21a6e051a4c424a137faa239812d407c3468d231c12ab diff --git a/dev-python/hishel/hishel-0.0.31.ebuild b/dev-python/hishel/hishel-0.0.31.ebuild new file mode 100644 index ..046e93ae7033 --- /dev/null +++ b/dev-python/hishel/hishel-0.0.31.ebuild @@ -0,0 +1,74 @@ +# 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..13} ) +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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hishel/
commit: c4aefb2914ff2cb0be98ca3f1c317e9fd1d69bae Author: Michał Górny gentoo org> AuthorDate: Sat Jul 13 04:17:00 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat Jul 13 04:44:49 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4aefb29 dev-python/hishel: Bump to 0.0.30 Signed-off-by: Michał Górny gentoo.org> dev-python/hishel/Manifest | 1 + dev-python/hishel/hishel-0.0.30.ebuild | 74 ++ 2 files changed, 75 insertions(+) diff --git a/dev-python/hishel/Manifest b/dev-python/hishel/Manifest index 2eafa5faf58a..c3adb1866199 100644 --- a/dev-python/hishel/Manifest +++ b/dev-python/hishel/Manifest @@ -1 +1,2 @@ DIST hishel-0.0.29.gh.tar.gz 828680 BLAKE2B 2869f53e04e92d5c6ccaeb3234a299a075db8429b3b8f77ac9671764b65a4a7d360451e934651789caf2e654b3e5b18819b741b52abe89867157599b921d5a40 SHA512 a16b2c198ea93c2445e0f572e5432c1f44b12ed0e301e52ed46c2c849a5a324457f88ca50c5e98283ceb9aaddf1e1ea4a11644cf61dd0ca4a25f956950c6da23 +DIST hishel-0.0.30.gh.tar.gz 832978 BLAKE2B 932150b3464dcbc4fc2ff1361bafa6b2ea3fef496b0c89117c18b62122d07b0d71db66762e3eb87edb03f84eb4af0273f1792131e110291924bb29299051741a SHA512 f55f04badfe9ea161e20d8eca631cc02f9b1195ddaf3ba75b5e1a0ef143337a13438181ede9c853f30f7a24d3b6e59cffdc044860fc564d18392a59bd603c5c9 diff --git a/dev-python/hishel/hishel-0.0.30.ebuild b/dev-python/hishel/hishel-0.0.30.ebuild new file mode 100644 index ..046e93ae7033 --- /dev/null +++ b/dev-python/hishel/hishel-0.0.30.ebuild @@ -0,0 +1,74 @@ +# 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..13} ) +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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hishel/
commit: 155a52a841719a219110c2af57c210ae7c214080 Author: Michał Górny gentoo org> AuthorDate: Thu Jul 11 18:00:22 2024 + Commit: Michał Górny gentoo org> CommitDate: Thu Jul 11 18:21:48 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=155a52a8 dev-python/hishel: Enable py3.13 Signed-off-by: Michał Górny gentoo.org> dev-python/hishel/hishel-0.0.29.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hishel/hishel-0.0.29.ebuild b/dev-python/hishel/hishel-0.0.29.ebuild index 07503f286cee..046e93ae7033 100644 --- a/dev-python/hishel/hishel-0.0.29.ebuild +++ b/dev-python/hishel/hishel-0.0.29.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 DESCRIPTION="An elegant HTTP Cache implementation for HTTPX and HTTP Core"
[gentoo-commits] repo/gentoo:master commit in: dev-python/hishel/
commit: c8baa6b768f08317374c9b8ded1733908d6d88f4 Author: Michał Górny gentoo org> AuthorDate: Sat Jul 6 19:22:04 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat Jul 6 19:35:51 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8baa6b7 dev-python/hishel: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/hishel/Manifest | 1 - dev-python/hishel/hishel-0.0.27.ebuild | 74 -- 2 files changed, 75 deletions(-) diff --git a/dev-python/hishel/Manifest b/dev-python/hishel/Manifest index bb41fbeadb34..2eafa5faf58a 100644 --- a/dev-python/hishel/Manifest +++ b/dev-python/hishel/Manifest @@ -1,2 +1 @@ -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 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.. --- 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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hishel/
commit: 6a1d53acf3897ea1b11e91438cb1dba76c062305 Author: Michał Górny gentoo org> AuthorDate: Mon Jun 24 02:11:16 2024 + Commit: Michał Górny gentoo org> CommitDate: Mon Jun 24 02:41:04 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a1d53ac dev-python/hishel: Bump to 0.0.29 Signed-off-by: Michał Górny gentoo.org> dev-python/hishel/Manifest | 1 + dev-python/hishel/hishel-0.0.29.ebuild | 74 ++ 2 files changed, 75 insertions(+) diff --git a/dev-python/hishel/Manifest b/dev-python/hishel/Manifest index 4120bfc5ffbc..bb41fbeadb34 100644 --- a/dev-python/hishel/Manifest +++ b/dev-python/hishel/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-python/hishel/hishel-0.0.29.ebuild b/dev-python/hishel/hishel-0.0.29.ebuild new file mode 100644 index ..07503f286cee --- /dev/null +++ b/dev-python/hishel/hishel-0.0.29.ebuild @@ -0,0 +1,74 @@ +# 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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hishel/
commit: 33e87c45a1a869d44a431d3a317c6335df08e1ef Author: Michał Górny gentoo org> AuthorDate: Fri Jun 14 15:58:42 2024 + Commit: Michał Górny gentoo org> CommitDate: Fri Jun 14 16:04:32 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33e87c45 dev-python/hishel: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/hishel/Manifest| 2 - dev-python/hishel/hishel-0.0.25-r1.ebuild | 61 - dev-python/hishel/hishel-0.0.26.ebuild| 74 --- 3 files changed, 137 deletions(-) diff --git a/dev-python/hishel/Manifest b/dev-python/hishel/Manifest index dae2a2438897..4120bfc5ffbc 100644 --- a/dev-python/hishel/Manifest +++ b/dev-python/hishel/Manifest @@ -1,3 +1 @@ -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 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.. --- 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.. --- 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 -
[gentoo-commits] repo/gentoo:master commit in: dev-python/hishel/
commit: 3d42c8bf35594d671eabe9bd9ce98cb9474e226e Author: Michał Górny gentoo org> AuthorDate: Sat Jun 1 03:52:56 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat Jun 1 03:57:41 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d42c8bf dev-python/hishel: Bump to 0.0.27 Signed-off-by: Michał Górny gentoo.org> dev-python/hishel/Manifest | 1 + dev-python/hishel/hishel-0.0.27.ebuild | 74 ++ 2 files changed, 75 insertions(+) diff --git a/dev-python/hishel/Manifest b/dev-python/hishel/Manifest index e3dc6a0cc938..dae2a2438897 100644 --- a/dev-python/hishel/Manifest +++ b/dev-python/hishel/Manifest @@ -1,2 +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 diff --git a/dev-python/hishel/hishel-0.0.27.ebuild b/dev-python/hishel/hishel-0.0.27.ebuild new file mode 100644 index ..07503f286cee --- /dev/null +++ b/dev-python/hishel/hishel-0.0.27.ebuild @@ -0,0 +1,74 @@ +# 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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hishel/
commit: 6cc323b1166f6315ede06b7a7ab75d60eb7a431c Author: Arthur Zamarin gentoo org> AuthorDate: Thu May 16 15:22:00 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Thu May 16 15:22:00 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cc323b1 dev-python/hishel: Keyword 0.0.26 arm64, #928958 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/hishel/hishel-0.0.26.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/hishel/hishel-0.0.26.ebuild b/dev-python/hishel/hishel-0.0.26.ebuild index b0cd9cb0bf10..07503f286cee 100644 --- a/dev-python/hishel/hishel-0.0.26.ebuild +++ b/dev-python/hishel/hishel-0.0.26.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/karpetrosyan/${PN}/archive/refs/tags/${PV}.tar.gz -> LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" RDEPEND=" dev-python/httpx[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/hishel/
commit: 21db41ab8b12c423ddf0861554b2a22345241bd8 Author: Michał Górny gentoo org> AuthorDate: Thu Apr 25 10:36:25 2024 + Commit: Michał Górny gentoo org> CommitDate: Thu Apr 25 10:37:01 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21db41ab dev-python/hishel: Add missing test-dep on dev-python/redis Closes: https://bugs.gentoo.org/930653 Signed-off-by: Michał Górny gentoo.org> dev-python/hishel/hishel-0.0.26.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/hishel/hishel-0.0.26.ebuild b/dev-python/hishel/hishel-0.0.26.ebuild index 479c64d5d556..b0cd9cb0bf10 100644 --- a/dev-python/hishel/hishel-0.0.26.ebuild +++ b/dev-python/hishel/hishel-0.0.26.ebuild @@ -31,6 +31,7 @@ BDEPEND=" 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}] ) "
[gentoo-commits] repo/gentoo:master commit in: dev-python/hishel/
commit: 802a0bca568a18eda1b144e5f20f8d437356f0db Author: Michał Górny gentoo org> AuthorDate: Wed Apr 24 14:52:41 2024 + Commit: Michał Górny gentoo org> CommitDate: Wed Apr 24 15:08:27 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=802a0bca dev-python/hishel: Bump to 0.0.26 Signed-off-by: Michał Górny gentoo.org> dev-python/hishel/Manifest | 1 + dev-python/hishel/hishel-0.0.26.ebuild | 73 ++ 2 files changed, 74 insertions(+) diff --git a/dev-python/hishel/Manifest b/dev-python/hishel/Manifest index 273ee5c48ac2..e3dc6a0cc938 100644 --- a/dev-python/hishel/Manifest +++ b/dev-python/hishel/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-python/hishel/hishel-0.0.26.ebuild b/dev-python/hishel/hishel-0.0.26.ebuild new file mode 100644 index ..479c64d5d556 --- /dev/null +++ b/dev-python/hishel/hishel-0.0.26.ebuild @@ -0,0 +1,73 @@ +# 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-db/redis + dev-python/anyio[${PYTHON_USEDEP}] + dev-python/boto3[${PYTHON_USEDEP}] + dev-python/moto[${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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/hishel/
commit: d9ab2dde937f2c9572b53526eeca11736dd504a8 Author: Patrick McLean gentoo org> AuthorDate: Tue Apr 9 15:56:56 2024 + Commit: Patrick McLean gentoo org> CommitDate: Tue Apr 9 15:59:50 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9ab2dde dev-python/hishel: Add missing deps (bug #928963) Closes: https://bugs.gentoo.org/928963 Signed-off-by: Patrick McLean gentoo.org> dev-python/hishel/{hishel-0.0.25.ebuild => hishel-0.0.25-r1.ebuild} | 6 ++ 1 file changed, 6 insertions(+) diff --git a/dev-python/hishel/hishel-0.0.25.ebuild b/dev-python/hishel/hishel-0.0.25-r1.ebuild similarity index 93% rename from dev-python/hishel/hishel-0.0.25.ebuild rename to dev-python/hishel/hishel-0.0.25-r1.ebuild index 5d674e566749..99f6858c366c 100644 --- a/dev-python/hishel/hishel-0.0.25.ebuild +++ b/dev-python/hishel/hishel-0.0.25-r1.ebuild @@ -18,7 +18,13 @@ 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}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/hishel/
commit: c5ed3f73bef2e4b3288653642deba1a5d58ae55e Author: Patrick McLean gentoo org> AuthorDate: Mon Apr 8 21:08:14 2024 + Commit: Patrick McLean gentoo org> CommitDate: Mon Apr 8 22:30:31 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5ed3f73 dev-python/hishel: new package, add 0.0.25 Signed-off-by: Patrick McLean gentoo.org> dev-python/hishel/Manifest | 1 + dev-python/hishel/hishel-0.0.25.ebuild | 55 ++ dev-python/hishel/metadata.xml | 12 3 files changed, 68 insertions(+) diff --git a/dev-python/hishel/Manifest b/dev-python/hishel/Manifest new file mode 100644 index ..273ee5c48ac2 --- /dev/null +++ b/dev-python/hishel/Manifest @@ -0,0 +1 @@ +DIST hishel-0.0.25.gh.tar.gz 825114 BLAKE2B dd7d7bec47700a1ab07976ba31b951adacf7e917dd7ba09419cc6e3b81f1b6609a1f7f14a6c176b0c151ed255cf099f3da60122717b2be9161bd41b7ba080f36 SHA512 16aec1ea495075b4932e1e9d16b07af060b49bb74faed097343bde99c5d2b656b36762b2f2d67fd46c31b700206eec77ecdfb364a1c2cd19bb67c3055abc9e98 diff --git a/dev-python/hishel/hishel-0.0.25.ebuild b/dev-python/hishel/hishel-0.0.25.ebuild new file mode 100644 index ..5d674e566749 --- /dev/null +++ b/dev-python/hishel/hishel-0.0.25.ebuild @@ -0,0 +1,55 @@ +# 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" + +BDEPEND=" + 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/metadata.xml b/dev-python/hishel/metadata.xml new file mode 100644 index ..5cf037972bfe --- /dev/null +++ b/dev-python/hishel/metadata.xml @@ -0,0 +1,12 @@ + +https://www.gentoo.org/dtd/metadata.dtd";> + + + chutz...@gentoo.org + Patrick McLean + + + hishel + karpetrosyan/hishel + +