diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/Manifest.gz | bin | 269395 -> 269387 bytes | |||
-rw-r--r-- | dev-python/pyrate-limiter/Manifest | 8 | ||||
-rw-r--r-- | dev-python/pyrate-limiter/pyrate-limiter-3.1.0.ebuild | 70 | ||||
-rw-r--r-- | dev-python/pyrate-limiter/pyrate-limiter-3.1.1.ebuild | 71 | ||||
-rw-r--r-- | dev-python/pyrate-limiter/pyrate-limiter-3.2.0.ebuild | 71 | ||||
-rw-r--r-- | dev-python/pyrate-limiter/pyrate-limiter-3.2.1.ebuild | 12 |
6 files changed, 7 insertions, 225 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 4c70cf6c8506..31b6e211e8a8 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/pyrate-limiter/Manifest b/dev-python/pyrate-limiter/Manifest index c35f0a41230d..73ae5d60128e 100644 --- a/dev-python/pyrate-limiter/Manifest +++ b/dev-python/pyrate-limiter/Manifest @@ -1,11 +1,5 @@ DIST pyrate-limiter-2.10.0.gh.tar.gz 71838 BLAKE2B 3b8fd16684268870991c3a731c5497802c6f7be51e57bc983a14a7484fad2d0983613304fa061fdb70a3e6645d17fe37fbd68e9ddeca57bc7bd97fef4a5d8585 SHA512 b0090b2d80d40ba2f86ac7b5c5612a35fa885b52a87d783aa9726782275e79ca8d54a9a44b1f0dd43c98bf2355f4c17e1686d7c7f806934ea492b67f66b06ffe -DIST pyrate_limiter-3.1.0.tar.gz 276659 BLAKE2B 2858b2cbb4805f139ae1a26171e6a1c235eb2d8eb93380f10ed27db16e2983b01b83e7d72d4bf5b44b69710569687e86c1194ea3e1a5ff8750e5966faf5a5b6e SHA512 601b70a380965fc108ec110842170ea73065af38a809c8d103d5061948058590c6a228327ed425e1c69ef30d2c832cb8a61508d326eb3bcd6cbb2df813fa987e -DIST pyrate_limiter-3.1.1.tar.gz 276906 BLAKE2B 874e6407341d970f360dd8c800ff6910ebf2d3524e5b18cc56189d6cc9c0cb66e6d20287d9581c0ac4c935a2c719633cd72a56ada583c67d7659beefa8c006ce SHA512 f0c94af5ca4aa3c5bef1831b0dd188a67fe0c1ae076277f698880f2867ea81f80e702701185d49e204a2bb1b4b998850f18277cd8e19e759e3974ea573d4eca5 -DIST pyrate_limiter-3.2.0.tar.gz 277126 BLAKE2B ebf460424ee09dabd629391cc44f2099e8e22c1cc3f9f1fd2855cab6a8667be6d8fd04d9437ebb56ce74dd4b073a744cff656a7d9fffbb7073d7d496847140df SHA512 184f002a2fcb47678b6e1aa790bd914739d152410817ba994d92015313320725602c80d6bcd959bbcea48a0e184e5e0de35bd6855420c714d7079ca826e31296 DIST pyrate_limiter-3.2.1.tar.gz 277166 BLAKE2B eb126b94bc9a113addd1e727ae21ee2df447e1f9fc0b3a1b77ab46464186a0cb62584fafbc9fac1ddbcc7c3289338208dfb39070e57e974e00442b1d7c5f0d21 SHA512 cb782766c2e1e47aeb35c3d7d03f9a82862a53e73b5afdab1b8a255866392cf0636340164c19e4181e8aa4327e9c346fc2fde64b2f50aaf227dd60633038f7c7 EBUILD pyrate-limiter-2.10.0.ebuild 1616 BLAKE2B d349d41a6c4f25164f1fa1f86f990ffb61e69e97e4b23e7ec9e2800cc17f10afaa7904f325956a2cb9443be14bcb563da94c8733b54d1ce9e7b0011a4fe29fa1 SHA512 76d89db635828ed2ff88c46f090b0ba41d364b20787df37c4b162da8071558440124dfabd3f2a9b06bcc0540f28d974d234e65333fa095860e2bd00f9ba0cd1a -EBUILD pyrate-limiter-3.1.0.ebuild 1616 BLAKE2B fb0dff4190bb7ad074839d572629e462ac6ed0c14ce3639e622c79db169b17ff4143208f424d9ae7991dd12e1ba381132436b9a957d9706ed973fb8db55f89e8 SHA512 37da1d33d820edb4d992432f368b77cd9fa6090a7ac08c3d76bd2e7823ea19bd95d276030fc2a3b3a6b56777a436a6b61b30ef04721b0880f222d3d5b94ea3f2 -EBUILD pyrate-limiter-3.1.1.ebuild 1698 BLAKE2B 5638265799b3446a0c003a7656744a69080e99fb086cb4e120356bfee54ff3c98f03ceca0ecc2d1b9acf131a03b47ee0eefeb7bcc567a9eacd5c0ffd3bb03edc SHA512 985e9ec78eb3f1505698f83ca64de3ea60ea4efd80a278446d5bc9393729cde9f917114cb259b6dc8cd9c96a2561abd34245de8307778cd89190e1b739113de2 -EBUILD pyrate-limiter-3.2.0.ebuild 1698 BLAKE2B 5638265799b3446a0c003a7656744a69080e99fb086cb4e120356bfee54ff3c98f03ceca0ecc2d1b9acf131a03b47ee0eefeb7bcc567a9eacd5c0ffd3bb03edc SHA512 985e9ec78eb3f1505698f83ca64de3ea60ea4efd80a278446d5bc9393729cde9f917114cb259b6dc8cd9c96a2561abd34245de8307778cd89190e1b739113de2 -EBUILD pyrate-limiter-3.2.1.ebuild 1623 BLAKE2B ce19fe349a9a95196950ef326c5d3d3b5d51237e8e849b99e448cd87feb1b77ddc7c7aa909522b7f48a23694ff71d5a3ce94446c057415ff77563ad6ccd43210 SHA512 81ac97bba31d9900933d04b7da5deb865bca62b32a18948e0714649ebe9d7628b109e3eb12b5dad91ed7b45aae5fba707335bd478e0053d299d19c6fff5a1508 +EBUILD pyrate-limiter-3.2.1.ebuild 1611 BLAKE2B 5cd31f409ec7949b55a4606a27d1f7912bee3d931f18aa231919a49a44179567095f21a04780420a9de33969f8d56f19b0a06163329e8fa97bd6d5d9fc3da6c1 SHA512 db8f6196193997d50f6769a14005cff76bf8d5f4ea140e3bd5cdb587ef69532122c9534a29382361aac99752673be8698efe1df5b2242bc58713a15316e71162 MISC metadata.xml 525 BLAKE2B 8daa0c59b247c8ec215a3868315f383614b24bf36a80950f3a94968856a27ee2eb90cedba36784355926c509a26b530f3de44be729beeee0f22595cc0b9467b5 SHA512 429e23f33cd2889a7e989333a03ee374cbec2e264d354bf1c299263f2c9167059eb17f1c975b67cd4af7011843c3478d5296033666566bca97749ca85dfcab44 diff --git a/dev-python/pyrate-limiter/pyrate-limiter-3.1.0.ebuild b/dev-python/pyrate-limiter/pyrate-limiter-3.1.0.ebuild deleted file mode 100644 index 76ac0d5a356b..000000000000 --- a/dev-python/pyrate-limiter/pyrate-limiter-3.1.0.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python Rate-Limiter using Leaky-Bucket Algorimth Family" -HOMEPAGE=" - https://github.com/vutran1710/PyrateLimiter/ - https://pypi.org/project/pyrate-limiter/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/filelock[${PYTHON_USEDEP}] - dev-python/redis[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-db/redis - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - ) -" - -EPYTEST_DESELECT=( - # Optional dependency redis-py-cluster not packaged - "tests/test_02.py::test_redis_cluster" - # Python 3.11 is slightly faster, leading to a non-critical failure here - "tests/test_concurrency.py::test_concurrency[ProcessPoolExecutor-SQLiteBucket]" -) -EPYTEST_XDIST=1 - -# TODO: package sphinx-copybutton -# distutils_enable_sphinx docs \ -# dev-python/sphinx-autodoc-typehints \ -# dev-python/furo \ -# dev-python/myst-parser \ -# dev-python/sphinxcontrib-apidoc -distutils_enable_tests pytest - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - - # Spawn Redis itself for testing purposes - einfo "Spawning Redis" - einfo "NOTE: Port ${redis_port} must be free" - "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 ::1 - ${extra_conf} - EOF - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} diff --git a/dev-python/pyrate-limiter/pyrate-limiter-3.1.1.ebuild b/dev-python/pyrate-limiter/pyrate-limiter-3.1.1.ebuild deleted file mode 100644 index 36c4f841a191..000000000000 --- a/dev-python/pyrate-limiter/pyrate-limiter-3.1.1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python Rate-Limiter using Leaky-Bucket Algorimth Family" -HOMEPAGE=" - https://github.com/vutran1710/PyrateLimiter/ - https://pypi.org/project/pyrate-limiter/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/filelock[${PYTHON_USEDEP}] - dev-python/redis[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-db/redis - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - ) -" - -EPYTEST_DESELECT=( - # Optional dependency redis-py-cluster not packaged - "tests/test_02.py::test_redis_cluster" - # Python 3.11 is slightly faster, leading to a non-critical failure here - "tests/test_concurrency.py::test_concurrency[ProcessPoolExecutor-SQLiteBucket]" - "tests/test_limiter.py::test_limiter_01[clock0-create_sqlite_bucket-False-None]" -) -EPYTEST_XDIST=1 - -# TODO: package sphinx-copybutton -# distutils_enable_sphinx docs \ -# dev-python/sphinx-autodoc-typehints \ -# dev-python/furo \ -# dev-python/myst-parser \ -# dev-python/sphinxcontrib-apidoc -distutils_enable_tests pytest - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - - # Spawn Redis itself for testing purposes - einfo "Spawning Redis" - einfo "NOTE: Port ${redis_port} must be free" - "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 ::1 - ${extra_conf} - EOF - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} diff --git a/dev-python/pyrate-limiter/pyrate-limiter-3.2.0.ebuild b/dev-python/pyrate-limiter/pyrate-limiter-3.2.0.ebuild deleted file mode 100644 index 36c4f841a191..000000000000 --- a/dev-python/pyrate-limiter/pyrate-limiter-3.2.0.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Python Rate-Limiter using Leaky-Bucket Algorimth Family" -HOMEPAGE=" - https://github.com/vutran1710/PyrateLimiter/ - https://pypi.org/project/pyrate-limiter/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/filelock[${PYTHON_USEDEP}] - dev-python/redis[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-db/redis - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - ) -" - -EPYTEST_DESELECT=( - # Optional dependency redis-py-cluster not packaged - "tests/test_02.py::test_redis_cluster" - # Python 3.11 is slightly faster, leading to a non-critical failure here - "tests/test_concurrency.py::test_concurrency[ProcessPoolExecutor-SQLiteBucket]" - "tests/test_limiter.py::test_limiter_01[clock0-create_sqlite_bucket-False-None]" -) -EPYTEST_XDIST=1 - -# TODO: package sphinx-copybutton -# distutils_enable_sphinx docs \ -# dev-python/sphinx-autodoc-typehints \ -# dev-python/furo \ -# dev-python/myst-parser \ -# dev-python/sphinxcontrib-apidoc -distutils_enable_tests pytest - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - - # Spawn Redis itself for testing purposes - einfo "Spawning Redis" - einfo "NOTE: Port ${redis_port} must be free" - "${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server" - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 ::1 - ${extra_conf} - EOF - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} diff --git a/dev-python/pyrate-limiter/pyrate-limiter-3.2.1.ebuild b/dev-python/pyrate-limiter/pyrate-limiter-3.2.1.ebuild index dd754b5109b7..78b2ab43d67d 100644 --- a/dev-python/pyrate-limiter/pyrate-limiter-3.2.1.ebuild +++ b/dev-python/pyrate-limiter/pyrate-limiter-3.2.1.ebuild @@ -38,12 +38,12 @@ EPYTEST_DESELECT=( ) EPYTEST_XDIST=1 -# TODO: package sphinx-copybutton -# distutils_enable_sphinx docs \ -# dev-python/sphinx-autodoc-typehints \ -# dev-python/furo \ -# dev-python/myst-parser \ -# dev-python/sphinxcontrib-apidoc +distutils_enable_sphinx docs \ + dev-python/sphinx-autodoc-typehints \ + dev-python/sphinx-copybutton \ + dev-python/furo \ + dev-python/myst-parser \ + dev-python/sphinxcontrib-apidoc distutils_enable_tests pytest src_test() { |