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 1989615ACFB for ; Sat, 22 Apr 2023 10:10:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 479F3E08D6; Sat, 22 Apr 2023 10:10:44 +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 17926E08D6 for ; Sat, 22 Apr 2023 10:10:44 +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 DAD443411A2 for ; Sat, 22 Apr 2023 10:10:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 44631A4D for ; Sat, 22 Apr 2023 10:10:41 +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: <1682158164.6c6eb6d6715c4496614d631330199d2595ebd46a.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/redis/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/redis/Manifest dev-python/redis/redis-4.5.1.ebuild dev-python/redis/redis-4.5.2.ebuild dev-python/redis/redis-4.5.3.ebuild X-VCS-Directories: dev-python/redis/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6c6eb6d6715c4496614d631330199d2595ebd46a X-VCS-Branch: master Date: Sat, 22 Apr 2023 10:10:41 +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: 3b80365a-14ae-4622-b687-194023dee608 X-Archives-Hash: 997a1b3cd16434b7ebd7cf199e31f103 commit: 6c6eb6d6715c4496614d631330199d2595ebd46a Author: Michał Górny gentoo org> AuthorDate: Sat Apr 22 10:09:24 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Apr 22 10:09:24 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c6eb6d6 dev-python/redis: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/redis/Manifest | 3 -- dev-python/redis/redis-4.5.1.ebuild | 81 ------------------------------------ dev-python/redis/redis-4.5.2.ebuild | 83 ------------------------------------- dev-python/redis/redis-4.5.3.ebuild | 83 ------------------------------------- 4 files changed, 250 deletions(-) diff --git a/dev-python/redis/Manifest b/dev-python/redis/Manifest index 79951c957926..5d910d8a1623 100644 --- a/dev-python/redis/Manifest +++ b/dev-python/redis/Manifest @@ -1,4 +1 @@ -DIST redis-py-4.5.1.gh.tar.gz 4737828 BLAKE2B ce4f44c32e0c0bf050c868725e41b037dc9c8bc1915f83994db5196a44fc618acfb9670e61e640c4c756c9e66794a96f9d4d140c58fccc06b181dce040275377 SHA512 bbee0aee1568a95a591c9083a901c2f47dfb5c9cfa9186b4a47a6575691cd7634d2c461fad84c54fc6df53a83029d1facd19e7c59cafa4331254ef8f04967cb6 -DIST redis-py-4.5.2.gh.tar.gz 4738198 BLAKE2B d3b566bee468c46536811580c21a66b94b157079858502edd2f2359944b1029e56370b5763ba27b55f446cb6eef45c99e0132547d02b4dcb63a0d910c7c477ad SHA512 6f4a30051749b31a0fcde1e61996fb9a92e71094a8f3dabeaef8aa1794431e59be8c67f337f6476b73eaca78ab14edd6e2c4de4621b9311f9124e70c68c1eec1 -DIST redis-py-4.5.3.gh.tar.gz 4740507 BLAKE2B 82fe7ac66bbae1100d3ea65142d7cda98493121fb6631f5e865e1611e7facc6186246b1cbd54f548abc869f1d47f6ec8b580e383944bf5711d5fc06493605f6f SHA512 2d09c01d8651f39dd12608748a13fe9f78f63d99cd46ea914ceeae104ae3629181d0a768a1484f77d17820ea0a076c2bcc936a43ce20379d2d2d254d09146464 DIST redis-py-4.5.4.gh.tar.gz 4739418 BLAKE2B a02a581dc12a09cedd0f5158bc261ffb0efcf0346d193ebcb060f50fa95dbaadb7322446c242ac68094bbfbd80c9879d8c9a9fc8362aa6a6e9be85d7e46d9aaa SHA512 55c4530ab715c4bddb502ce58ae3c62db9c27d16ddbfa8f87c88e9425e0285d9fd570338428c30d0a3f1fe2d81868fd8385da0255d58c3dd9b9813f9454eeb30 diff --git a/dev-python/redis/redis-4.5.1.ebuild b/dev-python/redis/redis-4.5.1.ebuild deleted file mode 100644 index 320d50b908dc..000000000000 --- a/dev-python/redis/redis-4.5.1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} pypy3 ) - -inherit distutils-r1 - -MY_P=redis-py-${PV} -DESCRIPTION="Python client for Redis key-value store" -HOMEPAGE=" - https://github.com/redis/redis-py/ - https://pypi.org/project/redis/ -" -SRC_URI=" - https://github.com/redis/redis-py/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86" - -RDEPEND=" - >=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-db/redis - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # Flaky test - tests/test_pubsub.py::TestPubSubDeadlock::test_pubsub_deadlock - # TODO - tests/test_commands.py::TestRedisCommands::test_acl_list - # redis-7 different return - tests/test_commands.py::TestRedisCommands::test_xautoclaim - ) - - # TODO: try to run more servers? - epytest -m "not redismod and not onlycluster and not replica and not ssl" -} - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - - if has_version ">=dev-db/redis-7"; then - local extra_conf=" - enable-debug-command yes - enable-module-command yes - " - fi - - # 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/redis/redis-4.5.2.ebuild b/dev-python/redis/redis-4.5.2.ebuild deleted file mode 100644 index 37fbc3edbe6d..000000000000 --- a/dev-python/redis/redis-4.5.2.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} pypy3 ) - -inherit distutils-r1 - -MY_P=redis-py-${PV} -DESCRIPTION="Python client for Redis key-value store" -HOMEPAGE=" - https://github.com/redis/redis-py/ - https://pypi.org/project/redis/ -" -SRC_URI=" - https://github.com/redis/redis-py/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}] - ' 3.{9..10}) -" -BDEPEND=" - test? ( - dev-db/redis - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # Flaky test - tests/test_pubsub.py::TestPubSubDeadlock::test_pubsub_deadlock - # TODO - tests/test_commands.py::TestRedisCommands::test_acl_list - # redis-7 different return - tests/test_commands.py::TestRedisCommands::test_xautoclaim - ) - - # TODO: try to run more servers? - epytest -m "not redismod and not onlycluster and not replica and not ssl" -} - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - - if has_version ">=dev-db/redis-7"; then - local extra_conf=" - enable-debug-command yes - enable-module-command yes - " - fi - - # 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/redis/redis-4.5.3.ebuild b/dev-python/redis/redis-4.5.3.ebuild deleted file mode 100644 index 37fbc3edbe6d..000000000000 --- a/dev-python/redis/redis-4.5.3.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} pypy3 ) - -inherit distutils-r1 - -MY_P=redis-py-${PV} -DESCRIPTION="Python client for Redis key-value store" -HOMEPAGE=" - https://github.com/redis/redis-py/ - https://pypi.org/project/redis/ -" -SRC_URI=" - https://github.com/redis/redis-py/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}] - ' 3.{9..10}) -" -BDEPEND=" - test? ( - dev-db/redis - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # Flaky test - tests/test_pubsub.py::TestPubSubDeadlock::test_pubsub_deadlock - # TODO - tests/test_commands.py::TestRedisCommands::test_acl_list - # redis-7 different return - tests/test_commands.py::TestRedisCommands::test_xautoclaim - ) - - # TODO: try to run more servers? - epytest -m "not redismod and not onlycluster and not replica and not ssl" -} - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - - if has_version ">=dev-db/redis-7"; then - local extra_conf=" - enable-debug-command yes - enable-module-command yes - " - fi - - # 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 -}