From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AABB7159C9B for ; Sun, 11 Aug 2024 02:58:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4E68C2BC0EF; Sun, 11 Aug 2024 02:58:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 315832BC0EF for ; Sun, 11 Aug 2024 02:58:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2F5223430FE for ; Sun, 11 Aug 2024 02:58:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9142A1ED0 for ; Sun, 11 Aug 2024 02:58:21 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1723344653.3a82fbe067b38e91ef24f63811dae0df28bfae5e.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyrate-limiter/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyrate-limiter/Manifest dev-python/pyrate-limiter/pyrate-limiter-2.10.0.ebuild dev-python/pyrate-limiter/pyrate-limiter-3.6.0.ebuild X-VCS-Directories: dev-python/pyrate-limiter/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 3a82fbe067b38e91ef24f63811dae0df28bfae5e X-VCS-Branch: master Date: Sun, 11 Aug 2024 02:58:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 42f6d2cf-74f1-4597-b979-478a2d40c2f4 X-Archives-Hash: 193a1a4c1518df805723ddac4d5bae58 commit: 3a82fbe067b38e91ef24f63811dae0df28bfae5e Author: Michał Górny gentoo org> AuthorDate: Sun Aug 11 02:50:53 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Aug 11 02:50:53 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a82fbe0 dev-python/pyrate-limiter: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pyrate-limiter/Manifest | 2 - .../pyrate-limiter/pyrate-limiter-2.10.0.ebuild | 62 ------------------ .../pyrate-limiter/pyrate-limiter-3.6.0.ebuild | 75 ---------------------- 3 files changed, 139 deletions(-) diff --git a/dev-python/pyrate-limiter/Manifest b/dev-python/pyrate-limiter/Manifest index 55c15d3fb6d2..1b91b3c11fdd 100644 --- a/dev-python/pyrate-limiter/Manifest +++ b/dev-python/pyrate-limiter/Manifest @@ -1,3 +1 @@ -DIST pyrate-limiter-2.10.0.gh.tar.gz 71838 BLAKE2B 3b8fd16684268870991c3a731c5497802c6f7be51e57bc983a14a7484fad2d0983613304fa061fdb70a3e6645d17fe37fbd68e9ddeca57bc7bd97fef4a5d8585 SHA512 b0090b2d80d40ba2f86ac7b5c5612a35fa885b52a87d783aa9726782275e79ca8d54a9a44b1f0dd43c98bf2355f4c17e1686d7c7f806934ea492b67f66b06ffe -DIST pyrate_limiter-3.6.0.tar.gz 280021 BLAKE2B 4ff5e115376cfb5d860c4cd6437ccbb323e40f96bb81a9933f6f648d029c0f3a1d6674e1a9e1c0309a7087a9d1eb670918ca60d3c960e8acab017e12ffa5c28e SHA512 1f7f92203be443c27e2825022462c51eec2e276a4e58afc129599eacde21da55ed8229b0e5c7af21e650eb896b22c73f5fd227f56c1455cbd8d506894fed73a9 DIST pyrate_limiter-3.6.1.tar.gz 280264 BLAKE2B 042601c2f80fc855301cda8be4af2547afdfb9532a93a418201db312535a12fa30b2469024ee318a14cb51f4555522b70b6aeef96d41978eb8f8c31d046a0a73 SHA512 b57cbd40473eab549ede0045451d1178dccfcac73f328bf4fe8106172602b52bafe612e2fa2df09f9fe99bdf68c3c7447e8d4f749ba260f3b29656100718c02b diff --git a/dev-python/pyrate-limiter/pyrate-limiter-2.10.0.ebuild b/dev-python/pyrate-limiter/pyrate-limiter-2.10.0.ebuild deleted file mode 100644 index 8830d2dc63a5..000000000000 --- a/dev-python/pyrate-limiter/pyrate-limiter-2.10.0.ebuild +++ /dev/null @@ -1,62 +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..12} ) - -inherit distutils-r1 - -DESCRIPTION="Python Rate-Limiter using Leaky-Bucket Algorimth Family" -HOMEPAGE=" - https://github.com/vutran1710/PyrateLimiter/ - https://pypi.org/project/pyrate-limiter/ -" -SRC_URI=" - https://github.com/vutran1710/PyrateLimiter/archive/refs/tags/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/PyrateLimiter-${PV}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-python/filelock[${PYTHON_USEDEP}] - dev-python/redis[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/django[${PYTHON_USEDEP}] - dev-python/django-redis[${PYTHON_USEDEP}] - dev-python/fakeredis[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${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]" -) - -# 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_prepare() { - # workaround installing LICENSE into site-packages - sed -i -e 's:^include:exclude:' pyproject.toml || die - distutils-r1_src_prepare -} diff --git a/dev-python/pyrate-limiter/pyrate-limiter-3.6.0.ebuild b/dev-python/pyrate-limiter/pyrate-limiter-3.6.0.ebuild deleted file mode 100644 index 276657b6cf9d..000000000000 --- a/dev-python/pyrate-limiter/pyrate-limiter-3.6.0.ebuild +++ /dev/null @@ -1,75 +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=( pypy3 python3_{10..12} ) - -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/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - ) -" - -EPYTEST_DESELECT=( - # Optional dependency redis-py-cluster not packaged - "tests/test_02.py::test_redis_cluster" -) -EPYTEST_XDIST=1 - -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() { - 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 -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # postgres tests require psycopg-pool - epytest -p asyncio -p rerunfailures --reruns=5 -k "not postgres" -}