From 4cbcc855382a06088e2f016f62cafdbcb7e40665 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Mar 2022 00:40:44 +0000 Subject: gentoo resync : 20.03.2022 --- dev-python/redis-py/Manifest | 8 +--- dev-python/redis-py/redis-py-4.1.0.ebuild | 78 ------------------------------- dev-python/redis-py/redis-py-4.1.1.ebuild | 78 ------------------------------- dev-python/redis-py/redis-py-4.1.2.ebuild | 77 ------------------------------ dev-python/redis-py/redis-py-4.1.4.ebuild | 78 +++++++++++++++++++++++++++++++ 5 files changed, 80 insertions(+), 239 deletions(-) delete mode 100644 dev-python/redis-py/redis-py-4.1.0.ebuild delete mode 100644 dev-python/redis-py/redis-py-4.1.1.ebuild delete mode 100644 dev-python/redis-py/redis-py-4.1.2.ebuild create mode 100644 dev-python/redis-py/redis-py-4.1.4.ebuild (limited to 'dev-python/redis-py') diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest index ac013bc71d8f..934b6be46211 100644 --- a/dev-python/redis-py/Manifest +++ b/dev-python/redis-py/Manifest @@ -1,7 +1,3 @@ -DIST redis-py-4.1.0.tar.gz 2346542 BLAKE2B 3d59f904f376df7bca14dcd7bc8547d7a7b41b8d934a50ade6dbf5e74f3da8deef59b3b7cf683fe3c7389859f76fe1d3307f91b52250da945f91b90c629640ab SHA512 85cd09570f4faf34a735befd0677aa8ca2cb0d62b0285c4c040380c2440f2774e47762ec4219381294465343353a15804b96f06b4d6eefa7159a224eb9e72001 -DIST redis-py-4.1.1.tar.gz 2349319 BLAKE2B adebda19239e1fd4cf685c0de7a9b2c2fc4e8f23df0e80f2ecdf5f4b9b8b2698fbab613975bd380ea74dc275710d8ed58ee0720486c079bf554612cb7d8b392e SHA512 a974a910dcbaf75516e311badbe6e019cdce668a6d8cd918503934bb92bf97f7ea373fae32139f89a9eecdb360184ae42d24d742ef8b008e95eae648bd992e64 -DIST redis-py-4.1.2.tar.gz 2349862 BLAKE2B 3e68918654e63c3403f2408350b2a877027a3c3990b623818332e0e77e1fbaa413e85912ea586a90788a87e0206ebe408ab55df522864dc534907c31a690c0c1 SHA512 beb6e50051eae61e84e7cf37f9f3e3efbc404d49e506b0b3bdae0d0c45fd940f12c801434a6394505519bf327b5933c076ad4f8c66ad812441bc08b3aa682542 -EBUILD redis-py-4.1.0.ebuild 1849 BLAKE2B 15f46305c094223bfb38129d85efa894ed9af4175e2eb17d14fbd423a50fe4549eebdd2a3138f3cb438be3299208eb377ffcfd4942e5d97b19d76db9a34c64a9 SHA512 d3f7af41e185f65b798f105dae482d0c9b83036c3f342faa03df0cba6d569dc1ccb6feb4b1016bab8f5b9286daf2d3e3adee0cd0063edc44d6ff8228c88be609 -EBUILD redis-py-4.1.1.ebuild 1856 BLAKE2B e22c6444d7aca15986e964da47db735958b1f27a077ba4fb737af6ba2b0254b15aa1a224bf8037ebb882f52fecc253666b74418f4139534bc525861e1afe5261 SHA512 3c7ffae06db0e0a59210c478c6bad470d4272189b9def240049c8f1f77b6525df082bfe77f9da46ac4fd96aa2f753b7496ffb9e56c1ad919a6b6896a68196b64 -EBUILD redis-py-4.1.2.ebuild 1917 BLAKE2B 8f069e093b2e2bbb4fac962e4e98fafe8458f9237fd16143236678bb07a11f03303bfa326b0ebdf1eb69efeef14569c2f8edf6f1b406f2243dc847e9296a56e4 SHA512 b3aee1256e96dede9f44bf4dd568df2fa6fe8b8df94581a91ed4b5d32efce9d01da7cc001583505d54e52f1ae8920f7a9d114803a5e81b6d067974a8dbe9c626 +DIST redis-py-4.1.4.tar.gz 2352106 BLAKE2B a7f40d381e3e1d295d2ce88f0adb897704d0065ee7d5bb00108c2c8c67ef649ea63d4ca06dbbe2b21b2f92d70d96f8e2d32a7992ecf702bb4c73589f30c1bae8 SHA512 6dd1bc7622529382901b2fe6e63a5f9d6a4b89175b486c879a63cc8f0e708737431dfe5b834124f0d33f34540ac54813a0e6953bbed3a9dbd226597b4b1cb3ae +EBUILD redis-py-4.1.4.ebuild 1918 BLAKE2B c1646652b418e9c7e7e19c086f387f517f0e2f1367e3d93b83c6bb63eae38f376f1cc82d2ad49946f2b51f580e3170487416be43a796bf6f68b1ca2b138cb3af SHA512 9733635fffe6f1334cd371dafa897be7820fdc2e4bf9ffc01ebb563586c27bd84f3f51f15ad49c2790ea83cf6598362aed272cffbb6b50596e0912f3d64578a2 MISC metadata.xml 506 BLAKE2B 0e5747e826132dd365bdf6d3a63f0936ed476bc69c4c4d55126e692039046f51f69b193ead0baa181090b11f69ab2a49220d8f906f9fe3fc18331b76ff9e0b0f SHA512 725d650bfe345b132588930a18ade44182ec07f6697d2fd8806dc208ab1556939926e8899fc6d43691101d971f9c1e011fb8a5675fdde4698dbf4c230db15c75 diff --git a/dev-python/redis-py/redis-py-4.1.0.ebuild b/dev-python/redis-py/redis-py-4.1.0.ebuild deleted file mode 100644 index 41ddbc63a286..000000000000 --- a/dev-python/redis-py/redis-py-4.1.0.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} pypy3 ) -inherit distutils-r1 - -MY_PN="redis" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Python client for Redis key-value store" -HOMEPAGE="https://github.com/redis/redis-py" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 sparc x86" - -RDEPEND=" - dev-python/deprecated[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - dev-db/redis - dev-python/pytest-timeout[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - distutils_install_for_testing - - local EPYTEST_DESELECT=( - # Flaky test - tests/test_pubsub.py::TestPubSubDeadlock::test_pubsub_deadlock - - # Needs a second Redis running - tests/test_commands.py::TestRedisCommands::test_sync - tests/test_commands.py::TestRedisCommands::test_psync - ) - - local EPYTEST_IGNORE=( - # SSL tests need Docker/stunnel: - # https://github.com/redis/redis-py/commit/18c6809b761bc6755349e1d7e08e74e857ec2c65 - tests/test_ssl.py - - # Needs multiple Redises running - tests/test_cluster.py - ) - - epytest -k "not redismod and not ssl" -} - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - local redis_test_config=" - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 - " - - # Spawn Redis itself for testing purposes - # NOTE: On sam@'s machine, spawning Redis can hang in the sandbox. - # I'm not restricting tests yet because this doesn't happen for anyone else AFAICT. - einfo "Spawning Redis" - einfo "NOTE: Port ${redis_port} must be free" - "${EPREFIX}"/usr/sbin/redis-server - <<< "${redis_test_config}" || die - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} diff --git a/dev-python/redis-py/redis-py-4.1.1.ebuild b/dev-python/redis-py/redis-py-4.1.1.ebuild deleted file mode 100644 index f0d7b85ac0f9..000000000000 --- a/dev-python/redis-py/redis-py-4.1.1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} pypy3 ) -inherit distutils-r1 - -MY_PN="redis" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Python client for Redis key-value store" -HOMEPAGE="https://github.com/redis/redis-py" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" - -RDEPEND=" - dev-python/deprecated[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - dev-db/redis - dev-python/pytest-timeout[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_test() { - distutils_install_for_testing - - local EPYTEST_DESELECT=( - # Flaky test - tests/test_pubsub.py::TestPubSubDeadlock::test_pubsub_deadlock - - # Needs a second Redis running - tests/test_commands.py::TestRedisCommands::test_sync - tests/test_commands.py::TestRedisCommands::test_psync - ) - - local EPYTEST_IGNORE=( - # SSL tests need Docker/stunnel: - # https://github.com/redis/redis-py/commit/18c6809b761bc6755349e1d7e08e74e857ec2c65 - tests/test_ssl.py - - # Needs multiple Redises running - tests/test_cluster.py - ) - - epytest -k "not redismod and not ssl" -} - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - local redis_test_config=" - daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 - " - - # Spawn Redis itself for testing purposes - # NOTE: On sam@'s machine, spawning Redis can hang in the sandbox. - # I'm not restricting tests yet because this doesn't happen for anyone else AFAICT. - einfo "Spawning Redis" - einfo "NOTE: Port ${redis_port} must be free" - "${EPREFIX}"/usr/sbin/redis-server - <<< "${redis_test_config}" || die - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} diff --git a/dev-python/redis-py/redis-py-4.1.2.ebuild b/dev-python/redis-py/redis-py-4.1.2.ebuild deleted file mode 100644 index 9f99d80d3b5d..000000000000 --- a/dev-python/redis-py/redis-py-4.1.2.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} pypy3 ) -inherit distutils-r1 - -MY_PN="redis" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Python client for Redis key-value store" -HOMEPAGE="https://github.com/redis/redis-py" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" - -RDEPEND=" - dev-python/deprecated[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( - dev-db/redis - 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 - - # Needs a second Redis running - tests/test_commands.py::TestRedisCommands::test_sync - tests/test_commands.py::TestRedisCommands::test_psync - ) - - local EPYTEST_IGNORE=( - # SSL tests need Docker/stunnel: - # https://github.com/redis/redis-py/commit/18c6809b761bc6755349e1d7e08e74e857ec2c65 - tests/test_ssl.py - - # Needs multiple Redises running - tests/test_cluster.py - ) - - epytest -k "not redismod and not ssl" -} - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - - # Spawn Redis itself for testing purposes - # NOTE: On sam@'s machine, spawning Redis can hang in the sandbox. - # I'm not restricting tests yet because this doesn't happen for anyone else AFAICT. - einfo "Spawning Redis" - einfo "NOTE: Port ${redis_port} must be free" - # "${EPREFIX}"/usr/sbin/redis-server - <<< "${redis_test_config}" || die - "${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 - EOF - - # Run the tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} diff --git a/dev-python/redis-py/redis-py-4.1.4.ebuild b/dev-python/redis-py/redis-py-4.1.4.ebuild new file mode 100644 index 000000000000..8799af06d05c --- /dev/null +++ b/dev-python/redis-py/redis-py-4.1.4.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} pypy3 ) + +inherit distutils-r1 + +MY_PN="redis" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Python client for Redis key-value store" +HOMEPAGE="https://github.com/redis/redis-py" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86" + +RDEPEND=" + dev-python/deprecated[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-db/redis + 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 + + # Needs a second Redis running + tests/test_commands.py::TestRedisCommands::test_sync + tests/test_commands.py::TestRedisCommands::test_psync + ) + + local EPYTEST_IGNORE=( + # SSL tests need Docker/stunnel: + # https://github.com/redis/redis-py/commit/18c6809b761bc6755349e1d7e08e74e857ec2c65 + tests/test_ssl.py + + # Needs multiple Redises running + tests/test_cluster.py + ) + + epytest -k "not redismod and not ssl" +} + +src_test() { + local redis_pid="${T}"/redis.pid + local redis_port=6379 + + # Spawn Redis itself for testing purposes + # NOTE: On sam@'s machine, spawning Redis can hang in the sandbox. + # I'm not restricting tests yet because this doesn't happen for anyone else AFAICT. + einfo "Spawning Redis" + einfo "NOTE: Port ${redis_port} must be free" + # "${EPREFIX}"/usr/sbin/redis-server - <<< "${redis_test_config}" || die + "${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 + EOF + + # Run the tests + distutils-r1_src_test + + # Clean up afterwards + kill "$(<"${redis_pid}")" || die +} -- cgit v1.2.3