[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2024-05-18 Thread Michał Górny
commit: 7584a76c0ceecb16dc4ea4655207027ad8ae616a
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 18 08:43:29 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 18 08:59:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7584a76c

dev-python/redis: Enable py3.13

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis/redis-5.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis/redis-5.0.4.ebuild 
b/dev-python/redis/redis-5.0.4.ebuild
index 023d2a7d8947..615ccc4a50d9 100644
--- a/dev-python/redis/redis-5.0.4.ebuild
+++ b/dev-python/redis/redis-5.0.4.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} pypy3 )
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2024-05-08 Thread Michał Górny
commit: 8f64c2fa23ab863b5c259bb700beea95cff5bce5
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May  8 08:10:12 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May  8 08:15:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f64c2fa

dev-python/redis: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis/Manifest   |  1 -
 dev-python/redis/redis-5.0.3.ebuild | 97 -
 2 files changed, 98 deletions(-)

diff --git a/dev-python/redis/Manifest b/dev-python/redis/Manifest
index 8fee9b8f7b0f..f9f8637baddb 100644
--- a/dev-python/redis/Manifest
+++ b/dev-python/redis/Manifest
@@ -1,2 +1 @@
-DIST redis-py-5.0.3.gh.tar.gz 4774007 BLAKE2B 
f1b53319f76fd15af28941d643a333e7556f4701b46d218872a17200a867ba71c5fe72a092e00ac68ca811f41409a1e2eef05a235d2fcb6ba455cef225cd47c5
 SHA512 
be7158062e905ff3f61fc2b311b1288e53f494de1734dd5a58a34250754de635b9bf125900621b7b6ad8c67d8020b88ca3ae07af2626459acaf77db5f228222c
 DIST redis-py-5.0.4.gh.tar.gz 4774815 BLAKE2B 
a6f3b678f217a7938d1a2ecbe24058994e33a7985faf0d4b6664aa08d5095c71dc9cd1d98ee327d6ff31589795eed29ece4cdd3ce914a782e60d3ac3f44ab962
 SHA512 
3c4893e348632d52215096358e5b4a86b3cf5e0153e4d218c46fe77fbb61df116fc98f477f4e8ba94fe7e9bb6f964f478b1187c8b7983a71fc206f14b643965c

diff --git a/dev-python/redis/redis-5.0.3.ebuild 
b/dev-python/redis/redis-5.0.3.ebuild
deleted file mode 100644
index 023d2a7d8947..
--- a/dev-python/redis/redis-5.0.3.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} 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.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
-   # require extra redis modules that apparently aren't packaged
-   # on Gentoo
-   tests/{,test_asyncio/}test_bloom.py
-   tests/{,test_asyncio/}test_graph.py
-   tests/{,test_asyncio/}test_json.py
-   tests/{,test_asyncio/}test_timeseries.py
-   # apparently available only in "Redis Stack 7.2 RC3 or later"
-   
tests/test_commands.py::TestRedisCommands::test_tfunction_load_delete
-   tests/test_commands.py::TestRedisCommands::test_tfunction_list
-   tests/test_commands.py::TestRedisCommands::test_tfcall
-   # TODO
-   tests/test_commands.py::TestRedisCommands::test_zrank_withscore
-   
tests/test_commands.py::TestRedisCommands::test_zrevrank_withscore
-   tests/test_commands.py::TestRedisCommands::test_xinfo_consumers
-   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrank_withscore
-   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrevrank_withscore
-   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_xinfo_consumers
-   
tests/test_asyncio/test_pubsub.py::TestPubSubAutoReconnect::test_reconnect_socket_error[pool-hiredis-listen]
-   )
-
-   # 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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2024-04-23 Thread Michał Górny
commit: ac25e3e5c9655764a6d80632b5c34df4c8952f17
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Apr 24 01:09:38 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Apr 24 01:09:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac25e3e5

dev-python/redis: Bump to 5.0.4

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis/Manifest   |  1 +
 dev-python/redis/redis-5.0.4.ebuild | 97 +
 2 files changed, 98 insertions(+)

diff --git a/dev-python/redis/Manifest b/dev-python/redis/Manifest
index b8f7d7635546..8fee9b8f7b0f 100644
--- a/dev-python/redis/Manifest
+++ b/dev-python/redis/Manifest
@@ -1 +1,2 @@
 DIST redis-py-5.0.3.gh.tar.gz 4774007 BLAKE2B 
f1b53319f76fd15af28941d643a333e7556f4701b46d218872a17200a867ba71c5fe72a092e00ac68ca811f41409a1e2eef05a235d2fcb6ba455cef225cd47c5
 SHA512 
be7158062e905ff3f61fc2b311b1288e53f494de1734dd5a58a34250754de635b9bf125900621b7b6ad8c67d8020b88ca3ae07af2626459acaf77db5f228222c
+DIST redis-py-5.0.4.gh.tar.gz 4774815 BLAKE2B 
a6f3b678f217a7938d1a2ecbe24058994e33a7985faf0d4b6664aa08d5095c71dc9cd1d98ee327d6ff31589795eed29ece4cdd3ce914a782e60d3ac3f44ab962
 SHA512 
3c4893e348632d52215096358e5b4a86b3cf5e0153e4d218c46fe77fbb61df116fc98f477f4e8ba94fe7e9bb6f964f478b1187c8b7983a71fc206f14b643965c

diff --git a/dev-python/redis/redis-5.0.4.ebuild 
b/dev-python/redis/redis-5.0.4.ebuild
new file mode 100644
index ..c3596deb755c
--- /dev/null
+++ b/dev-python/redis/redis-5.0.4.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} 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.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
+   # require extra redis modules that apparently aren't packaged
+   # on Gentoo
+   tests/{,test_asyncio/}test_bloom.py
+   tests/{,test_asyncio/}test_graph.py
+   tests/{,test_asyncio/}test_json.py
+   tests/{,test_asyncio/}test_timeseries.py
+   # apparently available only in "Redis Stack 7.2 RC3 or later"
+   
tests/test_commands.py::TestRedisCommands::test_tfunction_load_delete
+   tests/test_commands.py::TestRedisCommands::test_tfunction_list
+   tests/test_commands.py::TestRedisCommands::test_tfcall
+   # TODO
+   tests/test_commands.py::TestRedisCommands::test_zrank_withscore
+   
tests/test_commands.py::TestRedisCommands::test_zrevrank_withscore
+   tests/test_commands.py::TestRedisCommands::test_xinfo_consumers
+   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrank_withscore
+   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrevrank_withscore
+   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_xinfo_consumers
+   
tests/test_asyncio/test_pubsub.py::TestPubSubAutoReconnect::test_reconnect_socket_error[pool-hiredis-listen]
+   )
+
+   # 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2024-03-30 Thread Michał Górny
commit: d6a7db6f52b27128452ed0bc7a062fd087dfbd1c
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 30 14:09:47 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 30 14:09:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6a7db6f

dev-python/redis: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis/Manifest   |  1 -
 dev-python/redis/redis-5.0.2.ebuild | 95 -
 2 files changed, 96 deletions(-)

diff --git a/dev-python/redis/Manifest b/dev-python/redis/Manifest
index abed6c153164..b8f7d7635546 100644
--- a/dev-python/redis/Manifest
+++ b/dev-python/redis/Manifest
@@ -1,2 +1 @@
-DIST redis-py-5.0.2.gh.tar.gz 4774000 BLAKE2B 
60ca8e11c2896b2f36d09fa494afc3ea039a79eb46a4503d6c5561f16fd9e2779aecb314e79c87e083212b5a619c555615a037f83572bc0a8fe54b8d04e6530b
 SHA512 
1f75f2959737fc4d9e83c1e88cebbaad8801ac1a6113a1275b6461c657136f6f561d8ac8c5a62ba3f1d7f5463c416aa6351f8150b983505e7b0a93e3e8b4b354
 DIST redis-py-5.0.3.gh.tar.gz 4774007 BLAKE2B 
f1b53319f76fd15af28941d643a333e7556f4701b46d218872a17200a867ba71c5fe72a092e00ac68ca811f41409a1e2eef05a235d2fcb6ba455cef225cd47c5
 SHA512 
be7158062e905ff3f61fc2b311b1288e53f494de1734dd5a58a34250754de635b9bf125900621b7b6ad8c67d8020b88ca3ae07af2626459acaf77db5f228222c

diff --git a/dev-python/redis/redis-5.0.2.ebuild 
b/dev-python/redis/redis-5.0.2.ebuild
deleted file mode 100644
index c2e9edec6cdd..
--- a/dev-python/redis/redis-5.0.2.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} 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
-   # require extra redis modules that apparently aren't packaged
-   # on Gentoo
-   tests/{,test_asyncio/}test_bloom.py
-   tests/{,test_asyncio/}test_graph.py
-   tests/{,test_asyncio/}test_json.py
-   tests/{,test_asyncio/}test_timeseries.py
-   # apparently available only in "Redis Stack 7.2 RC3 or later"
-   
tests/test_commands.py::TestRedisCommands::test_tfunction_load_delete
-   tests/test_commands.py::TestRedisCommands::test_tfunction_list
-   tests/test_commands.py::TestRedisCommands::test_tfcall
-   # TODO
-   tests/test_commands.py::TestRedisCommands::test_zrank_withscore
-   
tests/test_commands.py::TestRedisCommands::test_zrevrank_withscore
-   tests/test_commands.py::TestRedisCommands::test_xinfo_consumers
-   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrank_withscore
-   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrevrank_withscore
-   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_xinfo_consumers
-   
tests/test_asyncio/test_pubsub.py::TestPubSubAutoReconnect::test_reconnect_socket_error[pool-hiredis-listen]
-   )
-
-   # 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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2024-03-30 Thread Michał Górny
commit: 891be49fd199337de3dfab83b4a2989fcdad10ce
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 30 13:58:58 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 30 13:58:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=891be49f

dev-python/redis: Stabilize 5.0.3 ALLARCHES, #928227

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis/redis-5.0.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis/redis-5.0.3.ebuild 
b/dev-python/redis/redis-5.0.3.ebuild
index c3596deb755c..023d2a7d8947 100644
--- a/dev-python/redis/redis-5.0.3.ebuild
+++ b/dev-python/redis/redis-5.0.3.ebuild
@@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86"
 
 RDEPEND="
$(python_gen_cond_dep '



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2024-03-16 Thread Michał Górny
commit: 7d5308a021663a0a349283d490b7153dfbc2d9a7
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 16 10:25:36 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 16 10:25:36 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d5308a0

dev-python/redis: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis/Manifest   |   1 -
 dev-python/redis/redis-5.0.1.ebuild | 105 
 2 files changed, 106 deletions(-)

diff --git a/dev-python/redis/Manifest b/dev-python/redis/Manifest
index 7372ff359d6c..abed6c153164 100644
--- a/dev-python/redis/Manifest
+++ b/dev-python/redis/Manifest
@@ -1,3 +1,2 @@
-DIST redis-py-5.0.1.gh.tar.gz 4769633 BLAKE2B 
3b572ef41abfdb0cf0ba957c93a23aacbe931e50ebe11e50a62dffe6aaaf57926224f7a497727e1e233b443c6be053f786dadac64f16a5170748e6afd9604d01
 SHA512 
05c32d6961326ff39312f5513136e72be3a42819b0c4bf646f3bac14e66a8a87a191697a89c2cbc22a83398896e25adc5fbd34f12e67719f0a0af927bf423130
 DIST redis-py-5.0.2.gh.tar.gz 4774000 BLAKE2B 
60ca8e11c2896b2f36d09fa494afc3ea039a79eb46a4503d6c5561f16fd9e2779aecb314e79c87e083212b5a619c555615a037f83572bc0a8fe54b8d04e6530b
 SHA512 
1f75f2959737fc4d9e83c1e88cebbaad8801ac1a6113a1275b6461c657136f6f561d8ac8c5a62ba3f1d7f5463c416aa6351f8150b983505e7b0a93e3e8b4b354
 DIST redis-py-5.0.3.gh.tar.gz 4774007 BLAKE2B 
f1b53319f76fd15af28941d643a333e7556f4701b46d218872a17200a867ba71c5fe72a092e00ac68ca811f41409a1e2eef05a235d2fcb6ba455cef225cd47c5
 SHA512 
be7158062e905ff3f61fc2b311b1288e53f494de1734dd5a58a34250754de635b9bf125900621b7b6ad8c67d8020b88ca3ae07af2626459acaf77db5f228222c

diff --git a/dev-python/redis/redis-5.0.1.ebuild 
b/dev-python/redis/redis-5.0.1.ebuild
deleted file mode 100644
index 773b415b4d2f..
--- a/dev-python/redis/redis-5.0.1.ebuild
+++ /dev/null
@@ -1,105 +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_{10..12} 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
-   # require extra redis modules that apparently aren't packaged
-   # on Gentoo
-   tests/test_bloom.py
-   tests/test_graph.py
-   tests/test_json.py
-   tests/test_timeseries.py
-   # apparently available only in "Redis Stack 7.2 RC3 or later"
-   
tests/test_commands.py::TestRedisCommands::test_tfunction_load_delete
-   tests/test_commands.py::TestRedisCommands::test_tfunction_list
-   tests/test_commands.py::TestRedisCommands::test_tfcall
-   # TODO
-   tests/test_commands.py::TestRedisCommands::test_zrank_withscore
-   
tests/test_commands.py::TestRedisCommands::test_zrevrank_withscore
-   tests/test_commands.py::TestRedisCommands::test_xinfo_consumers
-   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrank_withscore
-   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrevrank_withscore
-   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_xinfo_consumers
-   )
-
-   case ${EPYTHON} in
-   python3.12)
-   EPYTEST_DESELECT+=(
-   tests/test_asyncio/test_connect.py
-   tests/test_asyncio/test_cwe_404.py
-   )
-   ;;
-   esac
-
-   # 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} 

[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2024-03-16 Thread Arthur Zamarin
commit: 2abce58933bd6a2b955cdcfdc965139daa3ca56a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar 16 10:23:00 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar 16 10:23:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2abce589

dev-python/redis: Stabilize 5.0.2 ALLARCHES, #927127

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/redis/redis-5.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis/redis-5.0.2.ebuild 
b/dev-python/redis/redis-5.0.2.ebuild
index ca46db111fb4..c2e9edec6cdd 100644
--- a/dev-python/redis/redis-5.0.2.ebuild
+++ b/dev-python/redis/redis-5.0.2.ebuild
@@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86"
 
 RDEPEND="
>=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2024-03-10 Thread Michał Górny
commit: 1a1d9c7ae49004d0f3d154b39d5fb40f284492a3
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Mar 11 03:14:45 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Mar 11 03:53:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a1d9c7a

dev-python/redis: Bump to 5.0.3

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis/Manifest   |  1 +
 dev-python/redis/redis-5.0.3.ebuild | 97 +
 2 files changed, 98 insertions(+)

diff --git a/dev-python/redis/Manifest b/dev-python/redis/Manifest
index 2f6cb3801837..7372ff359d6c 100644
--- a/dev-python/redis/Manifest
+++ b/dev-python/redis/Manifest
@@ -1,2 +1,3 @@
 DIST redis-py-5.0.1.gh.tar.gz 4769633 BLAKE2B 
3b572ef41abfdb0cf0ba957c93a23aacbe931e50ebe11e50a62dffe6aaaf57926224f7a497727e1e233b443c6be053f786dadac64f16a5170748e6afd9604d01
 SHA512 
05c32d6961326ff39312f5513136e72be3a42819b0c4bf646f3bac14e66a8a87a191697a89c2cbc22a83398896e25adc5fbd34f12e67719f0a0af927bf423130
 DIST redis-py-5.0.2.gh.tar.gz 4774000 BLAKE2B 
60ca8e11c2896b2f36d09fa494afc3ea039a79eb46a4503d6c5561f16fd9e2779aecb314e79c87e083212b5a619c555615a037f83572bc0a8fe54b8d04e6530b
 SHA512 
1f75f2959737fc4d9e83c1e88cebbaad8801ac1a6113a1275b6461c657136f6f561d8ac8c5a62ba3f1d7f5463c416aa6351f8150b983505e7b0a93e3e8b4b354
+DIST redis-py-5.0.3.gh.tar.gz 4774007 BLAKE2B 
f1b53319f76fd15af28941d643a333e7556f4701b46d218872a17200a867ba71c5fe72a092e00ac68ca811f41409a1e2eef05a235d2fcb6ba455cef225cd47c5
 SHA512 
be7158062e905ff3f61fc2b311b1288e53f494de1734dd5a58a34250754de635b9bf125900621b7b6ad8c67d8020b88ca3ae07af2626459acaf77db5f228222c

diff --git a/dev-python/redis/redis-5.0.3.ebuild 
b/dev-python/redis/redis-5.0.3.ebuild
new file mode 100644
index ..c3596deb755c
--- /dev/null
+++ b/dev-python/redis/redis-5.0.3.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} 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.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
+   # require extra redis modules that apparently aren't packaged
+   # on Gentoo
+   tests/{,test_asyncio/}test_bloom.py
+   tests/{,test_asyncio/}test_graph.py
+   tests/{,test_asyncio/}test_json.py
+   tests/{,test_asyncio/}test_timeseries.py
+   # apparently available only in "Redis Stack 7.2 RC3 or later"
+   
tests/test_commands.py::TestRedisCommands::test_tfunction_load_delete
+   tests/test_commands.py::TestRedisCommands::test_tfunction_list
+   tests/test_commands.py::TestRedisCommands::test_tfcall
+   # TODO
+   tests/test_commands.py::TestRedisCommands::test_zrank_withscore
+   
tests/test_commands.py::TestRedisCommands::test_zrevrank_withscore
+   tests/test_commands.py::TestRedisCommands::test_xinfo_consumers
+   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrank_withscore
+   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrevrank_withscore
+   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_xinfo_consumers
+   
tests/test_asyncio/test_pubsub.py::TestPubSubAutoReconnect::test_reconnect_socket_error[pool-hiredis-listen]
+   )
+
+   # 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"
+  

[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2024-02-29 Thread Michał Górny
commit: 6fad03416d1fbcf3efed204abb1be969ddc8642d
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Feb 29 17:15:37 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Feb 29 17:29:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fad0341

dev-python/redis: Bump to 5.0.2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis/Manifest   |  1 +
 dev-python/redis/redis-5.0.2.ebuild | 95 +
 2 files changed, 96 insertions(+)

diff --git a/dev-python/redis/Manifest b/dev-python/redis/Manifest
index e0a324020663..2f6cb3801837 100644
--- a/dev-python/redis/Manifest
+++ b/dev-python/redis/Manifest
@@ -1 +1,2 @@
 DIST redis-py-5.0.1.gh.tar.gz 4769633 BLAKE2B 
3b572ef41abfdb0cf0ba957c93a23aacbe931e50ebe11e50a62dffe6aaaf57926224f7a497727e1e233b443c6be053f786dadac64f16a5170748e6afd9604d01
 SHA512 
05c32d6961326ff39312f5513136e72be3a42819b0c4bf646f3bac14e66a8a87a191697a89c2cbc22a83398896e25adc5fbd34f12e67719f0a0af927bf423130
+DIST redis-py-5.0.2.gh.tar.gz 4774000 BLAKE2B 
60ca8e11c2896b2f36d09fa494afc3ea039a79eb46a4503d6c5561f16fd9e2779aecb314e79c87e083212b5a619c555615a037f83572bc0a8fe54b8d04e6530b
 SHA512 
1f75f2959737fc4d9e83c1e88cebbaad8801ac1a6113a1275b6461c657136f6f561d8ac8c5a62ba3f1d7f5463c416aa6351f8150b983505e7b0a93e3e8b4b354

diff --git a/dev-python/redis/redis-5.0.2.ebuild 
b/dev-python/redis/redis-5.0.2.ebuild
new file mode 100644
index ..ca46db111fb4
--- /dev/null
+++ b/dev-python/redis/redis-5.0.2.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} 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
+   # require extra redis modules that apparently aren't packaged
+   # on Gentoo
+   tests/{,test_asyncio/}test_bloom.py
+   tests/{,test_asyncio/}test_graph.py
+   tests/{,test_asyncio/}test_json.py
+   tests/{,test_asyncio/}test_timeseries.py
+   # apparently available only in "Redis Stack 7.2 RC3 or later"
+   
tests/test_commands.py::TestRedisCommands::test_tfunction_load_delete
+   tests/test_commands.py::TestRedisCommands::test_tfunction_list
+   tests/test_commands.py::TestRedisCommands::test_tfcall
+   # TODO
+   tests/test_commands.py::TestRedisCommands::test_zrank_withscore
+   
tests/test_commands.py::TestRedisCommands::test_zrevrank_withscore
+   tests/test_commands.py::TestRedisCommands::test_xinfo_consumers
+   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrank_withscore
+   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrevrank_withscore
+   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_xinfo_consumers
+   
tests/test_asyncio/test_pubsub.py::TestPubSubAutoReconnect::test_reconnect_socket_error[pool-hiredis-listen]
+   )
+
+   # 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2023-10-28 Thread Michał Górny
commit: 2573d9afb8ae65ebe32c959faafc06f148e65222
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Oct 28 15:17:23 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct 28 15:23:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2573d9af

dev-python/redis: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis/Manifest   |   1 -
 dev-python/redis/redis-5.0.0.ebuild | 105 
 2 files changed, 106 deletions(-)

diff --git a/dev-python/redis/Manifest b/dev-python/redis/Manifest
index 14611da52d5b..e0a324020663 100644
--- a/dev-python/redis/Manifest
+++ b/dev-python/redis/Manifest
@@ -1,2 +1 @@
-DIST redis-py-5.0.0.gh.tar.gz 4767898 BLAKE2B 
0dc1fcafe7ad82c00bf634e19b5afb7201f39dfd26dfcce398fbc40cff79fe03d3e2ecc2acccebf1405700fb72fc5894ce1b8438b55e6c10d52ec08124da50cb
 SHA512 
24133be64b73a58edd7b0361a8b168b67f0e783576aaf0007f4b4b8d6032a227d6ebc7319c89fc323fc72ef1063e4a899d9a8be9eaa833d347345a59a65fff31
 DIST redis-py-5.0.1.gh.tar.gz 4769633 BLAKE2B 
3b572ef41abfdb0cf0ba957c93a23aacbe931e50ebe11e50a62dffe6aaaf57926224f7a497727e1e233b443c6be053f786dadac64f16a5170748e6afd9604d01
 SHA512 
05c32d6961326ff39312f5513136e72be3a42819b0c4bf646f3bac14e66a8a87a191697a89c2cbc22a83398896e25adc5fbd34f12e67719f0a0af927bf423130

diff --git a/dev-python/redis/redis-5.0.0.ebuild 
b/dev-python/redis/redis-5.0.0.ebuild
deleted file mode 100644
index 773b415b4d2f..
--- a/dev-python/redis/redis-5.0.0.ebuild
+++ /dev/null
@@ -1,105 +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_{10..12} 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
-   # require extra redis modules that apparently aren't packaged
-   # on Gentoo
-   tests/test_bloom.py
-   tests/test_graph.py
-   tests/test_json.py
-   tests/test_timeseries.py
-   # apparently available only in "Redis Stack 7.2 RC3 or later"
-   
tests/test_commands.py::TestRedisCommands::test_tfunction_load_delete
-   tests/test_commands.py::TestRedisCommands::test_tfunction_list
-   tests/test_commands.py::TestRedisCommands::test_tfcall
-   # TODO
-   tests/test_commands.py::TestRedisCommands::test_zrank_withscore
-   
tests/test_commands.py::TestRedisCommands::test_zrevrank_withscore
-   tests/test_commands.py::TestRedisCommands::test_xinfo_consumers
-   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrank_withscore
-   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrevrank_withscore
-   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_xinfo_consumers
-   )
-
-   case ${EPYTHON} in
-   python3.12)
-   EPYTEST_DESELECT+=(
-   tests/test_asyncio/test_connect.py
-   tests/test_asyncio/test_cwe_404.py
-   )
-   ;;
-   esac
-
-   # 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
- 

[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2023-10-27 Thread Sam James
commit: 96d07f5421302e538a087b87fc2b096f7a0a7ab8
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 27 19:31:16 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 27 19:31:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96d07f54

dev-python/redis: Stabilize 5.0.1 ALLARCHES, #916365

Signed-off-by: Sam James  gentoo.org>

 dev-python/redis/redis-5.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis/redis-5.0.1.ebuild 
b/dev-python/redis/redis-5.0.1.ebuild
index 00bec2d400ad..773b415b4d2f 100644
--- a/dev-python/redis/redis-5.0.1.ebuild
+++ b/dev-python/redis/redis-5.0.1.ebuild
@@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86"
 
 RDEPEND="
$(python_gen_cond_dep '



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2023-10-19 Thread Sam James
commit: c91699e647e0626c0a662299e0f0a8e8876f785d
Author: Petr Vaněk  atlas  cz>
AuthorDate: Thu Oct 19 07:46:20 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 19 12:16:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c91699e6

dev-python/redis: destabilize 5.0.0 for ~sparc

Dropping the stable keyword for sparc architecture to prepare for the
subsequent destablization of dev-db/redis, which lacks security
stabilization for sparc for over a year.

Bug: https://bugs.gentoo.org/915548#c6
Signed-off-by: Petr Vaněk  atlas.cz>
Signed-off-by: Sam James  gentoo.org>

 dev-python/redis/redis-5.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis/redis-5.0.0.ebuild 
b/dev-python/redis/redis-5.0.0.ebuild
index 93562e3c2c3c..773b415b4d2f 100644
--- a/dev-python/redis/redis-5.0.0.ebuild
+++ b/dev-python/redis/redis-5.0.0.ebuild
@@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86"
 
 RDEPEND="
$(python_gen_cond_dep '



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2023-10-02 Thread Michał Górny
commit: fc66fc2c27389a495651bcdc12d6bd1ae0b1d3b8
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct  3 05:01:56 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct  3 05:11:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc66fc2c

dev-python/redis: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis/Manifest   |  1 -
 dev-python/redis/redis-4.5.5.ebuild | 85 -
 2 files changed, 86 deletions(-)

diff --git a/dev-python/redis/Manifest b/dev-python/redis/Manifest
index dffc8963eb5c..14611da52d5b 100644
--- a/dev-python/redis/Manifest
+++ b/dev-python/redis/Manifest
@@ -1,3 +1,2 @@
-DIST redis-py-4.5.5.gh.tar.gz 4748642 BLAKE2B 
6e924477be81af995190328b8747e2eac3d905fcff8cd97c6f89702e3888a4185918144cf11b9173b25dd4c2e62ce988e2f1f5b2c1261bb35e64031772a5a81a
 SHA512 
f1d8f1b009f30613776904cef42a090a51da2833d667d47f9650c9a35187d11911d5b23b20f2ba2279714758963830c873473028775f39419e4d996da54eee83
 DIST redis-py-5.0.0.gh.tar.gz 4767898 BLAKE2B 
0dc1fcafe7ad82c00bf634e19b5afb7201f39dfd26dfcce398fbc40cff79fe03d3e2ecc2acccebf1405700fb72fc5894ce1b8438b55e6c10d52ec08124da50cb
 SHA512 
24133be64b73a58edd7b0361a8b168b67f0e783576aaf0007f4b4b8d6032a227d6ebc7319c89fc323fc72ef1063e4a899d9a8be9eaa833d347345a59a65fff31
 DIST redis-py-5.0.1.gh.tar.gz 4769633 BLAKE2B 
3b572ef41abfdb0cf0ba957c93a23aacbe931e50ebe11e50a62dffe6aaaf57926224f7a497727e1e233b443c6be053f786dadac64f16a5170748e6afd9604d01
 SHA512 
05c32d6961326ff39312f5513136e72be3a42819b0c4bf646f3bac14e66a8a87a191697a89c2cbc22a83398896e25adc5fbd34f12e67719f0a0af927bf423130

diff --git a/dev-python/redis/redis-4.5.5.ebuild 
b/dev-python/redis/redis-4.5.5.ebuild
deleted file mode 100644
index 54cd0ebf54af..
--- a/dev-python/redis/redis-4.5.5.ebuild
+++ /dev/null
@@ -1,85 +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_{10..12} 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
-   # hangs on all targets
-   tests/test_asyncio/test_cwe_404.py::test_standalone
-   )
-
-   # 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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2023-10-02 Thread Sam James
commit: 3877952dbbc680dc40d0af4260362ef709d3c559
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct  3 01:54:30 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct  3 01:54:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3877952d

dev-python/redis: Stabilize 5.0.0 ALLARCHES, #914692

Signed-off-by: Sam James  gentoo.org>

 dev-python/redis/redis-5.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis/redis-5.0.0.ebuild 
b/dev-python/redis/redis-5.0.0.ebuild
index 00bec2d400ad..93562e3c2c3c 100644
--- a/dev-python/redis/redis-5.0.0.ebuild
+++ b/dev-python/redis/redis-5.0.0.ebuild
@@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86"
 
 RDEPEND="
$(python_gen_cond_dep '



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2023-09-26 Thread Michał Górny
commit: 1bf6f48fec5ee1f6028eeae4582dc1c5a9bf8383
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Sep 26 16:47:31 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Sep 26 16:47:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bf6f48f

dev-python/redis: Bump to 5.0.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis/Manifest   |   1 +
 dev-python/redis/redis-5.0.1.ebuild | 105 
 2 files changed, 106 insertions(+)

diff --git a/dev-python/redis/Manifest b/dev-python/redis/Manifest
index bff0dc8b1692..dffc8963eb5c 100644
--- a/dev-python/redis/Manifest
+++ b/dev-python/redis/Manifest
@@ -1,2 +1,3 @@
 DIST redis-py-4.5.5.gh.tar.gz 4748642 BLAKE2B 
6e924477be81af995190328b8747e2eac3d905fcff8cd97c6f89702e3888a4185918144cf11b9173b25dd4c2e62ce988e2f1f5b2c1261bb35e64031772a5a81a
 SHA512 
f1d8f1b009f30613776904cef42a090a51da2833d667d47f9650c9a35187d11911d5b23b20f2ba2279714758963830c873473028775f39419e4d996da54eee83
 DIST redis-py-5.0.0.gh.tar.gz 4767898 BLAKE2B 
0dc1fcafe7ad82c00bf634e19b5afb7201f39dfd26dfcce398fbc40cff79fe03d3e2ecc2acccebf1405700fb72fc5894ce1b8438b55e6c10d52ec08124da50cb
 SHA512 
24133be64b73a58edd7b0361a8b168b67f0e783576aaf0007f4b4b8d6032a227d6ebc7319c89fc323fc72ef1063e4a899d9a8be9eaa833d347345a59a65fff31
+DIST redis-py-5.0.1.gh.tar.gz 4769633 BLAKE2B 
3b572ef41abfdb0cf0ba957c93a23aacbe931e50ebe11e50a62dffe6aaaf57926224f7a497727e1e233b443c6be053f786dadac64f16a5170748e6afd9604d01
 SHA512 
05c32d6961326ff39312f5513136e72be3a42819b0c4bf646f3bac14e66a8a87a191697a89c2cbc22a83398896e25adc5fbd34f12e67719f0a0af927bf423130

diff --git a/dev-python/redis/redis-5.0.1.ebuild 
b/dev-python/redis/redis-5.0.1.ebuild
new file mode 100644
index ..00bec2d400ad
--- /dev/null
+++ b/dev-python/redis/redis-5.0.1.ebuild
@@ -0,0 +1,105 @@
+# 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_{10..12} 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
+   # require extra redis modules that apparently aren't packaged
+   # on Gentoo
+   tests/test_bloom.py
+   tests/test_graph.py
+   tests/test_json.py
+   tests/test_timeseries.py
+   # apparently available only in "Redis Stack 7.2 RC3 or later"
+   
tests/test_commands.py::TestRedisCommands::test_tfunction_load_delete
+   tests/test_commands.py::TestRedisCommands::test_tfunction_list
+   tests/test_commands.py::TestRedisCommands::test_tfcall
+   # TODO
+   tests/test_commands.py::TestRedisCommands::test_zrank_withscore
+   
tests/test_commands.py::TestRedisCommands::test_zrevrank_withscore
+   tests/test_commands.py::TestRedisCommands::test_xinfo_consumers
+   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrank_withscore
+   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrevrank_withscore
+   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_xinfo_consumers
+   )
+
+   case ${EPYTHON} in
+   python3.12)
+   EPYTEST_DESELECT+=(
+   tests/test_asyncio/test_connect.py
+   tests/test_asyncio/test_cwe_404.py
+   )
+   ;;
+   esac
+
+   # 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 

[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2023-08-21 Thread Michał Górny
commit: c20450c4780b755d1b2ac0786e229f33f67a6467
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Aug 21 08:14:29 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Aug 21 08:59:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c20450c4

dev-python/redis: Bump to 5.0.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis/Manifest   |   1 +
 dev-python/redis/redis-5.0.0.ebuild | 105 
 2 files changed, 106 insertions(+)

diff --git a/dev-python/redis/Manifest b/dev-python/redis/Manifest
index 429c732f86ce..bff0dc8b1692 100644
--- a/dev-python/redis/Manifest
+++ b/dev-python/redis/Manifest
@@ -1 +1,2 @@
 DIST redis-py-4.5.5.gh.tar.gz 4748642 BLAKE2B 
6e924477be81af995190328b8747e2eac3d905fcff8cd97c6f89702e3888a4185918144cf11b9173b25dd4c2e62ce988e2f1f5b2c1261bb35e64031772a5a81a
 SHA512 
f1d8f1b009f30613776904cef42a090a51da2833d667d47f9650c9a35187d11911d5b23b20f2ba2279714758963830c873473028775f39419e4d996da54eee83
+DIST redis-py-5.0.0.gh.tar.gz 4767898 BLAKE2B 
0dc1fcafe7ad82c00bf634e19b5afb7201f39dfd26dfcce398fbc40cff79fe03d3e2ecc2acccebf1405700fb72fc5894ce1b8438b55e6c10d52ec08124da50cb
 SHA512 
24133be64b73a58edd7b0361a8b168b67f0e783576aaf0007f4b4b8d6032a227d6ebc7319c89fc323fc72ef1063e4a899d9a8be9eaa833d347345a59a65fff31

diff --git a/dev-python/redis/redis-5.0.0.ebuild 
b/dev-python/redis/redis-5.0.0.ebuild
new file mode 100644
index ..00bec2d400ad
--- /dev/null
+++ b/dev-python/redis/redis-5.0.0.ebuild
@@ -0,0 +1,105 @@
+# 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_{10..12} 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
+   # require extra redis modules that apparently aren't packaged
+   # on Gentoo
+   tests/test_bloom.py
+   tests/test_graph.py
+   tests/test_json.py
+   tests/test_timeseries.py
+   # apparently available only in "Redis Stack 7.2 RC3 or later"
+   
tests/test_commands.py::TestRedisCommands::test_tfunction_load_delete
+   tests/test_commands.py::TestRedisCommands::test_tfunction_list
+   tests/test_commands.py::TestRedisCommands::test_tfcall
+   # TODO
+   tests/test_commands.py::TestRedisCommands::test_zrank_withscore
+   
tests/test_commands.py::TestRedisCommands::test_zrevrank_withscore
+   tests/test_commands.py::TestRedisCommands::test_xinfo_consumers
+   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrank_withscore
+   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_zrevrank_withscore
+   
tests/test_asyncio/test_commands.py::TestRedisCommands::test_xinfo_consumers
+   )
+
+   case ${EPYTHON} in
+   python3.12)
+   EPYTEST_DESELECT+=(
+   tests/test_asyncio/test_connect.py
+   tests/test_asyncio/test_cwe_404.py
+   )
+   ;;
+   esac
+
+   # 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

[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2023-06-09 Thread Michał Górny
commit: 6f52703b9c20b4370f8c01887e40b62aa6ff79ad
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 10 03:37:40 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 10 04:40:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f52703b

dev-python/redis: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis/Manifest   |  1 -
 dev-python/redis/redis-4.5.4.ebuild | 83 -
 2 files changed, 84 deletions(-)

diff --git a/dev-python/redis/Manifest b/dev-python/redis/Manifest
index 58933e0734b9..429c732f86ce 100644
--- a/dev-python/redis/Manifest
+++ b/dev-python/redis/Manifest
@@ -1,2 +1 @@
-DIST redis-py-4.5.4.gh.tar.gz 4739418 BLAKE2B 
a02a581dc12a09cedd0f5158bc261ffb0efcf0346d193ebcb060f50fa95dbaadb7322446c242ac68094bbfbd80c9879d8c9a9fc8362aa6a6e9be85d7e46d9aaa
 SHA512 
55c4530ab715c4bddb502ce58ae3c62db9c27d16ddbfa8f87c88e9425e0285d9fd570338428c30d0a3f1fe2d81868fd8385da0255d58c3dd9b9813f9454eeb30
 DIST redis-py-4.5.5.gh.tar.gz 4748642 BLAKE2B 
6e924477be81af995190328b8747e2eac3d905fcff8cd97c6f89702e3888a4185918144cf11b9173b25dd4c2e62ce988e2f1f5b2c1261bb35e64031772a5a81a
 SHA512 
f1d8f1b009f30613776904cef42a090a51da2833d667d47f9650c9a35187d11911d5b23b20f2ba2279714758963830c873473028775f39419e4d996da54eee83

diff --git a/dev-python/redis/redis-4.5.4.ebuild 
b/dev-python/redis/redis-4.5.4.ebuild
deleted file mode 100644
index 9a10767f1a4a..
--- a/dev-python/redis/redis-4.5.4.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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2023-06-09 Thread Arthur Zamarin
commit: ed67790911af306d633188c2b0c234b82a972d73
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 18:04:58 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 18:04:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed677909

dev-python/redis: Stabilize 4.5.5 ALLARCHES, #908201

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/redis/redis-4.5.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis/redis-4.5.5.ebuild 
b/dev-python/redis/redis-4.5.5.ebuild
index 721f1f890ad5..54cd0ebf54af 100644
--- a/dev-python/redis/redis-4.5.5.ebuild
+++ b/dev-python/redis/redis-4.5.5.ebuild
@@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86"
 
 RDEPEND="
$(python_gen_cond_dep '



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2023-05-28 Thread Arthur Zamarin
commit: 5846c6b27f4c006e8210f1833cb2314d8ef33af3
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun May 28 18:56:12 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun May 28 19:01:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5846c6b2

dev-python/redis: enable py3.12

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/redis/redis-4.5.5.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-python/redis/redis-4.5.5.ebuild 
b/dev-python/redis/redis-4.5.5.ebuild
index 37fbc3edbe6d..721f1f890ad5 100644
--- a/dev-python/redis/redis-4.5.5.ebuild
+++ b/dev-python/redis/redis-4.5.5.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
 
 inherit distutils-r1
 
@@ -47,6 +47,8 @@ python_test() {
tests/test_commands.py::TestRedisCommands::test_acl_list
# redis-7 different return
tests/test_commands.py::TestRedisCommands::test_xautoclaim
+   # hangs on all targets
+   tests/test_asyncio/test_cwe_404.py::test_standalone
)
 
# TODO: try to run more servers?



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2023-05-08 Thread Arthur Zamarin
commit: 7c721736ec775e070c175fb3e366b882b0acd799
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon May  8 19:14:27 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon May  8 19:31:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c721736

dev-python/redis: add 4.5.5

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/redis/Manifest   |  1 +
 dev-python/redis/redis-4.5.5.ebuild | 83 +
 2 files changed, 84 insertions(+)

diff --git a/dev-python/redis/Manifest b/dev-python/redis/Manifest
index 5d910d8a1623..58933e0734b9 100644
--- a/dev-python/redis/Manifest
+++ b/dev-python/redis/Manifest
@@ -1 +1,2 @@
 DIST redis-py-4.5.4.gh.tar.gz 4739418 BLAKE2B 
a02a581dc12a09cedd0f5158bc261ffb0efcf0346d193ebcb060f50fa95dbaadb7322446c242ac68094bbfbd80c9879d8c9a9fc8362aa6a6e9be85d7e46d9aaa
 SHA512 
55c4530ab715c4bddb502ce58ae3c62db9c27d16ddbfa8f87c88e9425e0285d9fd570338428c30d0a3f1fe2d81868fd8385da0255d58c3dd9b9813f9454eeb30
+DIST redis-py-4.5.5.gh.tar.gz 4748642 BLAKE2B 
6e924477be81af995190328b8747e2eac3d905fcff8cd97c6f89702e3888a4185918144cf11b9173b25dd4c2e62ce988e2f1f5b2c1261bb35e64031772a5a81a
 SHA512 
f1d8f1b009f30613776904cef42a090a51da2833d667d47f9650c9a35187d11911d5b23b20f2ba2279714758963830c873473028775f39419e4d996da54eee83

diff --git a/dev-python/redis/redis-4.5.5.ebuild 
b/dev-python/redis/redis-4.5.5.ebuild
new file mode 100644
index ..37fbc3edbe6d
--- /dev/null
+++ b/dev-python/redis/redis-4.5.5.ebuild
@@ -0,0 +1,83 @@
+# 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2023-04-22 Thread Michał Górny
commit: 6c6eb6d6715c4496614d631330199d2595ebd46a
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr 22 10:09:24 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr 22 10:09:24 2023 +
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..
--- 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..
--- 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

[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2023-04-22 Thread Arthur Zamarin
commit: d819d632dd40b3a43d6222bebcf56f6830e8f867
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr 22 09:24:27 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr 22 09:24:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d819d632

dev-python/redis: Stabilize 4.5.4 ALLARCHES, #904787

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/redis/redis-4.5.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis/redis-4.5.4.ebuild 
b/dev-python/redis/redis-4.5.4.ebuild
index 37fbc3edbe6d..9a10767f1a4a 100644
--- a/dev-python/redis/redis-4.5.4.ebuild
+++ b/dev-python/redis/redis-4.5.4.ebuild
@@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86"
 
 RDEPEND="
$(python_gen_cond_dep '



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2023-03-29 Thread Michał Górny
commit: b86db08a2b826f9ecebd131f3141d346d0b2abe8
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 30 02:13:46 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 30 02:57:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b86db08a

dev-python/redis: Bump to 4.5.4

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis/Manifest   |  1 +
 dev-python/redis/redis-4.5.4.ebuild | 83 +
 2 files changed, 84 insertions(+)

diff --git a/dev-python/redis/Manifest b/dev-python/redis/Manifest
index b3d110fc3dbe..79951c957926 100644
--- a/dev-python/redis/Manifest
+++ b/dev-python/redis/Manifest
@@ -1,3 +1,4 @@
 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.4.ebuild 
b/dev-python/redis/redis-4.5.4.ebuild
new file mode 100644
index ..37fbc3edbe6d
--- /dev/null
+++ b/dev-python/redis/redis-4.5.4.ebuild
@@ -0,0 +1,83 @@
+# 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2023-03-23 Thread Michał Górny
commit: 3f6fd444f5d316e2328a5bef3e63135dd5d4e4c4
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 23 15:38:44 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 23 16:36:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f6fd444

dev-python/redis: Bump to 4.5.3

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis/Manifest   |  1 +
 dev-python/redis/redis-4.5.3.ebuild | 83 +
 2 files changed, 84 insertions(+)

diff --git a/dev-python/redis/Manifest b/dev-python/redis/Manifest
index edad50224523..b3d110fc3dbe 100644
--- a/dev-python/redis/Manifest
+++ b/dev-python/redis/Manifest
@@ -1,2 +1,3 @@
 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

diff --git a/dev-python/redis/redis-4.5.3.ebuild 
b/dev-python/redis/redis-4.5.3.ebuild
new file mode 100644
index ..37fbc3edbe6d
--- /dev/null
+++ b/dev-python/redis/redis-4.5.3.ebuild
@@ -0,0 +1,83 @@
+# 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2023-03-21 Thread Michał Górny
commit: 2db0bd386949ba097bcf1d7c15b54020eefb9dbf
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Mar 21 19:45:05 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Mar 21 20:06:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2db0bd38

dev-python/redis: Bump to 4.5.2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis/Manifest   |  1 +
 dev-python/redis/redis-4.5.2.ebuild | 83 +
 2 files changed, 84 insertions(+)

diff --git a/dev-python/redis/Manifest b/dev-python/redis/Manifest
index f700d36a9508..edad50224523 100644
--- a/dev-python/redis/Manifest
+++ b/dev-python/redis/Manifest
@@ -1 +1,2 @@
 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

diff --git a/dev-python/redis/redis-4.5.2.ebuild 
b/dev-python/redis/redis-4.5.2.ebuild
new file mode 100644
index ..37fbc3edbe6d
--- /dev/null
+++ b/dev-python/redis/redis-4.5.2.ebuild
@@ -0,0 +1,83 @@
+# 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2023-03-11 Thread Michał Górny
commit: 46da0c41457651da5cfcc1e66a388b4aaba13c36
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 11 16:11:09 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 11 16:17:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46da0c41

dev-python/redis: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis/Manifest   |  4 --
 dev-python/redis/redis-4.4.0.ebuild | 81 -
 dev-python/redis/redis-4.4.1.ebuild | 81 -
 dev-python/redis/redis-4.4.2.ebuild | 81 -
 dev-python/redis/redis-4.5.0.ebuild | 81 -
 5 files changed, 328 deletions(-)

diff --git a/dev-python/redis/Manifest b/dev-python/redis/Manifest
index ea7c553df02a..f700d36a9508 100644
--- a/dev-python/redis/Manifest
+++ b/dev-python/redis/Manifest
@@ -1,5 +1 @@
-DIST redis-py-4.4.0.gh.tar.gz 4637656 BLAKE2B 
40b0909c27cefb399353cc2d1d82d7ad3d64e4b3e5ae001ffef9c198d0e65d906f5772a0ac33b599c7fb6ffc5dfad461bb4b9042c5c4fb23dfbfceb0a7facbc0
 SHA512 
8992f160de7817c48893f3a8588d5c0398dcfb91830a61b4218206adc88185acb102b072507d3064b4a7aade5c957267e5d0e6912510bb106eea834cf9250fab
-DIST redis-py-4.4.1.gh.tar.gz 4733306 BLAKE2B 
b04a5925f87d8c1dbb06b30382f739d6bc39456b6b49be34701afcc1fecfca4783e60a451ddccdaff31f28c38b626e19607a57ebd600f7e28c63a4b62894f397
 SHA512 
0cec4b518bb56acee6a24ca62e7fdce054b4be764fcfaa860257d8de9f306d9d0f15a662354d7414a4a552475e2b49d97d97de05059310eead068a6269bc3038
-DIST redis-py-4.4.2.gh.tar.gz 4734100 BLAKE2B 
8e23c9b81a19cbbead7d6dab682fc4efc75f0c29adb4df6b9bf17f6842b2823249036c67c133039a850504870a0f884275eb65f4e517f84211b51767d7a2ae15
 SHA512 
3303e87ccc9d4ea3afbb93bcc5e4dcc5bbb3a406878b07c5b8755f28f87cb7a0f9a0db989ec294c2cf42c4ec62f546b5d919a3cb3f11b4ba030e41d13ed2cfc8
-DIST redis-py-4.5.0.gh.tar.gz 4737555 BLAKE2B 
27631f43b0952c00105b4ad18b5aeadb133e3642f258b6342bbfb926dee016430f67ca6ae03c59408203e3fd86ea40f3059ecd1604259b4280b56e2c39b9b0eb
 SHA512 
c0c190cd56d2910c69e755f1fb921f05681f922cd937bc047c644eecef7f85f841aa9577a84c59549b91613ab8f2e9960a870d7f45ac1b6eafdfaa9879ed1599
 DIST redis-py-4.5.1.gh.tar.gz 4737828 BLAKE2B 
ce4f44c32e0c0bf050c868725e41b037dc9c8bc1915f83994db5196a44fc618acfb9670e61e640c4c756c9e66794a96f9d4d140c58fccc06b181dce040275377
 SHA512 
bbee0aee1568a95a591c9083a901c2f47dfb5c9cfa9186b4a47a6575691cd7634d2c461fad84c54fc6df53a83029d1facd19e7c59cafa4331254ef8f04967cb6

diff --git a/dev-python/redis/redis-4.4.0.ebuild 
b/dev-python/redis/redis-4.4.0.ebuild
deleted file mode 100644
index 320d50b908dc..
--- a/dev-python/redis/redis-4.4.0.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 

[gentoo-commits] repo/gentoo:master commit in: dev-python/redis/

2023-03-11 Thread Arthur Zamarin
commit: f844a6c3e62041aead04bbde611fd321cbd117b3
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar 11 08:06:21 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar 11 08:06:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f844a6c3

dev-python/redis: Stabilize 4.5.1 ALLARCHES, #900817

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/redis/redis-4.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis/redis-4.5.1.ebuild 
b/dev-python/redis/redis-4.5.1.ebuild
index d8eddff68492..320d50b908dc 100644
--- a/dev-python/redis/redis-4.5.1.ebuild
+++ b/dev-python/redis/redis-4.5.1.ebuild
@@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86"
 
 RDEPEND="
>=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2023-02-08 Thread Michał Górny
commit: 83ff15f9b31b3a382dd6d0ff6e7398609beae49f
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  8 18:13:47 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  8 18:13:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83ff15f9

dev-python/redis-py: Set MY_P to prepare for rename

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/redis-py-4.4.0.ebuild | 4 +++-
 dev-python/redis-py/redis-py-4.4.1.ebuild | 4 +++-
 dev-python/redis-py/redis-py-4.4.2.ebuild | 4 +++-
 dev-python/redis-py/redis-py-4.5.0.ebuild | 4 +++-
 dev-python/redis-py/redis-py-4.5.1.ebuild | 4 +++-
 5 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/dev-python/redis-py/redis-py-4.4.0.ebuild 
b/dev-python/redis-py/redis-py-4.4.0.ebuild
index 2cf773cca08d..320d50b908dc 100644
--- a/dev-python/redis-py/redis-py-4.4.0.ebuild
+++ b/dev-python/redis-py/redis-py-4.4.0.ebuild
@@ -8,6 +8,7 @@ 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/
@@ -15,8 +16,9 @@ HOMEPAGE="
 "
 SRC_URI="
https://github.com/redis/redis-py/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
+   -> ${MY_P}.gh.tar.gz
 "
+S=${WORKDIR}/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"

diff --git a/dev-python/redis-py/redis-py-4.4.1.ebuild 
b/dev-python/redis-py/redis-py-4.4.1.ebuild
index b3867b0adbd2..d8eddff68492 100644
--- a/dev-python/redis-py/redis-py-4.4.1.ebuild
+++ b/dev-python/redis-py/redis-py-4.4.1.ebuild
@@ -8,6 +8,7 @@ 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/
@@ -15,8 +16,9 @@ HOMEPAGE="
 "
 SRC_URI="
https://github.com/redis/redis-py/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
+   -> ${MY_P}.gh.tar.gz
 "
+S=${WORKDIR}/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"

diff --git a/dev-python/redis-py/redis-py-4.4.2.ebuild 
b/dev-python/redis-py/redis-py-4.4.2.ebuild
index b3867b0adbd2..d8eddff68492 100644
--- a/dev-python/redis-py/redis-py-4.4.2.ebuild
+++ b/dev-python/redis-py/redis-py-4.4.2.ebuild
@@ -8,6 +8,7 @@ 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/
@@ -15,8 +16,9 @@ HOMEPAGE="
 "
 SRC_URI="
https://github.com/redis/redis-py/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
+   -> ${MY_P}.gh.tar.gz
 "
+S=${WORKDIR}/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"

diff --git a/dev-python/redis-py/redis-py-4.5.0.ebuild 
b/dev-python/redis-py/redis-py-4.5.0.ebuild
index b3867b0adbd2..d8eddff68492 100644
--- a/dev-python/redis-py/redis-py-4.5.0.ebuild
+++ b/dev-python/redis-py/redis-py-4.5.0.ebuild
@@ -8,6 +8,7 @@ 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/
@@ -15,8 +16,9 @@ HOMEPAGE="
 "
 SRC_URI="
https://github.com/redis/redis-py/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
+   -> ${MY_P}.gh.tar.gz
 "
+S=${WORKDIR}/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"

diff --git a/dev-python/redis-py/redis-py-4.5.1.ebuild 
b/dev-python/redis-py/redis-py-4.5.1.ebuild
index b3867b0adbd2..d8eddff68492 100644
--- a/dev-python/redis-py/redis-py-4.5.1.ebuild
+++ b/dev-python/redis-py/redis-py-4.5.1.ebuild
@@ -8,6 +8,7 @@ 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/
@@ -15,8 +16,9 @@ HOMEPAGE="
 "
 SRC_URI="
https://github.com/redis/redis-py/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
+   -> ${MY_P}.gh.tar.gz
 "
+S=${WORKDIR}/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2023-02-08 Thread Michał Górny
commit: 8cd77217a3e7226fac57e05057edd1b2957f952d
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  8 16:20:01 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  8 17:36:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cd77217

dev-python/redis-py: Bump to 4.5.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/Manifest  |  1 +
 dev-python/redis-py/redis-py-4.5.1.ebuild | 79 +++
 2 files changed, 80 insertions(+)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index edc14738891f..ea7c553df02a 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -2,3 +2,4 @@ DIST redis-py-4.4.0.gh.tar.gz 4637656 BLAKE2B 
40b0909c27cefb399353cc2d1d82d7ad3d
 DIST redis-py-4.4.1.gh.tar.gz 4733306 BLAKE2B 
b04a5925f87d8c1dbb06b30382f739d6bc39456b6b49be34701afcc1fecfca4783e60a451ddccdaff31f28c38b626e19607a57ebd600f7e28c63a4b62894f397
 SHA512 
0cec4b518bb56acee6a24ca62e7fdce054b4be764fcfaa860257d8de9f306d9d0f15a662354d7414a4a552475e2b49d97d97de05059310eead068a6269bc3038
 DIST redis-py-4.4.2.gh.tar.gz 4734100 BLAKE2B 
8e23c9b81a19cbbead7d6dab682fc4efc75f0c29adb4df6b9bf17f6842b2823249036c67c133039a850504870a0f884275eb65f4e517f84211b51767d7a2ae15
 SHA512 
3303e87ccc9d4ea3afbb93bcc5e4dcc5bbb3a406878b07c5b8755f28f87cb7a0f9a0db989ec294c2cf42c4ec62f546b5d919a3cb3f11b4ba030e41d13ed2cfc8
 DIST redis-py-4.5.0.gh.tar.gz 4737555 BLAKE2B 
27631f43b0952c00105b4ad18b5aeadb133e3642f258b6342bbfb926dee016430f67ca6ae03c59408203e3fd86ea40f3059ecd1604259b4280b56e2c39b9b0eb
 SHA512 
c0c190cd56d2910c69e755f1fb921f05681f922cd937bc047c644eecef7f85f841aa9577a84c59549b91613ab8f2e9960a870d7f45ac1b6eafdfaa9879ed1599
+DIST redis-py-4.5.1.gh.tar.gz 4737828 BLAKE2B 
ce4f44c32e0c0bf050c868725e41b037dc9c8bc1915f83994db5196a44fc618acfb9670e61e640c4c756c9e66794a96f9d4d140c58fccc06b181dce040275377
 SHA512 
bbee0aee1568a95a591c9083a901c2f47dfb5c9cfa9186b4a47a6575691cd7634d2c461fad84c54fc6df53a83029d1facd19e7c59cafa4331254ef8f04967cb6

diff --git a/dev-python/redis-py/redis-py-4.5.1.ebuild 
b/dev-python/redis-py/redis-py-4.5.1.ebuild
new file mode 100644
index ..b3867b0adbd2
--- /dev/null
+++ b/dev-python/redis-py/redis-py-4.5.1.ebuild
@@ -0,0 +1,79 @@
+# 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
+
+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
+   -> ${P}.gh.tar.gz
+"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2023-02-07 Thread Michał Górny
commit: 54846711e94387d9d52df3b1b0691048eba95ed3
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  8 05:32:55 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  8 06:27:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54846711

dev-python/redis-py: Bump to 4.5.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/Manifest  |  1 +
 dev-python/redis-py/redis-py-4.5.0.ebuild | 79 +++
 2 files changed, 80 insertions(+)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index 0177b85b54b4..edc14738891f 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,3 +1,4 @@
 DIST redis-py-4.4.0.gh.tar.gz 4637656 BLAKE2B 
40b0909c27cefb399353cc2d1d82d7ad3d64e4b3e5ae001ffef9c198d0e65d906f5772a0ac33b599c7fb6ffc5dfad461bb4b9042c5c4fb23dfbfceb0a7facbc0
 SHA512 
8992f160de7817c48893f3a8588d5c0398dcfb91830a61b4218206adc88185acb102b072507d3064b4a7aade5c957267e5d0e6912510bb106eea834cf9250fab
 DIST redis-py-4.4.1.gh.tar.gz 4733306 BLAKE2B 
b04a5925f87d8c1dbb06b30382f739d6bc39456b6b49be34701afcc1fecfca4783e60a451ddccdaff31f28c38b626e19607a57ebd600f7e28c63a4b62894f397
 SHA512 
0cec4b518bb56acee6a24ca62e7fdce054b4be764fcfaa860257d8de9f306d9d0f15a662354d7414a4a552475e2b49d97d97de05059310eead068a6269bc3038
 DIST redis-py-4.4.2.gh.tar.gz 4734100 BLAKE2B 
8e23c9b81a19cbbead7d6dab682fc4efc75f0c29adb4df6b9bf17f6842b2823249036c67c133039a850504870a0f884275eb65f4e517f84211b51767d7a2ae15
 SHA512 
3303e87ccc9d4ea3afbb93bcc5e4dcc5bbb3a406878b07c5b8755f28f87cb7a0f9a0db989ec294c2cf42c4ec62f546b5d919a3cb3f11b4ba030e41d13ed2cfc8
+DIST redis-py-4.5.0.gh.tar.gz 4737555 BLAKE2B 
27631f43b0952c00105b4ad18b5aeadb133e3642f258b6342bbfb926dee016430f67ca6ae03c59408203e3fd86ea40f3059ecd1604259b4280b56e2c39b9b0eb
 SHA512 
c0c190cd56d2910c69e755f1fb921f05681f922cd937bc047c644eecef7f85f841aa9577a84c59549b91613ab8f2e9960a870d7f45ac1b6eafdfaa9879ed1599

diff --git a/dev-python/redis-py/redis-py-4.5.0.ebuild 
b/dev-python/redis-py/redis-py-4.5.0.ebuild
new file mode 100644
index ..b3867b0adbd2
--- /dev/null
+++ b/dev-python/redis-py/redis-py-4.5.0.ebuild
@@ -0,0 +1,79 @@
+# 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
+
+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
+   -> ${P}.gh.tar.gz
+"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2023-01-11 Thread Michał Górny
commit: 97cab8340626aa727b8e340da547eca19c7b5438
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan 11 20:02:48 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan 11 20:12:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97cab834

dev-python/redis-py: Bump to 4.4.2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/Manifest  |  1 +
 dev-python/redis-py/redis-py-4.4.2.ebuild | 79 +++
 2 files changed, 80 insertions(+)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index db369ab5d50d..0177b85b54b4 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,2 +1,3 @@
 DIST redis-py-4.4.0.gh.tar.gz 4637656 BLAKE2B 
40b0909c27cefb399353cc2d1d82d7ad3d64e4b3e5ae001ffef9c198d0e65d906f5772a0ac33b599c7fb6ffc5dfad461bb4b9042c5c4fb23dfbfceb0a7facbc0
 SHA512 
8992f160de7817c48893f3a8588d5c0398dcfb91830a61b4218206adc88185acb102b072507d3064b4a7aade5c957267e5d0e6912510bb106eea834cf9250fab
 DIST redis-py-4.4.1.gh.tar.gz 4733306 BLAKE2B 
b04a5925f87d8c1dbb06b30382f739d6bc39456b6b49be34701afcc1fecfca4783e60a451ddccdaff31f28c38b626e19607a57ebd600f7e28c63a4b62894f397
 SHA512 
0cec4b518bb56acee6a24ca62e7fdce054b4be764fcfaa860257d8de9f306d9d0f15a662354d7414a4a552475e2b49d97d97de05059310eead068a6269bc3038
+DIST redis-py-4.4.2.gh.tar.gz 4734100 BLAKE2B 
8e23c9b81a19cbbead7d6dab682fc4efc75f0c29adb4df6b9bf17f6842b2823249036c67c133039a850504870a0f884275eb65f4e517f84211b51767d7a2ae15
 SHA512 
3303e87ccc9d4ea3afbb93bcc5e4dcc5bbb3a406878b07c5b8755f28f87cb7a0f9a0db989ec294c2cf42c4ec62f546b5d919a3cb3f11b4ba030e41d13ed2cfc8

diff --git a/dev-python/redis-py/redis-py-4.4.2.ebuild 
b/dev-python/redis-py/redis-py-4.4.2.ebuild
new file mode 100644
index ..cd0794a5536c
--- /dev/null
+++ b/dev-python/redis-py/redis-py-4.4.2.ebuild
@@ -0,0 +1,79 @@
+# 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_{8..11} pypy3 )
+
+inherit distutils-r1
+
+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
+   -> ${P}.gh.tar.gz
+"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2023-01-08 Thread Michał Górny
commit: 3b946e34fa8e7889d800d29c003fd62c13721e4d
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jan  8 13:20:52 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jan  8 14:04:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b946e34

dev-python/redis-py: Bump to 4.4.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/Manifest  |  1 +
 dev-python/redis-py/redis-py-4.4.1.ebuild | 79 +++
 2 files changed, 80 insertions(+)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index 22913d634ce6..db369ab5d50d 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1 +1,2 @@
 DIST redis-py-4.4.0.gh.tar.gz 4637656 BLAKE2B 
40b0909c27cefb399353cc2d1d82d7ad3d64e4b3e5ae001ffef9c198d0e65d906f5772a0ac33b599c7fb6ffc5dfad461bb4b9042c5c4fb23dfbfceb0a7facbc0
 SHA512 
8992f160de7817c48893f3a8588d5c0398dcfb91830a61b4218206adc88185acb102b072507d3064b4a7aade5c957267e5d0e6912510bb106eea834cf9250fab
+DIST redis-py-4.4.1.gh.tar.gz 4733306 BLAKE2B 
b04a5925f87d8c1dbb06b30382f739d6bc39456b6b49be34701afcc1fecfca4783e60a451ddccdaff31f28c38b626e19607a57ebd600f7e28c63a4b62894f397
 SHA512 
0cec4b518bb56acee6a24ca62e7fdce054b4be764fcfaa860257d8de9f306d9d0f15a662354d7414a4a552475e2b49d97d97de05059310eead068a6269bc3038

diff --git a/dev-python/redis-py/redis-py-4.4.1.ebuild 
b/dev-python/redis-py/redis-py-4.4.1.ebuild
new file mode 100644
index ..cd0794a5536c
--- /dev/null
+++ b/dev-python/redis-py/redis-py-4.4.1.ebuild
@@ -0,0 +1,79 @@
+# 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_{8..11} pypy3 )
+
+inherit distutils-r1
+
+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
+   -> ${P}.gh.tar.gz
+"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-12-25 Thread Michał Górny
commit: 01eb4e5485ed4b446115cc87c4abbdcce2c5da24
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 25 17:39:27 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 25 17:41:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01eb4e54

dev-python/redis-py: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/Manifest  |  2 -
 dev-python/redis-py/redis-py-4.3.4.ebuild | 72 ---
 dev-python/redis-py/redis-py-4.3.5.ebuild | 71 --
 3 files changed, 145 deletions(-)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index c7dfc3ab7862..22913d634ce6 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,3 +1 @@
-DIST redis-py-4.3.4.gh.tar.gz 4613714 BLAKE2B 
cea5a6455160c67c9ab3b8f9de8ae47aed97e7bea1e408ce1a001afe3e0c4a7a14220887504fa40c749d15be9d89f77e36b6f7a785e0ff22a49037b6ef245e87
 SHA512 
55dd00c15cedb82cb5edd46b1f18f32c0accb8c85b1b94bbfe04591dc07f6151ced81cbfca8ac6fe88a6743bf5abc50309ea23bef96bf4332a712979c61ea0b7
-DIST redis-py-4.3.5.gh.tar.gz 4620696 BLAKE2B 
2eaa40fc0ad624c4b8444054dcfea70ba1a2a54aaa54954f0c0fab31b310d67ca25e7508bc3550a0033139bb36bb63ddea97bb807c91ca92df3630a5385d6ba5
 SHA512 
42ef903f07b818061aeaea5d7d188e058db1ef73275b731cfff762fb59cb91db708ad81b0b2773cf6e0ef200ecbb3bf9859f51c4fbeb04023547b9eac4e2e042
 DIST redis-py-4.4.0.gh.tar.gz 4637656 BLAKE2B 
40b0909c27cefb399353cc2d1d82d7ad3d64e4b3e5ae001ffef9c198d0e65d906f5772a0ac33b599c7fb6ffc5dfad461bb4b9042c5c4fb23dfbfceb0a7facbc0
 SHA512 
8992f160de7817c48893f3a8588d5c0398dcfb91830a61b4218206adc88185acb102b072507d3064b4a7aade5c957267e5d0e6912510bb106eea834cf9250fab

diff --git a/dev-python/redis-py/redis-py-4.3.4.ebuild 
b/dev-python/redis-py/redis-py-4.3.4.ebuild
deleted file mode 100644
index 2b6dd12b4c8e..
--- a/dev-python/redis-py/redis-py-4.3.4.ebuild
+++ /dev/null
@@ -1,72 +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..11} pypy3 )
-
-inherit distutils-r1
-
-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
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86"
-
-RDEPEND="
-   >=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]
-   >=dev-python/deprecated-1.2.3[${PYTHON_USEDEP}]
-   >=dev-python/packaging-20.4[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   https://github.com/redis/redis-py/
-   https://pypi.org/project/redis/
-"
-SRC_URI="
-   https://github.com/redis/redis-py/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
-
-RDEPEND="
-   >=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]
-   >=dev-python/packaging-20.4[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-12-25 Thread Sam James
commit: 43905f0b53a1909cc384bab56ca01d70814434dd
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 25 16:41:06 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 25 16:41:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43905f0b

dev-python/redis-py: Stabilize 4.4.0 ALLARCHES, #888397

Signed-off-by: Sam James  gentoo.org>

 dev-python/redis-py/redis-py-4.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-4.4.0.ebuild 
b/dev-python/redis-py/redis-py-4.4.0.ebuild
index 39794f5a9cfe..cbed428d05e6 100644
--- a/dev-python/redis-py/redis-py-4.4.0.ebuild
+++ b/dev-python/redis-py/redis-py-4.4.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86"
 
 RDEPEND="
>=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-12-06 Thread Arthur Zamarin
commit: 099d64b1742cb3ee91fe38ee075e9ef3ec1b88c3
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Dec  6 16:12:34 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Dec  6 16:12:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=099d64b1

dev-python/redis-py: enable testing with redis-7

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/redis-py/redis-py-4.4.0.ebuild | 17 -
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/dev-python/redis-py/redis-py-4.4.0.ebuild 
b/dev-python/redis-py/redis-py-4.4.0.ebuild
index 928539d1ddbb..39794f5a9cfe 100644
--- a/dev-python/redis-py/redis-py-4.4.0.ebuild
+++ b/dev-python/redis-py/redis-py-4.4.0.ebuild
@@ -27,7 +27,7 @@ RDEPEND="
 "
 BDEPEND="
test? (
-   =dev-db/redis-7"; then
+   local extra_conf="
+   enable-debug-command yes
+   enable-module-command yes
+   "
+   fi
+
# 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
+   bind 127.0.0.1 ::1
+   ${extra_conf}
EOF
 
# Run the tests



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-12-05 Thread Michał Górny
commit: 37c2ac5261d92c1552a09c1779047ff9eeb11c36
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Dec  6 05:35:17 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Dec  6 06:02:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37c2ac52

dev-python/redis-py: Bump to 4.4.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/Manifest  |  1 +
 dev-python/redis-py/redis-py-4.4.0.ebuild | 72 +++
 2 files changed, 73 insertions(+)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index 2ef1e6457b14..c7dfc3ab7862 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,2 +1,3 @@
 DIST redis-py-4.3.4.gh.tar.gz 4613714 BLAKE2B 
cea5a6455160c67c9ab3b8f9de8ae47aed97e7bea1e408ce1a001afe3e0c4a7a14220887504fa40c749d15be9d89f77e36b6f7a785e0ff22a49037b6ef245e87
 SHA512 
55dd00c15cedb82cb5edd46b1f18f32c0accb8c85b1b94bbfe04591dc07f6151ced81cbfca8ac6fe88a6743bf5abc50309ea23bef96bf4332a712979c61ea0b7
 DIST redis-py-4.3.5.gh.tar.gz 4620696 BLAKE2B 
2eaa40fc0ad624c4b8444054dcfea70ba1a2a54aaa54954f0c0fab31b310d67ca25e7508bc3550a0033139bb36bb63ddea97bb807c91ca92df3630a5385d6ba5
 SHA512 
42ef903f07b818061aeaea5d7d188e058db1ef73275b731cfff762fb59cb91db708ad81b0b2773cf6e0ef200ecbb3bf9859f51c4fbeb04023547b9eac4e2e042
+DIST redis-py-4.4.0.gh.tar.gz 4637656 BLAKE2B 
40b0909c27cefb399353cc2d1d82d7ad3d64e4b3e5ae001ffef9c198d0e65d906f5772a0ac33b599c7fb6ffc5dfad461bb4b9042c5c4fb23dfbfceb0a7facbc0
 SHA512 
8992f160de7817c48893f3a8588d5c0398dcfb91830a61b4218206adc88185acb102b072507d3064b4a7aade5c957267e5d0e6912510bb106eea834cf9250fab

diff --git a/dev-python/redis-py/redis-py-4.4.0.ebuild 
b/dev-python/redis-py/redis-py-4.4.0.ebuild
new file mode 100644
index ..928539d1ddbb
--- /dev/null
+++ b/dev-python/redis-py/redis-py-4.4.0.ebuild
@@ -0,0 +1,72 @@
+# 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..11} pypy3 )
+
+inherit distutils-r1
+
+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
+   -> ${P}.gh.tar.gz
+"
+
+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? (
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-11-23 Thread Michał Górny
commit: 4470b680fe2fc5e8434c34eef03dbb825e0afdff
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Nov 23 08:42:02 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Nov 23 08:54:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4470b680

dev-python/redis-py: Bump to 4.3.5

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/Manifest  |  1 +
 dev-python/redis-py/redis-py-4.3.5.ebuild | 71 +++
 2 files changed, 72 insertions(+)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index dfc9dc11274d..2ef1e6457b14 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1 +1,2 @@
 DIST redis-py-4.3.4.gh.tar.gz 4613714 BLAKE2B 
cea5a6455160c67c9ab3b8f9de8ae47aed97e7bea1e408ce1a001afe3e0c4a7a14220887504fa40c749d15be9d89f77e36b6f7a785e0ff22a49037b6ef245e87
 SHA512 
55dd00c15cedb82cb5edd46b1f18f32c0accb8c85b1b94bbfe04591dc07f6151ced81cbfca8ac6fe88a6743bf5abc50309ea23bef96bf4332a712979c61ea0b7
+DIST redis-py-4.3.5.gh.tar.gz 4620696 BLAKE2B 
2eaa40fc0ad624c4b8444054dcfea70ba1a2a54aaa54954f0c0fab31b310d67ca25e7508bc3550a0033139bb36bb63ddea97bb807c91ca92df3630a5385d6ba5
 SHA512 
42ef903f07b818061aeaea5d7d188e058db1ef73275b731cfff762fb59cb91db708ad81b0b2773cf6e0ef200ecbb3bf9859f51c4fbeb04023547b9eac4e2e042

diff --git a/dev-python/redis-py/redis-py-4.3.5.ebuild 
b/dev-python/redis-py/redis-py-4.3.5.ebuild
new file mode 100644
index ..5be327fc0a51
--- /dev/null
+++ b/dev-python/redis-py/redis-py-4.3.5.ebuild
@@ -0,0 +1,71 @@
+# 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..11} pypy3 )
+
+inherit distutils-r1
+
+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
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]
+   >=dev-python/packaging-20.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-07-26 Thread Michał Górny
commit: 0bfee138b21cc3467a63d7e1c0ad1def5c80939c
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jul 26 06:15:01 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jul 26 06:17:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bfee138

dev-python/redis-py: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/Manifest  |  1 -
 dev-python/redis-py/redis-py-4.2.2.ebuild | 82 ---
 2 files changed, 83 deletions(-)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index ce0cc3fce004..dfc9dc11274d 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,2 +1 @@
-DIST redis-py-4.2.2.tar.gz 2421362 BLAKE2B 
ab59a649e8bc08d706536f994f0462505cea39828072884739b1a6434b45fd120e3b8acb51e8e88ec9fe0ce9acc0bfd6a5ff92bb67080724c7b121ef539af16f
 SHA512 
80673d48cd97af1c5ebc67e919f16891ccb20cd30bc06619ddffeb117ad87f82b73f9b9bda6d36829bc51a35aa3c9b2af7c879ec665cc9664bdd86ac6510095b
 DIST redis-py-4.3.4.gh.tar.gz 4613714 BLAKE2B 
cea5a6455160c67c9ab3b8f9de8ae47aed97e7bea1e408ce1a001afe3e0c4a7a14220887504fa40c749d15be9d89f77e36b6f7a785e0ff22a49037b6ef245e87
 SHA512 
55dd00c15cedb82cb5edd46b1f18f32c0accb8c85b1b94bbfe04591dc07f6151ced81cbfca8ac6fe88a6743bf5abc50309ea23bef96bf4332a712979c61ea0b7

diff --git a/dev-python/redis-py/redis-py-4.2.2.ebuild 
b/dev-python/redis-py/redis-py-4.2.2.ebuild
deleted file mode 100644
index 66d00feed169..
--- a/dev-python/redis-py/redis-py-4.2.2.ebuild
+++ /dev/null
@@ -1,82 +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 ~riscv sparc x86"
-
-RDEPEND="
-   >=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]
-   >=dev-python/deprecated-1.2.3[${PYTHON_USEDEP}]
-   >=dev-python/packaging-20.4[${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
-
-   # 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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-07-25 Thread Sam James
commit: a15c21318b629eccb5258411c25e7cc97be087d2
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 26 01:36:16 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 26 01:36:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a15c2131

dev-python/redis-py: Stabilize 4.3.4 ALLARCHES, #860837

Signed-off-by: Sam James  gentoo.org>

 dev-python/redis-py/redis-py-4.3.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-4.3.4.ebuild 
b/dev-python/redis-py/redis-py-4.3.4.ebuild
index 8f89e69e9cf8..2b6dd12b4c8e 100644
--- a/dev-python/redis-py/redis-py-4.3.4.ebuild
+++ b/dev-python/redis-py/redis-py-4.3.4.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86"
 
 RDEPEND="
>=dev-python/async-timeout-4.0.2[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-07-25 Thread Michał Górny
commit: fe82b9d73e8582d9da5b01ca7d5e54a271233473
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jul 25 05:55:51 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jul 25 07:12:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe82b9d7

dev-python/redis-py: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/Manifest  |  2 -
 dev-python/redis-py/redis-py-4.1.4.ebuild | 78 ---
 dev-python/redis-py/redis-py-4.3.3.ebuild | 72 
 3 files changed, 152 deletions(-)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index 0397ed9f541a..ce0cc3fce004 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,4 +1,2 @@
-DIST redis-py-4.1.4.tar.gz 2352106 BLAKE2B 
a7f40d381e3e1d295d2ce88f0adb897704d0065ee7d5bb00108c2c8c67ef649ea63d4ca06dbbe2b21b2f92d70d96f8e2d32a7992ecf702bb4c73589f30c1bae8
 SHA512 
6dd1bc7622529382901b2fe6e63a5f9d6a4b89175b486c879a63cc8f0e708737431dfe5b834124f0d33f34540ac54813a0e6953bbed3a9dbd226597b4b1cb3ae
 DIST redis-py-4.2.2.tar.gz 2421362 BLAKE2B 
ab59a649e8bc08d706536f994f0462505cea39828072884739b1a6434b45fd120e3b8acb51e8e88ec9fe0ce9acc0bfd6a5ff92bb67080724c7b121ef539af16f
 SHA512 
80673d48cd97af1c5ebc67e919f16891ccb20cd30bc06619ddffeb117ad87f82b73f9b9bda6d36829bc51a35aa3c9b2af7c879ec665cc9664bdd86ac6510095b
-DIST redis-py-4.3.3.gh.tar.gz 4610718 BLAKE2B 
7edcade0d1d192d49480b10ddd635934dbb8a580e3b92e4cf2fec995520fa26f805f258f1af0a22077c1421f6a7234674c5fbba0da029d0346ab2019b40c88df
 SHA512 
f16e8367258c3042ab687b7435cf481a64e89acd0687f6ee5ff1babe7b0bf120300e38601e8c3c7f0d8a864774c5f77e856a0f720e9eae8bc3a1711fb342e62b
 DIST redis-py-4.3.4.gh.tar.gz 4613714 BLAKE2B 
cea5a6455160c67c9ab3b8f9de8ae47aed97e7bea1e408ce1a001afe3e0c4a7a14220887504fa40c749d15be9d89f77e36b6f7a785e0ff22a49037b6ef245e87
 SHA512 
55dd00c15cedb82cb5edd46b1f18f32c0accb8c85b1b94bbfe04591dc07f6151ced81cbfca8ac6fe88a6743bf5abc50309ea23bef96bf4332a712979c61ea0b7

diff --git a/dev-python/redis-py/redis-py-4.1.4.ebuild 
b/dev-python/redis-py/redis-py-4.1.4.ebuild
deleted file mode 100644
index 8799af06d05c..
--- a/dev-python/redis-py/redis-py-4.1.4.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
-
-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
-}

diff --git a/dev-python/redis-py/redis-py-4.3.3.ebuild 
b/dev-python/redis-py/redis-py-4.3.3.ebuild
deleted file mode 100644
index 8f89e69e9cf8..
--- a/dev-python/redis-py/redis-py-4.3.3.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-

[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-06-27 Thread Arthur Zamarin
commit: ff5ac153997aa29a0afb8b2b648e56a8d1fbe405
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Jun 27 18:52:26 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Jun 27 19:08:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff5ac153

dev-python/redis-py: add 4.3.4

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/redis-py/Manifest  |  1 +
 dev-python/redis-py/redis-py-4.3.4.ebuild | 72 +++
 2 files changed, 73 insertions(+)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index 9e212f46c8a5..0397ed9f541a 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,3 +1,4 @@
 DIST redis-py-4.1.4.tar.gz 2352106 BLAKE2B 
a7f40d381e3e1d295d2ce88f0adb897704d0065ee7d5bb00108c2c8c67ef649ea63d4ca06dbbe2b21b2f92d70d96f8e2d32a7992ecf702bb4c73589f30c1bae8
 SHA512 
6dd1bc7622529382901b2fe6e63a5f9d6a4b89175b486c879a63cc8f0e708737431dfe5b834124f0d33f34540ac54813a0e6953bbed3a9dbd226597b4b1cb3ae
 DIST redis-py-4.2.2.tar.gz 2421362 BLAKE2B 
ab59a649e8bc08d706536f994f0462505cea39828072884739b1a6434b45fd120e3b8acb51e8e88ec9fe0ce9acc0bfd6a5ff92bb67080724c7b121ef539af16f
 SHA512 
80673d48cd97af1c5ebc67e919f16891ccb20cd30bc06619ddffeb117ad87f82b73f9b9bda6d36829bc51a35aa3c9b2af7c879ec665cc9664bdd86ac6510095b
 DIST redis-py-4.3.3.gh.tar.gz 4610718 BLAKE2B 
7edcade0d1d192d49480b10ddd635934dbb8a580e3b92e4cf2fec995520fa26f805f258f1af0a22077c1421f6a7234674c5fbba0da029d0346ab2019b40c88df
 SHA512 
f16e8367258c3042ab687b7435cf481a64e89acd0687f6ee5ff1babe7b0bf120300e38601e8c3c7f0d8a864774c5f77e856a0f720e9eae8bc3a1711fb342e62b
+DIST redis-py-4.3.4.gh.tar.gz 4613714 BLAKE2B 
cea5a6455160c67c9ab3b8f9de8ae47aed97e7bea1e408ce1a001afe3e0c4a7a14220887504fa40c749d15be9d89f77e36b6f7a785e0ff22a49037b6ef245e87
 SHA512 
55dd00c15cedb82cb5edd46b1f18f32c0accb8c85b1b94bbfe04591dc07f6151ced81cbfca8ac6fe88a6743bf5abc50309ea23bef96bf4332a712979c61ea0b7

diff --git a/dev-python/redis-py/redis-py-4.3.4.ebuild 
b/dev-python/redis-py/redis-py-4.3.4.ebuild
new file mode 100644
index ..2ff14c069707
--- /dev/null
+++ b/dev-python/redis-py/redis-py-4.3.4.ebuild
@@ -0,0 +1,72 @@
+# 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..11} pypy3 )
+
+inherit distutils-r1
+
+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
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/async_timeout-4.0.2[${PYTHON_USEDEP}]
+   >=dev-python/deprecated-1.2.3[${PYTHON_USEDEP}]
+   >=dev-python/packaging-20.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-06-02 Thread Sam James
commit: 91acf8fda8987e953bb93d3af666e961e8942173
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun  3 02:19:10 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun  3 02:19:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91acf8fd

dev-python/redis-py: add 4.3.3

Signed-off-by: Sam James  gentoo.org>

 dev-python/redis-py/Manifest  |  1 +
 dev-python/redis-py/redis-py-4.3.3.ebuild | 72 +++
 2 files changed, 73 insertions(+)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index e4e17c046479..00895337b6f1 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -3,3 +3,4 @@ DIST redis-py-4.2.2.tar.gz 2421362 BLAKE2B 
ab59a649e8bc08d706536f994f0462505cea3
 DIST redis-py-4.3.0.gh.tar.gz 4605505 BLAKE2B 
a7cdf8941f99291f6c6f53e6b11b1cd45fd64d0d96e11848d648964518a970275152c00c3aec3a0342ffc5a4805624344076154d007684ce90137f37df4d90f7
 SHA512 
881f250f04cd0376d2e617ff07cba3c4f987574d64b0813890310412293c7825bb11a5117b65b27dad05bbdff250f44a736d542ee116034b7a644c6e58f981fd
 DIST redis-py-4.3.1.gh.tar.gz 4605537 BLAKE2B 
239dd9be0e6c30dbaeeb609f222802f33e4a4e4a743fe1f348f542fe899b89e47ad9513bf99db713d3cbcb13df0e6593d4631745c3afc3368f8a9e8333b759a8
 SHA512 
8d38876fbf3593825bf593188a9749bec0f652907f510657e32043ed26fd6d59b1554870f59af65939754500645e4c4c8f15bcb8eab1385a0640c374aa938643
 DIST redis-py-4.3.2.gh.tar.gz 4610682 BLAKE2B 
1fe8a0aadfbc094fb0904cf2ed71a8d14245cf9f09638073f2fdc5713560cf66d5e00eaef7ab2ad9d68f00b838c5b762c95ca4589075db72b16cfaf5aa31477a
 SHA512 
0d6458c4ecc676a1af6ec96648eecc30e872cbf5546701ee6b8b06feb0f30cab2bfd5de8700ea3e9628ec7cdc8e851460fa248963a745ac73cc0611c6a8787e5
+DIST redis-py-4.3.3.gh.tar.gz 4610718 BLAKE2B 
7edcade0d1d192d49480b10ddd635934dbb8a580e3b92e4cf2fec995520fa26f805f258f1af0a22077c1421f6a7234674c5fbba0da029d0346ab2019b40c88df
 SHA512 
f16e8367258c3042ab687b7435cf481a64e89acd0687f6ee5ff1babe7b0bf120300e38601e8c3c7f0d8a864774c5f77e856a0f720e9eae8bc3a1711fb342e62b

diff --git a/dev-python/redis-py/redis-py-4.3.3.ebuild 
b/dev-python/redis-py/redis-py-4.3.3.ebuild
new file mode 100644
index ..2ff14c069707
--- /dev/null
+++ b/dev-python/redis-py/redis-py-4.3.3.ebuild
@@ -0,0 +1,72 @@
+# 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..11} pypy3 )
+
+inherit distutils-r1
+
+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
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/async_timeout-4.0.2[${PYTHON_USEDEP}]
+   >=dev-python/deprecated-1.2.3[${PYTHON_USEDEP}]
+   >=dev-python/packaging-20.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-06-02 Thread Sam James
commit: a3761b555e1e8953411b05b52e10ba1b5822a449
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun  3 02:19:19 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun  3 02:19:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3761b55

dev-python/redis-py: drop 4.3.0, 4.3.1, 4.3.2

Signed-off-by: Sam James  gentoo.org>

 dev-python/redis-py/Manifest  |  3 --
 dev-python/redis-py/redis-py-4.3.0.ebuild | 72 ---
 dev-python/redis-py/redis-py-4.3.1.ebuild | 72 ---
 dev-python/redis-py/redis-py-4.3.2.ebuild | 72 ---
 4 files changed, 219 deletions(-)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index 00895337b6f1..9e212f46c8a5 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,6 +1,3 @@
 DIST redis-py-4.1.4.tar.gz 2352106 BLAKE2B 
a7f40d381e3e1d295d2ce88f0adb897704d0065ee7d5bb00108c2c8c67ef649ea63d4ca06dbbe2b21b2f92d70d96f8e2d32a7992ecf702bb4c73589f30c1bae8
 SHA512 
6dd1bc7622529382901b2fe6e63a5f9d6a4b89175b486c879a63cc8f0e708737431dfe5b834124f0d33f34540ac54813a0e6953bbed3a9dbd226597b4b1cb3ae
 DIST redis-py-4.2.2.tar.gz 2421362 BLAKE2B 
ab59a649e8bc08d706536f994f0462505cea39828072884739b1a6434b45fd120e3b8acb51e8e88ec9fe0ce9acc0bfd6a5ff92bb67080724c7b121ef539af16f
 SHA512 
80673d48cd97af1c5ebc67e919f16891ccb20cd30bc06619ddffeb117ad87f82b73f9b9bda6d36829bc51a35aa3c9b2af7c879ec665cc9664bdd86ac6510095b
-DIST redis-py-4.3.0.gh.tar.gz 4605505 BLAKE2B 
a7cdf8941f99291f6c6f53e6b11b1cd45fd64d0d96e11848d648964518a970275152c00c3aec3a0342ffc5a4805624344076154d007684ce90137f37df4d90f7
 SHA512 
881f250f04cd0376d2e617ff07cba3c4f987574d64b0813890310412293c7825bb11a5117b65b27dad05bbdff250f44a736d542ee116034b7a644c6e58f981fd
-DIST redis-py-4.3.1.gh.tar.gz 4605537 BLAKE2B 
239dd9be0e6c30dbaeeb609f222802f33e4a4e4a743fe1f348f542fe899b89e47ad9513bf99db713d3cbcb13df0e6593d4631745c3afc3368f8a9e8333b759a8
 SHA512 
8d38876fbf3593825bf593188a9749bec0f652907f510657e32043ed26fd6d59b1554870f59af65939754500645e4c4c8f15bcb8eab1385a0640c374aa938643
-DIST redis-py-4.3.2.gh.tar.gz 4610682 BLAKE2B 
1fe8a0aadfbc094fb0904cf2ed71a8d14245cf9f09638073f2fdc5713560cf66d5e00eaef7ab2ad9d68f00b838c5b762c95ca4589075db72b16cfaf5aa31477a
 SHA512 
0d6458c4ecc676a1af6ec96648eecc30e872cbf5546701ee6b8b06feb0f30cab2bfd5de8700ea3e9628ec7cdc8e851460fa248963a745ac73cc0611c6a8787e5
 DIST redis-py-4.3.3.gh.tar.gz 4610718 BLAKE2B 
7edcade0d1d192d49480b10ddd635934dbb8a580e3b92e4cf2fec995520fa26f805f258f1af0a22077c1421f6a7234674c5fbba0da029d0346ab2019b40c88df
 SHA512 
f16e8367258c3042ab687b7435cf481a64e89acd0687f6ee5ff1babe7b0bf120300e38601e8c3c7f0d8a864774c5f77e856a0f720e9eae8bc3a1711fb342e62b

diff --git a/dev-python/redis-py/redis-py-4.3.0.ebuild 
b/dev-python/redis-py/redis-py-4.3.0.ebuild
deleted file mode 100644
index 9f000b888e29..
--- a/dev-python/redis-py/redis-py-4.3.0.ebuild
+++ /dev/null
@@ -1,72 +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
-
-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
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
-
-RDEPEND="
-   >=dev-python/async_timeout-4.0.2[${PYTHON_USEDEP}]
-   >=dev-python/deprecated-1.2.3[${PYTHON_USEDEP}]
-   >=dev-python/packaging-20.4[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   https://github.com/redis/redis-py/
-   https://pypi.org/project/redis/
-"
-SRC_URI="
-   https://github.com/redis/redis-py/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
-
-RDEPEND="
-   >=dev-python/async_timeout-4.0.2[${PYTHON_USEDEP}]
-   >=dev-python/deprecated-1.2.3[${PYTHON_USEDEP}]
-   >=dev-python/packaging-20.4[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   https://github.com/redis/redis-py/
-   https://pypi.org/project/redis/
-"
-SRC_URI="
-   https://github.com/redis/redis-py/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
-
-RDEPEND="
-   >=dev-python/async_timeout-4.0.2[${PYTHON_USEDEP}]
-   >=dev-python/deprecated-1.2.3[${PYTHON_USEDEP}]
-   >=dev-python/packaging-20.4[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-06-01 Thread Sam James
commit: b1c114d5e8dd4ae1572ddaa60c0256ebd3dea442
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun  1 22:44:00 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  2 00:09:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1c114d5

dev-python/redis-py: add 4.3.2

Signed-off-by: Sam James  gentoo.org>

 dev-python/redis-py/Manifest  |  1 +
 dev-python/redis-py/redis-py-4.3.2.ebuild | 72 +++
 2 files changed, 73 insertions(+)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index d3bf1fbb3f1e..e4e17c046479 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -2,3 +2,4 @@ DIST redis-py-4.1.4.tar.gz 2352106 BLAKE2B 
a7f40d381e3e1d295d2ce88f0adb897704d00
 DIST redis-py-4.2.2.tar.gz 2421362 BLAKE2B 
ab59a649e8bc08d706536f994f0462505cea39828072884739b1a6434b45fd120e3b8acb51e8e88ec9fe0ce9acc0bfd6a5ff92bb67080724c7b121ef539af16f
 SHA512 
80673d48cd97af1c5ebc67e919f16891ccb20cd30bc06619ddffeb117ad87f82b73f9b9bda6d36829bc51a35aa3c9b2af7c879ec665cc9664bdd86ac6510095b
 DIST redis-py-4.3.0.gh.tar.gz 4605505 BLAKE2B 
a7cdf8941f99291f6c6f53e6b11b1cd45fd64d0d96e11848d648964518a970275152c00c3aec3a0342ffc5a4805624344076154d007684ce90137f37df4d90f7
 SHA512 
881f250f04cd0376d2e617ff07cba3c4f987574d64b0813890310412293c7825bb11a5117b65b27dad05bbdff250f44a736d542ee116034b7a644c6e58f981fd
 DIST redis-py-4.3.1.gh.tar.gz 4605537 BLAKE2B 
239dd9be0e6c30dbaeeb609f222802f33e4a4e4a743fe1f348f542fe899b89e47ad9513bf99db713d3cbcb13df0e6593d4631745c3afc3368f8a9e8333b759a8
 SHA512 
8d38876fbf3593825bf593188a9749bec0f652907f510657e32043ed26fd6d59b1554870f59af65939754500645e4c4c8f15bcb8eab1385a0640c374aa938643
+DIST redis-py-4.3.2.gh.tar.gz 4610682 BLAKE2B 
1fe8a0aadfbc094fb0904cf2ed71a8d14245cf9f09638073f2fdc5713560cf66d5e00eaef7ab2ad9d68f00b838c5b762c95ca4589075db72b16cfaf5aa31477a
 SHA512 
0d6458c4ecc676a1af6ec96648eecc30e872cbf5546701ee6b8b06feb0f30cab2bfd5de8700ea3e9628ec7cdc8e851460fa248963a745ac73cc0611c6a8787e5

diff --git a/dev-python/redis-py/redis-py-4.3.2.ebuild 
b/dev-python/redis-py/redis-py-4.3.2.ebuild
new file mode 100644
index ..2ff14c069707
--- /dev/null
+++ b/dev-python/redis-py/redis-py-4.3.2.ebuild
@@ -0,0 +1,72 @@
+# 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..11} pypy3 )
+
+inherit distutils-r1
+
+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
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/async_timeout-4.0.2[${PYTHON_USEDEP}]
+   >=dev-python/deprecated-1.2.3[${PYTHON_USEDEP}]
+   >=dev-python/packaging-20.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-05-31 Thread Sam James
commit: c29a3299d9683617332dec364a3b940bc4fca63a
Author: Sam James  gentoo  org>
AuthorDate: Tue May 31 08:59:21 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 31 09:00:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c29a3299

dev-python/redis-py: enable py3.11

Signed-off-by: Sam James  gentoo.org>

 dev-python/redis-py/redis-py-4.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-4.3.1.ebuild 
b/dev-python/redis-py/redis-py-4.3.1.ebuild
index 9f000b888e29..2ff14c069707 100644
--- a/dev-python/redis-py/redis-py-4.3.1.ebuild
+++ b/dev-python/redis-py/redis-py-4.3.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-05-09 Thread Sam James
commit: 064ac6ca2b15744d0c6ed3e60e5921996345d99c
Author: Sam James  gentoo  org>
AuthorDate: Tue May 10 01:45:45 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 10 02:25:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=064ac6ca

dev-python/redis-py: add 4.3.1

Signed-off-by: Sam James  gentoo.org>

 dev-python/redis-py/Manifest  |  1 +
 dev-python/redis-py/redis-py-4.3.1.ebuild | 72 +++
 2 files changed, 73 insertions(+)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index d7a67e552f33..d3bf1fbb3f1e 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,3 +1,4 @@
 DIST redis-py-4.1.4.tar.gz 2352106 BLAKE2B 
a7f40d381e3e1d295d2ce88f0adb897704d0065ee7d5bb00108c2c8c67ef649ea63d4ca06dbbe2b21b2f92d70d96f8e2d32a7992ecf702bb4c73589f30c1bae8
 SHA512 
6dd1bc7622529382901b2fe6e63a5f9d6a4b89175b486c879a63cc8f0e708737431dfe5b834124f0d33f34540ac54813a0e6953bbed3a9dbd226597b4b1cb3ae
 DIST redis-py-4.2.2.tar.gz 2421362 BLAKE2B 
ab59a649e8bc08d706536f994f0462505cea39828072884739b1a6434b45fd120e3b8acb51e8e88ec9fe0ce9acc0bfd6a5ff92bb67080724c7b121ef539af16f
 SHA512 
80673d48cd97af1c5ebc67e919f16891ccb20cd30bc06619ddffeb117ad87f82b73f9b9bda6d36829bc51a35aa3c9b2af7c879ec665cc9664bdd86ac6510095b
 DIST redis-py-4.3.0.gh.tar.gz 4605505 BLAKE2B 
a7cdf8941f99291f6c6f53e6b11b1cd45fd64d0d96e11848d648964518a970275152c00c3aec3a0342ffc5a4805624344076154d007684ce90137f37df4d90f7
 SHA512 
881f250f04cd0376d2e617ff07cba3c4f987574d64b0813890310412293c7825bb11a5117b65b27dad05bbdff250f44a736d542ee116034b7a644c6e58f981fd
+DIST redis-py-4.3.1.gh.tar.gz 4605537 BLAKE2B 
239dd9be0e6c30dbaeeb609f222802f33e4a4e4a743fe1f348f542fe899b89e47ad9513bf99db713d3cbcb13df0e6593d4631745c3afc3368f8a9e8333b759a8
 SHA512 
8d38876fbf3593825bf593188a9749bec0f652907f510657e32043ed26fd6d59b1554870f59af65939754500645e4c4c8f15bcb8eab1385a0640c374aa938643

diff --git a/dev-python/redis-py/redis-py-4.3.1.ebuild 
b/dev-python/redis-py/redis-py-4.3.1.ebuild
new file mode 100644
index ..9f000b888e29
--- /dev/null
+++ b/dev-python/redis-py/redis-py-4.3.1.ebuild
@@ -0,0 +1,72 @@
+# 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
+
+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
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/async_timeout-4.0.2[${PYTHON_USEDEP}]
+   >=dev-python/deprecated-1.2.3[${PYTHON_USEDEP}]
+   >=dev-python/packaging-20.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-05-09 Thread Michał Górny
commit: 34a69a69dd0d8b5f866d10743ef9e3ee483fab88
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May  9 08:56:32 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May  9 09:06:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34a69a69

dev-python/redis-py: Bump to 4.3.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/Manifest  |  1 +
 dev-python/redis-py/redis-py-4.3.0.ebuild | 72 +++
 2 files changed, 73 insertions(+)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index 05c8cd6700ba..d7a67e552f33 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,2 +1,3 @@
 DIST redis-py-4.1.4.tar.gz 2352106 BLAKE2B 
a7f40d381e3e1d295d2ce88f0adb897704d0065ee7d5bb00108c2c8c67ef649ea63d4ca06dbbe2b21b2f92d70d96f8e2d32a7992ecf702bb4c73589f30c1bae8
 SHA512 
6dd1bc7622529382901b2fe6e63a5f9d6a4b89175b486c879a63cc8f0e708737431dfe5b834124f0d33f34540ac54813a0e6953bbed3a9dbd226597b4b1cb3ae
 DIST redis-py-4.2.2.tar.gz 2421362 BLAKE2B 
ab59a649e8bc08d706536f994f0462505cea39828072884739b1a6434b45fd120e3b8acb51e8e88ec9fe0ce9acc0bfd6a5ff92bb67080724c7b121ef539af16f
 SHA512 
80673d48cd97af1c5ebc67e919f16891ccb20cd30bc06619ddffeb117ad87f82b73f9b9bda6d36829bc51a35aa3c9b2af7c879ec665cc9664bdd86ac6510095b
+DIST redis-py-4.3.0.gh.tar.gz 4605505 BLAKE2B 
a7cdf8941f99291f6c6f53e6b11b1cd45fd64d0d96e11848d648964518a970275152c00c3aec3a0342ffc5a4805624344076154d007684ce90137f37df4d90f7
 SHA512 
881f250f04cd0376d2e617ff07cba3c4f987574d64b0813890310412293c7825bb11a5117b65b27dad05bbdff250f44a736d542ee116034b7a644c6e58f981fd

diff --git a/dev-python/redis-py/redis-py-4.3.0.ebuild 
b/dev-python/redis-py/redis-py-4.3.0.ebuild
new file mode 100644
index ..9f000b888e29
--- /dev/null
+++ b/dev-python/redis-py/redis-py-4.3.0.ebuild
@@ -0,0 +1,72 @@
+# 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
+
+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
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/async_timeout-4.0.2[${PYTHON_USEDEP}]
+   >=dev-python/deprecated-1.2.3[${PYTHON_USEDEP}]
+   >=dev-python/packaging-20.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-05-06 Thread Arthur Zamarin
commit: fcab2dcd5bc469ad5faa8ed9a960166f580a52d9
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri May  6 11:58:28 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri May  6 11:58:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcab2dcd

dev-python/redis-py: Stabilize 4.2.2 ALLARCHES, #842960

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/redis-py/redis-py-4.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-4.2.2.ebuild 
b/dev-python/redis-py/redis-py-4.2.2.ebuild
index b9f87178642f..8ae3ccbfc5d5 100644
--- a/dev-python/redis-py/redis-py-4.2.2.ebuild
+++ b/dev-python/redis-py/redis-py-4.2.2.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86"
 
 RDEPEND="
>=dev-python/async_timeout-4.0.2[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-04-17 Thread Sam James
commit: 09acdffc6fff6fc622cad7b72a5bfb6c90681d4f
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 17 16:46:05 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 17 16:46:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09acdffc

dev-python/redis-py: drop 4.2.0, 4.2.1

Signed-off-by: Sam James  gentoo.org>

 dev-python/redis-py/Manifest  |  2 -
 dev-python/redis-py/redis-py-4.2.0.ebuild | 88 ---
 dev-python/redis-py/redis-py-4.2.1.ebuild | 81 
 3 files changed, 171 deletions(-)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index 31a66977e16c..05c8cd6700ba 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,4 +1,2 @@
 DIST redis-py-4.1.4.tar.gz 2352106 BLAKE2B 
a7f40d381e3e1d295d2ce88f0adb897704d0065ee7d5bb00108c2c8c67ef649ea63d4ca06dbbe2b21b2f92d70d96f8e2d32a7992ecf702bb4c73589f30c1bae8
 SHA512 
6dd1bc7622529382901b2fe6e63a5f9d6a4b89175b486c879a63cc8f0e708737431dfe5b834124f0d33f34540ac54813a0e6953bbed3a9dbd226597b4b1cb3ae
-DIST redis-py-4.2.0.tar.gz 2419627 BLAKE2B 
a4429e17dc90289032c5b98cd482fc6e1349b4b63b2c3f289be1df9d0c667a9f568cbee71d34f88c140fbebf2b0061e9bb3426f1548bccf3c0767c040419251b
 SHA512 
3c4c7f859e63ebadf8d4b01ce14d789caffa18b1f177b6a2269737cb20259dc0165773b1c838c3c08edeea790976183b156f886815b42ea709b4b3a0f2aa3354
-DIST redis-py-4.2.1.tar.gz 2420026 BLAKE2B 
2e2ef024dc22ad8447bd0b0c9e2318b5c55568e7a93a73f8f264e5af839d50c7c44d98669d19ddc2a9a6440eaafa8842ebeb749b9b22db83d691dab5421fd774
 SHA512 
3499126d2c19f599e5bc026c3b66ec99639b2746ef0091ba8bea45cf969d39831e1f2ad47f0ba4c65131d4f248320a8b7d2862c5abb289e46555cd3fc6239674
 DIST redis-py-4.2.2.tar.gz 2421362 BLAKE2B 
ab59a649e8bc08d706536f994f0462505cea39828072884739b1a6434b45fd120e3b8acb51e8e88ec9fe0ce9acc0bfd6a5ff92bb67080724c7b121ef539af16f
 SHA512 
80673d48cd97af1c5ebc67e919f16891ccb20cd30bc06619ddffeb117ad87f82b73f9b9bda6d36829bc51a35aa3c9b2af7c879ec665cc9664bdd86ac6510095b

diff --git a/dev-python/redis-py/redis-py-4.2.0.ebuild 
b/dev-python/redis-py/redis-py-4.2.0.ebuild
deleted file mode 100644
index e13112f1a58c..
--- a/dev-python/redis-py/redis-py-4.2.0.ebuild
+++ /dev/null
@@ -1,88 +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 ~riscv ~sparc ~x86"
-
-RDEPEND="
-   >=dev-python/async_timeout-4.0.2[${PYTHON_USEDEP}]
-   >=dev-python/deprecated-1.2.3[${PYTHON_USEDEP}]
-   >=dev-python/packaging-20.4[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-db/redis
-   dev-python/pytest-timeout[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
-   # not used by our impls
-   # https://github.com/redis/redis-py/pull/2062
-   sed -i -e '/typing-extensions/d' setup.py || die
-   distutils-r1_src_prepare
-}
-
-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 

[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-04-04 Thread Sam James
commit: 36ef93197dc8249271b1a7a2bf9a1081d72a0764
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr  5 01:10:33 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr  5 01:10:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36ef9319

dev-python/redis-py: add 4.2.2

Signed-off-by: Sam James  gentoo.org>

 dev-python/redis-py/Manifest  |  1 +
 dev-python/redis-py/redis-py-4.2.2.ebuild | 82 +++
 2 files changed, 83 insertions(+)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index 9100e8f6acf8..31a66977e16c 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,3 +1,4 @@
 DIST redis-py-4.1.4.tar.gz 2352106 BLAKE2B 
a7f40d381e3e1d295d2ce88f0adb897704d0065ee7d5bb00108c2c8c67ef649ea63d4ca06dbbe2b21b2f92d70d96f8e2d32a7992ecf702bb4c73589f30c1bae8
 SHA512 
6dd1bc7622529382901b2fe6e63a5f9d6a4b89175b486c879a63cc8f0e708737431dfe5b834124f0d33f34540ac54813a0e6953bbed3a9dbd226597b4b1cb3ae
 DIST redis-py-4.2.0.tar.gz 2419627 BLAKE2B 
a4429e17dc90289032c5b98cd482fc6e1349b4b63b2c3f289be1df9d0c667a9f568cbee71d34f88c140fbebf2b0061e9bb3426f1548bccf3c0767c040419251b
 SHA512 
3c4c7f859e63ebadf8d4b01ce14d789caffa18b1f177b6a2269737cb20259dc0165773b1c838c3c08edeea790976183b156f886815b42ea709b4b3a0f2aa3354
 DIST redis-py-4.2.1.tar.gz 2420026 BLAKE2B 
2e2ef024dc22ad8447bd0b0c9e2318b5c55568e7a93a73f8f264e5af839d50c7c44d98669d19ddc2a9a6440eaafa8842ebeb749b9b22db83d691dab5421fd774
 SHA512 
3499126d2c19f599e5bc026c3b66ec99639b2746ef0091ba8bea45cf969d39831e1f2ad47f0ba4c65131d4f248320a8b7d2862c5abb289e46555cd3fc6239674
+DIST redis-py-4.2.2.tar.gz 2421362 BLAKE2B 
ab59a649e8bc08d706536f994f0462505cea39828072884739b1a6434b45fd120e3b8acb51e8e88ec9fe0ce9acc0bfd6a5ff92bb67080724c7b121ef539af16f
 SHA512 
80673d48cd97af1c5ebc67e919f16891ccb20cd30bc06619ddffeb117ad87f82b73f9b9bda6d36829bc51a35aa3c9b2af7c879ec665cc9664bdd86ac6510095b

diff --git a/dev-python/redis-py/redis-py-4.2.2.ebuild 
b/dev-python/redis-py/redis-py-4.2.2.ebuild
new file mode 100644
index ..b9f87178642f
--- /dev/null
+++ b/dev-python/redis-py/redis-py-4.2.2.ebuild
@@ -0,0 +1,82 @@
+# 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/async_timeout-4.0.2[${PYTHON_USEDEP}]
+   >=dev-python/deprecated-1.2.3[${PYTHON_USEDEP}]
+   >=dev-python/packaging-20.4[${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
+
+   # 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-03-31 Thread Michał Górny
commit: 7180d55e08bb8e412d89169a9526562c9905584f
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 31 10:19:59 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 31 11:32:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7180d55e

dev-python/redis-py: Bump to 4.2.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/Manifest  |  1 +
 dev-python/redis-py/redis-py-4.2.1.ebuild | 81 +++
 2 files changed, 82 insertions(+)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index ca8bda70fdd7..9100e8f6acf8 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,2 +1,3 @@
 DIST redis-py-4.1.4.tar.gz 2352106 BLAKE2B 
a7f40d381e3e1d295d2ce88f0adb897704d0065ee7d5bb00108c2c8c67ef649ea63d4ca06dbbe2b21b2f92d70d96f8e2d32a7992ecf702bb4c73589f30c1bae8
 SHA512 
6dd1bc7622529382901b2fe6e63a5f9d6a4b89175b486c879a63cc8f0e708737431dfe5b834124f0d33f34540ac54813a0e6953bbed3a9dbd226597b4b1cb3ae
 DIST redis-py-4.2.0.tar.gz 2419627 BLAKE2B 
a4429e17dc90289032c5b98cd482fc6e1349b4b63b2c3f289be1df9d0c667a9f568cbee71d34f88c140fbebf2b0061e9bb3426f1548bccf3c0767c040419251b
 SHA512 
3c4c7f859e63ebadf8d4b01ce14d789caffa18b1f177b6a2269737cb20259dc0165773b1c838c3c08edeea790976183b156f886815b42ea709b4b3a0f2aa3354
+DIST redis-py-4.2.1.tar.gz 2420026 BLAKE2B 
2e2ef024dc22ad8447bd0b0c9e2318b5c55568e7a93a73f8f264e5af839d50c7c44d98669d19ddc2a9a6440eaafa8842ebeb749b9b22db83d691dab5421fd774
 SHA512 
3499126d2c19f599e5bc026c3b66ec99639b2746ef0091ba8bea45cf969d39831e1f2ad47f0ba4c65131d4f248320a8b7d2862c5abb289e46555cd3fc6239674

diff --git a/dev-python/redis-py/redis-py-4.2.1.ebuild 
b/dev-python/redis-py/redis-py-4.2.1.ebuild
new file mode 100644
index ..bdf92ea29be5
--- /dev/null
+++ b/dev-python/redis-py/redis-py-4.2.1.ebuild
@@ -0,0 +1,81 @@
+# 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/async_timeout-4.0.2[${PYTHON_USEDEP}]
+   >=dev-python/deprecated-1.2.3[${PYTHON_USEDEP}]
+   >=dev-python/packaging-20.4[${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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-03-24 Thread Michał Górny
commit: ab6508e583460cc0c3b2c8338a5de2d98dec2687
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 24 09:50:23 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 24 10:18:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab6508e5

dev-python/redis-py: Bump to 4.2.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/Manifest  |  1 +
 dev-python/redis-py/redis-py-4.2.0.ebuild | 88 +++
 2 files changed, 89 insertions(+)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index 3a03302e5632..ca8bda70fdd7 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1 +1,2 @@
 DIST redis-py-4.1.4.tar.gz 2352106 BLAKE2B 
a7f40d381e3e1d295d2ce88f0adb897704d0065ee7d5bb00108c2c8c67ef649ea63d4ca06dbbe2b21b2f92d70d96f8e2d32a7992ecf702bb4c73589f30c1bae8
 SHA512 
6dd1bc7622529382901b2fe6e63a5f9d6a4b89175b486c879a63cc8f0e708737431dfe5b834124f0d33f34540ac54813a0e6953bbed3a9dbd226597b4b1cb3ae
+DIST redis-py-4.2.0.tar.gz 2419627 BLAKE2B 
a4429e17dc90289032c5b98cd482fc6e1349b4b63b2c3f289be1df9d0c667a9f568cbee71d34f88c140fbebf2b0061e9bb3426f1548bccf3c0767c040419251b
 SHA512 
3c4c7f859e63ebadf8d4b01ce14d789caffa18b1f177b6a2269737cb20259dc0165773b1c838c3c08edeea790976183b156f886815b42ea709b4b3a0f2aa3354

diff --git a/dev-python/redis-py/redis-py-4.2.0.ebuild 
b/dev-python/redis-py/redis-py-4.2.0.ebuild
new file mode 100644
index ..e13112f1a58c
--- /dev/null
+++ b/dev-python/redis-py/redis-py-4.2.0.ebuild
@@ -0,0 +1,88 @@
+# 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/async_timeout-4.0.2[${PYTHON_USEDEP}]
+   >=dev-python/deprecated-1.2.3[${PYTHON_USEDEP}]
+   >=dev-python/packaging-20.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-db/redis
+   dev-python/pytest-timeout[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+   # not used by our impls
+   # https://github.com/redis/redis-py/pull/2062
+   sed -i -e '/typing-extensions/d' setup.py || die
+   distutils-r1_src_prepare
+}
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-03-16 Thread Michał Górny
commit: 96d16f46d8d6e66d9d6d254b742d0e50b40c926c
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar 16 21:36:03 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Mar 16 21:41:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96d16f46

dev-python/redis-py: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/Manifest  |  2 -
 dev-python/redis-py/redis-py-4.1.2.ebuild | 77 --
 dev-python/redis-py/redis-py-4.1.3.ebuild | 78 ---
 3 files changed, 157 deletions(-)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index 42c5e9bf3007..3a03302e5632 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,3 +1 @@
-DIST redis-py-4.1.2.tar.gz 2349862 BLAKE2B 
3e68918654e63c3403f2408350b2a877027a3c3990b623818332e0e77e1fbaa413e85912ea586a90788a87e0206ebe408ab55df522864dc534907c31a690c0c1
 SHA512 
beb6e50051eae61e84e7cf37f9f3e3efbc404d49e506b0b3bdae0d0c45fd940f12c801434a6394505519bf327b5933c076ad4f8c66ad812441bc08b3aa682542
-DIST redis-py-4.1.3.tar.gz 2349885 BLAKE2B 
d1c16a88e7ec70cf2b954fa9cf841f971c02023b7c9387e3e680e16972d546347ee454febf096e54f7bfcd4dabf163e22e1a0ba3186cbb9417cdd7a613d5a992
 SHA512 
797c1ee4ff4f0e32b52add5bc1cc81fd36cb1eb4d6f9328b38dca46c79a01bc105bc172f56d3bea20d802ee7a6eb934c2ee3ab5f611a49d77f9c4c50d7a4b0d8
 DIST redis-py-4.1.4.tar.gz 2352106 BLAKE2B 
a7f40d381e3e1d295d2ce88f0adb897704d0065ee7d5bb00108c2c8c67ef649ea63d4ca06dbbe2b21b2f92d70d96f8e2d32a7992ecf702bb4c73589f30c1bae8
 SHA512 
6dd1bc7622529382901b2fe6e63a5f9d6a4b89175b486c879a63cc8f0e708737431dfe5b834124f0d33f34540ac54813a0e6953bbed3a9dbd226597b4b1cb3ae

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 7c10c028f214..
--- 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.3.ebuild 
b/dev-python/redis-py/redis-py-4.1.3.ebuild
deleted file mode 100644
index c0b0dc09baf3..
--- a/dev-python/redis-py/redis-py-4.1.3.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
-
-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"

[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-03-16 Thread Jakov Smolić
commit: 2a746e057253018bd2cfb77907df0c583d2b5006
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Mar 16 19:20:17 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Mar 16 19:20:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a746e05

dev-python/redis-py: Stabilize 4.1.4 ALLARCHES, #835280

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/redis-py/redis-py-4.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-4.1.4.ebuild 
b/dev-python/redis-py/redis-py-4.1.4.ebuild
index 1db716a68e71..8799af06d05c 100644
--- a/dev-python/redis-py/redis-py-4.1.4.ebuild
+++ b/dev-python/redis-py/redis-py-4.1.4.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86"
 
 RDEPEND="
dev-python/deprecated[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-03-08 Thread Jakov Smolić
commit: 6650f5938a09615970813d1b6e2cbe43afd99f70
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Mar  8 17:11:04 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Mar  8 17:11:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6650f593

dev-python/redis-py: Keyword 4.1.4 riscv, #834786

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/redis-py/redis-py-4.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-4.1.4.ebuild 
b/dev-python/redis-py/redis-py-4.1.4.ebuild
index c0b0dc09baf3..1db716a68e71 100644
--- a/dev-python/redis-py/redis-py-4.1.4.ebuild
+++ b/dev-python/redis-py/redis-py-4.1.4.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
 
 RDEPEND="
dev-python/deprecated[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-02-17 Thread Michał Górny
commit: 9502205eb09e0119fad463737a19b14a28a818cd
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Feb 17 20:13:23 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Feb 17 20:13:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9502205e

dev-python/redis-py: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/Manifest  |  2 -
 dev-python/redis-py/redis-py-4.1.0.ebuild | 78 ---
 dev-python/redis-py/redis-py-4.1.1.ebuild | 78 ---
 3 files changed, 158 deletions(-)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index d7d38713b654..42c5e9bf3007 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,5 +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
 DIST redis-py-4.1.3.tar.gz 2349885 BLAKE2B 
d1c16a88e7ec70cf2b954fa9cf841f971c02023b7c9387e3e680e16972d546347ee454febf096e54f7bfcd4dabf163e22e1a0ba3186cbb9417cdd7a613d5a992
 SHA512 
797c1ee4ff4f0e32b52add5bc1cc81fd36cb1eb4d6f9328b38dca46c79a01bc105bc172f56d3bea20d802ee7a6eb934c2ee3ab5f611a49d77f9c4c50d7a4b0d8
 DIST redis-py-4.1.4.tar.gz 2352106 BLAKE2B 
a7f40d381e3e1d295d2ce88f0adb897704d0065ee7d5bb00108c2c8c67ef649ea63d4ca06dbbe2b21b2f92d70d96f8e2d32a7992ecf702bb4c73589f30c1bae8
 SHA512 
6dd1bc7622529382901b2fe6e63a5f9d6a4b89175b486c879a63cc8f0e708737431dfe5b834124f0d33f34540ac54813a0e6953bbed3a9dbd226597b4b1cb3ae

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..
--- 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 

[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-02-17 Thread Arthur Zamarin
commit: 4e984246fc9d639ce467bdad85fd377ffbefca4c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Feb 17 19:30:39 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Feb 17 19:30:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e984246

dev-python/redis-py: Stabilize 4.1.2 ALLARCHES, #833542

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/redis-py/redis-py-4.1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-4.1.2.ebuild 
b/dev-python/redis-py/redis-py-4.1.2.ebuild
index 9f99d80d3b5d..7c10c028f214 100644
--- a/dev-python/redis-py/redis-py-4.1.2.ebuild
+++ b/dev-python/redis-py/redis-py-4.1.2.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 sparc x86"
 
 RDEPEND="
dev-python/deprecated[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-02-16 Thread Michał Górny
commit: 438396359d9a5d6c2a1307de2be9a442e32c5357
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb 16 22:09:15 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb 16 22:34:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43839635

dev-python/redis-py: Bump to 4.1.4

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/Manifest  |  1 +
 dev-python/redis-py/redis-py-4.1.4.ebuild | 78 +++
 2 files changed, 79 insertions(+)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index ff2d0e2bb226..d7d38713b654 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -2,3 +2,4 @@ DIST redis-py-4.1.0.tar.gz 2346542 BLAKE2B 
3d59f904f376df7bca14dcd7bc8547d7a7b41
 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
 DIST redis-py-4.1.3.tar.gz 2349885 BLAKE2B 
d1c16a88e7ec70cf2b954fa9cf841f971c02023b7c9387e3e680e16972d546347ee454febf096e54f7bfcd4dabf163e22e1a0ba3186cbb9417cdd7a613d5a992
 SHA512 
797c1ee4ff4f0e32b52add5bc1cc81fd36cb1eb4d6f9328b38dca46c79a01bc105bc172f56d3bea20d802ee7a6eb934c2ee3ab5f611a49d77f9c4c50d7a4b0d8
+DIST redis-py-4.1.4.tar.gz 2352106 BLAKE2B 
a7f40d381e3e1d295d2ce88f0adb897704d0065ee7d5bb00108c2c8c67ef649ea63d4ca06dbbe2b21b2f92d70d96f8e2d32a7992ecf702bb4c73589f30c1bae8
 SHA512 
6dd1bc7622529382901b2fe6e63a5f9d6a4b89175b486c879a63cc8f0e708737431dfe5b834124f0d33f34540ac54813a0e6953bbed3a9dbd226597b4b1cb3ae

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 ..c0b0dc09baf3
--- /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 ~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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-02-08 Thread Michał Górny
commit: 9058d9d712aca9fcb98df0a643620fed0e2a2dbd
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb  8 08:31:02 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb  8 09:42:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9058d9d7

dev-python/redis-py: Bump to 4.1.3

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/Manifest  |  1 +
 dev-python/redis-py/redis-py-4.1.3.ebuild | 78 +++
 2 files changed, 79 insertions(+)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index 216f67127eae..ff2d0e2bb226 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,3 +1,4 @@
 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
+DIST redis-py-4.1.3.tar.gz 2349885 BLAKE2B 
d1c16a88e7ec70cf2b954fa9cf841f971c02023b7c9387e3e680e16972d546347ee454febf096e54f7bfcd4dabf163e22e1a0ba3186cbb9417cdd7a613d5a992
 SHA512 
797c1ee4ff4f0e32b52add5bc1cc81fd36cb1eb4d6f9328b38dca46c79a01bc105bc172f56d3bea20d802ee7a6eb934c2ee3ab5f611a49d77f9c4c50d7a4b0d8

diff --git a/dev-python/redis-py/redis-py-4.1.3.ebuild 
b/dev-python/redis-py/redis-py-4.1.3.ebuild
new file mode 100644
index ..c0b0dc09baf3
--- /dev/null
+++ b/dev-python/redis-py/redis-py-4.1.3.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 ~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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-01-27 Thread Arthur Zamarin
commit: 47bb2f82160eaa82af7df45e65e7e4f82e594b1f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Jan 27 19:36:21 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Jan 27 19:36:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47bb2f82

dev-python/redis-py: add 4.1.2

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/redis-py/Manifest  |  1 +
 dev-python/redis-py/redis-py-4.1.2.ebuild | 77 +++
 2 files changed, 78 insertions(+)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index 8d2196ffa355..216f67127eae 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,2 +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

diff --git a/dev-python/redis-py/redis-py-4.1.2.ebuild 
b/dev-python/redis-py/redis-py-4.1.2.ebuild
new file mode 100644
index ..9f99d80d3b5d
--- /dev/null
+++ b/dev-python/redis-py/redis-py-4.1.2.ebuild
@@ -0,0 +1,77 @@
+# 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-01-26 Thread Michał Górny
commit: a72b76eb5f478c7783079e53e3a476f0fdd1cbed
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan 26 20:16:44 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan 26 20:18:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a72b76eb

dev-python/redis-py: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/Manifest  |  1 -
 dev-python/redis-py/redis-py-4.0.2.ebuild | 63 ---
 2 files changed, 64 deletions(-)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index 6c8d91b6828a..8d2196ffa355 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,3 +1,2 @@
-DIST redis-py-4.0.2.tar.gz 2262717 BLAKE2B 
7db99843b4ee354b0841de1cacca001901b0614868e6cd545edb0f3705b7dc7d7a0ee755e2184ec1fb080a845a2f193ff5ab5a4dd99006eed6b9a1c89fbee131
 SHA512 
3f73ddd2ceb551fa447cfb4ecdc1d393957bbfd8c184ae3d357f9f47fff860f1c4684ec0fc3cb85fea530454456c17a98a2a56e592bef4cd9ad17bb405c1a0f7
 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

diff --git a/dev-python/redis-py/redis-py-4.0.2.ebuild 
b/dev-python/redis-py/redis-py-4.0.2.ebuild
deleted file mode 100644
index fac315489b31..
--- a/dev-python/redis-py/redis-py-4.0.2.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2021 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() {
-   local EPYTEST_DESELECT=(
-   # flaky test
-   tests/test_pubsub.py::TestPubSubDeadlock::test_pubsub_deadlock
-   )
-
-   epytest -k "not redismod"
-}
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-01-26 Thread Arthur Zamarin
commit: 75cf25c7eab1521c39af4daca3e832c2245b45d4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Jan 26 19:57:11 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Jan 26 19:57:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75cf25c7

dev-python/redis-py: Stabilize 4.1.0 ALLARCHES, #832116

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/redis-py/redis-py-4.1.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/redis-py/redis-py-4.1.0.ebuild 
b/dev-python/redis-py/redis-py-4.1.0.ebuild
index b2304d31625f..41ddbc63a286 100644
--- a/dev-python/redis-py/redis-py-4.1.0.ebuild
+++ b/dev-python/redis-py/redis-py-4.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 sparc x86"
 
 RDEPEND="
dev-python/deprecated[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2022-01-17 Thread Arthur Zamarin
commit: aed44d016e6e9e41230ddb87cc41f558715421d5
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Jan 17 12:12:51 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Jan 17 12:33:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aed44d01

dev-python/redis-py: add 4.1.1

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/redis-py/Manifest  |  1 +
 dev-python/redis-py/redis-py-4.1.1.ebuild | 78 +++
 2 files changed, 79 insertions(+)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index bf30c0e2579a..6c8d91b6828a 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,2 +1,3 @@
 DIST redis-py-4.0.2.tar.gz 2262717 BLAKE2B 
7db99843b4ee354b0841de1cacca001901b0614868e6cd545edb0f3705b7dc7d7a0ee755e2184ec1fb080a845a2f193ff5ab5a4dd99006eed6b9a1c89fbee131
 SHA512 
3f73ddd2ceb551fa447cfb4ecdc1d393957bbfd8c184ae3d357f9f47fff860f1c4684ec0fc3cb85fea530454456c17a98a2a56e592bef4cd9ad17bb405c1a0f7
 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

diff --git a/dev-python/redis-py/redis-py-4.1.1.ebuild 
b/dev-python/redis-py/redis-py-4.1.1.ebuild
new file mode 100644
index ..f0d7b85ac0f9
--- /dev/null
+++ b/dev-python/redis-py/redis-py-4.1.1.ebuild
@@ -0,0 +1,78 @@
+# 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2021-12-26 Thread Sam James
commit: 09a8c1def7052dbc52eefb7d2a2f13dadf724e64
Author: Sam James  gentoo  org>
AuthorDate: Mon Dec 27 02:47:34 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec 27 02:47:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09a8c1de

dev-python/redis-py: add 4.1.0

Signed-off-by: Sam James  gentoo.org>

 dev-python/redis-py/Manifest  |  1 +
 dev-python/redis-py/redis-py-4.1.0.ebuild | 78 +++
 2 files changed, 79 insertions(+)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index 5f684546ee7f..bf30c0e2579a 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1 +1,2 @@
 DIST redis-py-4.0.2.tar.gz 2262717 BLAKE2B 
7db99843b4ee354b0841de1cacca001901b0614868e6cd545edb0f3705b7dc7d7a0ee755e2184ec1fb080a845a2f193ff5ab5a4dd99006eed6b9a1c89fbee131
 SHA512 
3f73ddd2ceb551fa447cfb4ecdc1d393957bbfd8c184ae3d357f9f47fff860f1c4684ec0fc3cb85fea530454456c17a98a2a56e592bef4cd9ad17bb405c1a0f7
+DIST redis-py-4.1.0.tar.gz 2346542 BLAKE2B 
3d59f904f376df7bca14dcd7bc8547d7a7b41b8d934a50ade6dbf5e74f3da8deef59b3b7cf683fe3c7389859f76fe1d3307f91b52250da945f91b90c629640ab
 SHA512 
85cd09570f4faf34a735befd0677aa8ca2cb0d62b0285c4c040380c2440f2774e47762ec4219381294465343353a15804b96f06b4d6eefa7159a224eb9e72001

diff --git a/dev-python/redis-py/redis-py-4.1.0.ebuild 
b/dev-python/redis-py/redis-py-4.1.0.ebuild
new file mode 100644
index ..b2304d31625f
--- /dev/null
+++ b/dev-python/redis-py/redis-py-4.1.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2021 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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/files/, dev-python/redis-py/

2021-12-24 Thread Michał Górny
commit: 07718e1dd14ac33f2a272f2302fed946bdb664b7
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Dec 24 08:10:48 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Dec 24 08:34:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07718e1d

dev-python/redis-py: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/Manifest   |  1 -
 .../files/redis-py-3.5.3-fix-user-tests.patch  | 72 ---
 dev-python/redis-py/redis-py-3.5.3.ebuild  | 80 --
 3 files changed, 153 deletions(-)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index 60c1bce0736f..5f684546ee7f 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,2 +1 @@
-DIST redis-py-3.5.3.tar.gz 141112 BLAKE2B 
b953d553a3cfa2d6ba6f5aa35dfaf93865acbfad0e901a96082c3b1c027dc23b6ceedde185f24e86772522fbbf4f0a4d18e115a6b40aff6a65450bbe397d5c07
 SHA512 
eae6ac6b3e0f1366a9c29e5e2d9a5210e4627e62e3006159b1c290f36cd9c1c2c12cafe0944f7a010e04632b517874f230aa9411491993b7ecf2080546217206
 DIST redis-py-4.0.2.tar.gz 2262717 BLAKE2B 
7db99843b4ee354b0841de1cacca001901b0614868e6cd545edb0f3705b7dc7d7a0ee755e2184ec1fb080a845a2f193ff5ab5a4dd99006eed6b9a1c89fbee131
 SHA512 
3f73ddd2ceb551fa447cfb4ecdc1d393957bbfd8c184ae3d357f9f47fff860f1c4684ec0fc3cb85fea530454456c17a98a2a56e592bef4cd9ad17bb405c1a0f7

diff --git a/dev-python/redis-py/files/redis-py-3.5.3-fix-user-tests.patch 
b/dev-python/redis-py/files/redis-py-3.5.3-fix-user-tests.patch
deleted file mode 100644
index 36ff4b0bf60a..
--- a/dev-python/redis-py/files/redis-py-3.5.3-fix-user-tests.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-diff --git a/tests/test_commands.py b/tests/test_commands.py
-index 65e877c..448d30c 100644
 a/tests/test_commands.py
-+++ b/tests/test_commands.py
-@@ -105,25 +105,24 @@ class TestRedisCommands(object):
- 
- # test enabled=False
- assert r.acl_setuser(username, enabled=False, reset=True)
--assert r.acl_getuser(username) == {
--'categories': ['-@all'],
--'commands': [],
--'enabled': False,
--'flags': ['off'],
--'keys': [],
--'passwords': [],
--}
-+acl = r.acl_getuser(username)
-+assert acl['categories'] == ['-@all']
-+assert acl['commands'] == []
-+assert acl['keys'] == []
-+assert acl['passwords'] == []
-+assert 'off' in acl['flags']
-+assert acl['enabled'] is False
- 
- # test nopass=True
- assert r.acl_setuser(username, enabled=True, reset=True, nopass=True)
--assert r.acl_getuser(username) == {
--'categories': ['-@all'],
--'commands': [],
--'enabled': True,
--'flags': ['on', 'nopass'],
--'keys': [],
--'passwords': [],
--}
-+acl = r.acl_getuser(username)
-+assert acl['categories'] == ['-@all']
-+assert acl['commands'] == []
-+assert acl['keys'] == []
-+assert acl['passwords'] == []
-+assert 'on' in acl['flags']
-+assert 'nopass' in acl['flags']
-+assert acl['enabled'] is True
- 
- # test all args
- assert r.acl_setuser(username, enabled=True, reset=True,
-@@ -135,7 +134,7 @@ class TestRedisCommands(object):
- assert set(acl['categories']) == set(['-@all', '+@set', '+@hash'])
- assert set(acl['commands']) == set(['+get', '+mget', '-hset'])
- assert acl['enabled'] is True
--assert acl['flags'] == ['on']
-+assert 'on' in acl['flags']
- assert set(acl['keys']) == set([b'cache:*', b'objects:*'])
- assert len(acl['passwords']) == 2
- 
-@@ -154,7 +153,7 @@ class TestRedisCommands(object):
- assert set(acl['categories']) == set(['-@all', '+@set', '+@hash'])
- assert set(acl['commands']) == set(['+get', '+mget'])
- assert acl['enabled'] is True
--assert acl['flags'] == ['on']
-+assert 'on' in acl['flags']
- assert set(acl['keys']) == set([b'cache:*', b'objects:*'])
- assert len(acl['passwords']) == 2
- 
-@@ -193,7 +192,7 @@ class TestRedisCommands(object):
- 
- assert r.acl_setuser(username, enabled=False, reset=True)
- users = r.acl_list()
--assert 'user %s off -@all' % username in users
-+assert len(users) == 2
- 
- @skip_if_server_version_lt(REDIS_6_VERSION)
- def test_acl_setuser_categories_without_prefix_fails(self, r, request):

diff --git a/dev-python/redis-py/redis-py-3.5.3.ebuild 
b/dev-python/redis-py/redis-py-3.5.3.ebuild
deleted file mode 100644
index bd3db6072183..
--- a/dev-python/redis-py/redis-py-3.5.3.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} 

[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2021-12-23 Thread Agostino Sarubbo
commit: 82d7eb3fc623c7001aed4df988c3a66e0fe4c3a0
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Dec 24 07:23:23 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Dec 24 07:23:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82d7eb3f

dev-python/redis-py: x86 stable wrt bug #829881

Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/redis-py/redis-py-4.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-4.0.2.ebuild 
b/dev-python/redis-py/redis-py-4.0.2.ebuild
index aa60ea4127bb..fac315489b31 100644
--- a/dev-python/redis-py/redis-py-4.0.2.ebuild
+++ b/dev-python/redis-py/redis-py-4.0.2.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 sparc x86"
 
 RDEPEND="
dev-python/deprecated[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2021-12-23 Thread Agostino Sarubbo
commit: 9d73ebd9971d57481ca075d0d2d7593aa6c23647
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Dec 24 07:07:02 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Dec 24 07:07:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d73ebd9

dev-python/redis-py: amd64 stable wrt bug #829881

Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/redis-py/redis-py-4.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-4.0.2.ebuild 
b/dev-python/redis-py/redis-py-4.0.2.ebuild
index ffac37361292..aa60ea4127bb 100644
--- a/dev-python/redis-py/redis-py-4.0.2.ebuild
+++ b/dev-python/redis-py/redis-py-4.0.2.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 arm arm64 ~hppa ppc ppc64 sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 sparc ~x86"
 
 RDEPEND="
dev-python/deprecated[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2021-12-23 Thread Sam James
commit: 0cff7355277c57a5e6beefc0ae811b3cc878da37
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 23 22:41:54 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 23 22:41:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cff7355

dev-python/redis-py: Stabilize 4.0.2 sparc, #829881

Signed-off-by: Sam James  gentoo.org>

 dev-python/redis-py/redis-py-4.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-4.0.2.ebuild 
b/dev-python/redis-py/redis-py-4.0.2.ebuild
index b34d8673f204..ffac37361292 100644
--- a/dev-python/redis-py/redis-py-4.0.2.ebuild
+++ b/dev-python/redis-py/redis-py-4.0.2.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 arm arm64 ~hppa ppc ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 arm arm64 ~hppa ppc ppc64 sparc ~x86"
 
 RDEPEND="
dev-python/deprecated[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2021-12-23 Thread Arthur Zamarin
commit: 6132a43fe17cc14f936694540b4af06cc2229f41
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Dec 23 18:27:40 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Dec 23 18:27:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6132a43f

dev-python/redis-py: Stabilize 4.0.2 ppc64, #829881

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/redis-py/redis-py-4.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-4.0.2.ebuild 
b/dev-python/redis-py/redis-py-4.0.2.ebuild
index bcd8de715d4c..b34d8673f204 100644
--- a/dev-python/redis-py/redis-py-4.0.2.ebuild
+++ b/dev-python/redis-py/redis-py-4.0.2.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 arm arm64 ~hppa ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 arm arm64 ~hppa ppc ppc64 ~sparc ~x86"
 
 RDEPEND="
dev-python/deprecated[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2021-12-23 Thread Arthur Zamarin
commit: 628c4f18178e5f3efdb098aa4d9f4389ff0eacc8
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Dec 23 18:27:37 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Dec 23 18:27:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=628c4f18

dev-python/redis-py: Stabilize 4.0.2 ppc, #829881

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/redis-py/redis-py-4.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-4.0.2.ebuild 
b/dev-python/redis-py/redis-py-4.0.2.ebuild
index a292d3b2b34d..bcd8de715d4c 100644
--- a/dev-python/redis-py/redis-py-4.0.2.ebuild
+++ b/dev-python/redis-py/redis-py-4.0.2.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 arm arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 arm arm64 ~hppa ppc ~ppc64 ~sparc ~x86"
 
 RDEPEND="
dev-python/deprecated[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2021-12-23 Thread Arthur Zamarin
commit: 3ca4bef7b47b7ee2707646df28ce010f42cc8d88
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Dec 23 18:27:33 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Dec 23 18:27:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ca4bef7

dev-python/redis-py: Stabilize 4.0.2 arm, #829881

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/redis-py/redis-py-4.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-4.0.2.ebuild 
b/dev-python/redis-py/redis-py-4.0.2.ebuild
index aa9e65935f72..a292d3b2b34d 100644
--- a/dev-python/redis-py/redis-py-4.0.2.ebuild
+++ b/dev-python/redis-py/redis-py-4.0.2.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 arm arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
 
 RDEPEND="
dev-python/deprecated[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2021-12-23 Thread Arthur Zamarin
commit: 35242aa933d83170a4f294e5211b680fd51c499b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Dec 23 18:20:49 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Dec 23 18:20:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35242aa9

dev-python/redis-py: Stabilize 4.0.2 arm64, #829881

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/redis-py/redis-py-4.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-4.0.2.ebuild 
b/dev-python/redis-py/redis-py-4.0.2.ebuild
index e5d090f56dec..aa9e65935f72 100644
--- a/dev-python/redis-py/redis-py-4.0.2.ebuild
+++ b/dev-python/redis-py/redis-py-4.0.2.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
 
 RDEPEND="
dev-python/deprecated[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2021-12-04 Thread Arthur Zamarin
commit: cd76e36db5b3723f3e605186254054a1146c5cb9
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec  4 17:40:57 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec  4 17:43:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd76e36d

dev-python/redis-py: Keyword 4.0.2 ppc, #826690

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/redis-py/redis-py-4.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-4.0.2.ebuild 
b/dev-python/redis-py/redis-py-4.0.2.ebuild
index ca86672f1d75..7e1e9f8f67bb 100644
--- a/dev-python/redis-py/redis-py-4.0.2.ebuild
+++ b/dev-python/redis-py/redis-py-4.0.2.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
 
 RDEPEND="
dev-python/deprecated[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2021-12-04 Thread Arthur Zamarin
commit: a777e3a9a5c3cb92c4b44158b33fea9d230a1b38
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec  4 17:41:00 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec  4 17:43:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a777e3a9

dev-python/redis-py: Keyword 4.0.2 hppa, #826690

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/redis-py/redis-py-4.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-4.0.2.ebuild 
b/dev-python/redis-py/redis-py-4.0.2.ebuild
index 7e1e9f8f67bb..e5d090f56dec 100644
--- a/dev-python/redis-py/redis-py-4.0.2.ebuild
+++ b/dev-python/redis-py/redis-py-4.0.2.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
 
 RDEPEND="
dev-python/deprecated[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2021-11-25 Thread Arthur Zamarin
commit: d6b8d6727b97c8ea080094a1b32eb3128c217d42
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Nov 25 20:28:01 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Nov 25 20:28:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6b8d672

dev-python/redis-py: Keyword 4.0.2 ppc64, #826690

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/redis-py/redis-py-4.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-4.0.2.ebuild 
b/dev-python/redis-py/redis-py-4.0.2.ebuild
index c03960bc5273..ca86672f1d75 100644
--- a/dev-python/redis-py/redis-py-4.0.2.ebuild
+++ b/dev-python/redis-py/redis-py-4.0.2.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~sparc ~x86"
 
 RDEPEND="
dev-python/deprecated[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2021-11-24 Thread Sam James
commit: d8f048eb477a1f9f4e46ee50d0e51ca44ebf47b1
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Thu Nov 25 06:33:09 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov 25 06:47:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8f048eb

dev-python/redis-py: keyworded 4.0.2 for sparc, bug #826690

Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sam James  gentoo.org>

 dev-python/redis-py/redis-py-4.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-4.0.2.ebuild 
b/dev-python/redis-py/redis-py-4.0.2.ebuild
index 02fdb1d2b738..c03960bc5273 100644
--- a/dev-python/redis-py/redis-py-4.0.2.ebuild
+++ b/dev-python/redis-py/redis-py-4.0.2.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~sparc ~x86"
 
 RDEPEND="
dev-python/deprecated[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2021-11-24 Thread Sam James
commit: e50402595b2fdae11a34ecefbd36d2353eac5044
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov 25 00:53:58 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov 25 00:53:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5040259

dev-python/redis-py: Keyword 4.0.2 arm, #826690

Signed-off-by: Sam James  gentoo.org>

 dev-python/redis-py/redis-py-4.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-4.0.2.ebuild 
b/dev-python/redis-py/redis-py-4.0.2.ebuild
index d4ccf993d451..02fdb1d2b738 100644
--- a/dev-python/redis-py/redis-py-4.0.2.ebuild
+++ b/dev-python/redis-py/redis-py-4.0.2.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 
 RDEPEND="
dev-python/deprecated[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2021-11-23 Thread Michał Górny
commit: 10e28a3cce27f7aaa6ea6c79dbe4c31ba4912016
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Nov 23 13:27:38 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Nov 23 13:30:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10e28a3c

dev-python/redis-py: Restore python3.8

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/redis-py-4.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-4.0.2.ebuild 
b/dev-python/redis-py/redis-py-4.0.2.ebuild
index 892a3038f10e..d4ccf993d451 100644
--- a/dev-python/redis-py/redis-py-4.0.2.ebuild
+++ b/dev-python/redis-py/redis-py-4.0.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
 inherit distutils-r1
 
 MY_PN="redis"



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2021-11-23 Thread Michał Górny
commit: e5914b594d672c97f4d2acb113aa6c676fd7f352
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Nov 23 13:24:51 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Nov 23 13:30:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5914b59

dev-python/redis-py: Deselect a flaky test

Closes: https://bugs.gentoo.org/826854
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/redis-py-4.0.2.ebuild | 5 +
 1 file changed, 5 insertions(+)

diff --git a/dev-python/redis-py/redis-py-4.0.2.ebuild 
b/dev-python/redis-py/redis-py-4.0.2.ebuild
index e7c09c276083..d43d85672189 100644
--- a/dev-python/redis-py/redis-py-4.0.2.ebuild
+++ b/dev-python/redis-py/redis-py-4.0.2.ebuild
@@ -30,6 +30,11 @@ BDEPEND="
 distutils_enable_tests pytest
 
 python_test() {
+   local EPYTEST_DESELECT=(
+   # flaky test
+   tests/test_pubsub.py::TestPubSubDeadlock::test_pubsub_deadlock
+   )
+
local redis_pid="${T}"/redis.pid
local redis_port=6379
local redis_test_config="



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2021-11-23 Thread Michał Górny
commit: fb90fd3147b8a1b3dd5f620dc759650fec1b1d3c
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Nov 23 13:27:17 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Nov 23 13:30:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb90fd31

dev-python/redis-py: Restore running redis once

Since restarting redis did not resolve the test flakiness, return
to the simpler approach of starting it once for the whole test suite.

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/redis-py-4.0.2.ebuild | 16 ++--
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/dev-python/redis-py/redis-py-4.0.2.ebuild 
b/dev-python/redis-py/redis-py-4.0.2.ebuild
index d43d85672189..892a3038f10e 100644
--- a/dev-python/redis-py/redis-py-4.0.2.ebuild
+++ b/dev-python/redis-py/redis-py-4.0.2.ebuild
@@ -35,6 +35,10 @@ python_test() {
tests/test_pubsub.py::TestPubSubDeadlock::test_pubsub_deadlock
)
 
+   epytest -k "not redismod"
+}
+
+src_test() {
local redis_pid="${T}"/redis.pid
local redis_port=6379
local redis_test_config="
@@ -52,16 +56,8 @@ python_test() {
"${EPREFIX}"/usr/sbin/redis-server - <<< "${redis_test_config}" || die
 
# Run the tests
-   epytest -k "not redismod"
+   distutils-r1_src_test
 
# Clean up afterwards
-   local pid=$(<"${redis_pid}")
-   kill "${pid}" || die
-   local retries=10
-   while [[ -f ${redis_pid} ]]; do
-   sleep 1
-   if [[ $(( retries-- )) -eq 0 ]]; then
-   die "redis did not stop"
-   fi
-   done
+   kill "$(<"${redis_pid}")" || die
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2021-11-23 Thread Michał Górny
commit: ccb18547178ad609081398a3754616da52290f9f
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Nov 23 08:22:15 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Nov 23 08:22:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccb18547

dev-python/redis-py: Add a test dep on pytest-timeout

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/redis-py-4.0.2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/redis-py/redis-py-4.0.2.ebuild 
b/dev-python/redis-py/redis-py-4.0.2.ebuild
index d9c474ea7e29..e7c09c276083 100644
--- a/dev-python/redis-py/redis-py-4.0.2.ebuild
+++ b/dev-python/redis-py/redis-py-4.0.2.ebuild
@@ -23,6 +23,7 @@ RDEPEND="
 BDEPEND="
test? (
dev-db/redis
+   dev-python/pytest-timeout[${PYTHON_USEDEP}]
)
 "
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2021-11-23 Thread Michał Górny
commit: 4b2b76c7b700e31dcdcd41495b4e8778546a98ce
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Nov 23 07:48:51 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Nov 23 08:12:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b2b76c7

dev-python/redis-py: Replace elog with einfo

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/redis-py-4.0.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/redis-py/redis-py-4.0.2.ebuild 
b/dev-python/redis-py/redis-py-4.0.2.ebuild
index ccefac5ea7ba..d9c474ea7e29 100644
--- a/dev-python/redis-py/redis-py-4.0.2.ebuild
+++ b/dev-python/redis-py/redis-py-4.0.2.ebuild
@@ -41,8 +41,8 @@ python_test() {
# 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.
-   elog "Spawning Redis"
-   elog "NOTE: Port ${redis_port} must be free"
+   einfo "Spawning Redis"
+   einfo "NOTE: Port ${redis_port} must be free"
"${EPREFIX}"/usr/sbin/redis-server - <<< "${redis_test_config}" || die
 
# Run the tests



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2021-11-22 Thread Michał Górny
commit: f5e17a96d1a32f638be4ccb3c4bccf2bdf981e18
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Nov 22 22:37:32 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Nov 22 23:04:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5e17a96

dev-python/redis-py: Bump to 4.0.2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/Manifest  |  1 +
 dev-python/redis-py/metadata.xml  |  2 +-
 dev-python/redis-py/redis-py-4.0.2.ebuild | 61 +++
 3 files changed, 63 insertions(+), 1 deletion(-)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index fb2f7d6f986a..60c1bce0736f 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1 +1,2 @@
 DIST redis-py-3.5.3.tar.gz 141112 BLAKE2B 
b953d553a3cfa2d6ba6f5aa35dfaf93865acbfad0e901a96082c3b1c027dc23b6ceedde185f24e86772522fbbf4f0a4d18e115a6b40aff6a65450bbe397d5c07
 SHA512 
eae6ac6b3e0f1366a9c29e5e2d9a5210e4627e62e3006159b1c290f36cd9c1c2c12cafe0944f7a010e04632b517874f230aa9411491993b7ecf2080546217206
+DIST redis-py-4.0.2.tar.gz 2262717 BLAKE2B 
7db99843b4ee354b0841de1cacca001901b0614868e6cd545edb0f3705b7dc7d7a0ee755e2184ec1fb080a845a2f193ff5ab5a4dd99006eed6b9a1c89fbee131
 SHA512 
3f73ddd2ceb551fa447cfb4ecdc1d393957bbfd8c184ae3d357f9f47fff860f1c4684ec0fc3cb85fea530454456c17a98a2a56e592bef4cd9ad17bb405c1a0f7

diff --git a/dev-python/redis-py/metadata.xml b/dev-python/redis-py/metadata.xml
index 93aefe765a0d..998ac9ce8e08 100644
--- a/dev-python/redis-py/metadata.xml
+++ b/dev-python/redis-py/metadata.xml
@@ -12,6 +12,6 @@
   
   
 redis
-andymccurdy/redis-py
+redis/redis-py
   
 

diff --git a/dev-python/redis-py/redis-py-4.0.2.ebuild 
b/dev-python/redis-py/redis-py-4.0.2.ebuild
new file mode 100644
index ..ccefac5ea7ba
--- /dev/null
+++ b/dev-python/redis-py/redis-py-4.0.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..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 ~arm64 ~x86"
+
+RDEPEND="
+   dev-python/deprecated[${PYTHON_USEDEP}]"
+BDEPEND="
+   test? (
+   dev-db/redis
+   )
+"
+
+distutils_enable_tests pytest
+
+python_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.
+   elog "Spawning Redis"
+   elog "NOTE: Port ${redis_port} must be free"
+   "${EPREFIX}"/usr/sbin/redis-server - <<< "${redis_test_config}" || die
+
+   # Run the tests
+   epytest -k "not redismod"
+
+   # Clean up afterwards
+   local pid=$(<"${redis_pid}")
+   kill "${pid}" || die
+   local retries=10
+   while [[ -f ${redis_pid} ]]; do
+   sleep 1
+   if [[ $(( retries-- )) -eq 0 ]]; then
+   die "redis did not stop"
+   fi
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/, dev-python/redis-py/files/

2021-08-16 Thread Arthur Zamarin
commit: e02921ac791bba8134dfa8e16f194608d69e2def
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Aug 16 06:49:12 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Aug 16 14:17:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e02921ac

dev-python/redis-py: enable py3.10, fix tests

Closes: https://bugs.gentoo.org/774981
Signed-off-by: Arthur Zamarin  gentoo.org>

 .../files/redis-py-3.5.3-fix-user-tests.patch  | 72 ++
 dev-python/redis-py/redis-py-3.5.3.ebuild  | 15 +++--
 2 files changed, 81 insertions(+), 6 deletions(-)

diff --git a/dev-python/redis-py/files/redis-py-3.5.3-fix-user-tests.patch 
b/dev-python/redis-py/files/redis-py-3.5.3-fix-user-tests.patch
new file mode 100644
index 000..36ff4b0bf60
--- /dev/null
+++ b/dev-python/redis-py/files/redis-py-3.5.3-fix-user-tests.patch
@@ -0,0 +1,72 @@
+diff --git a/tests/test_commands.py b/tests/test_commands.py
+index 65e877c..448d30c 100644
+--- a/tests/test_commands.py
 b/tests/test_commands.py
+@@ -105,25 +105,24 @@ class TestRedisCommands(object):
+ 
+ # test enabled=False
+ assert r.acl_setuser(username, enabled=False, reset=True)
+-assert r.acl_getuser(username) == {
+-'categories': ['-@all'],
+-'commands': [],
+-'enabled': False,
+-'flags': ['off'],
+-'keys': [],
+-'passwords': [],
+-}
++acl = r.acl_getuser(username)
++assert acl['categories'] == ['-@all']
++assert acl['commands'] == []
++assert acl['keys'] == []
++assert acl['passwords'] == []
++assert 'off' in acl['flags']
++assert acl['enabled'] is False
+ 
+ # test nopass=True
+ assert r.acl_setuser(username, enabled=True, reset=True, nopass=True)
+-assert r.acl_getuser(username) == {
+-'categories': ['-@all'],
+-'commands': [],
+-'enabled': True,
+-'flags': ['on', 'nopass'],
+-'keys': [],
+-'passwords': [],
+-}
++acl = r.acl_getuser(username)
++assert acl['categories'] == ['-@all']
++assert acl['commands'] == []
++assert acl['keys'] == []
++assert acl['passwords'] == []
++assert 'on' in acl['flags']
++assert 'nopass' in acl['flags']
++assert acl['enabled'] is True
+ 
+ # test all args
+ assert r.acl_setuser(username, enabled=True, reset=True,
+@@ -135,7 +134,7 @@ class TestRedisCommands(object):
+ assert set(acl['categories']) == set(['-@all', '+@set', '+@hash'])
+ assert set(acl['commands']) == set(['+get', '+mget', '-hset'])
+ assert acl['enabled'] is True
+-assert acl['flags'] == ['on']
++assert 'on' in acl['flags']
+ assert set(acl['keys']) == set([b'cache:*', b'objects:*'])
+ assert len(acl['passwords']) == 2
+ 
+@@ -154,7 +153,7 @@ class TestRedisCommands(object):
+ assert set(acl['categories']) == set(['-@all', '+@set', '+@hash'])
+ assert set(acl['commands']) == set(['+get', '+mget'])
+ assert acl['enabled'] is True
+-assert acl['flags'] == ['on']
++assert 'on' in acl['flags']
+ assert set(acl['keys']) == set([b'cache:*', b'objects:*'])
+ assert len(acl['passwords']) == 2
+ 
+@@ -193,7 +192,7 @@ class TestRedisCommands(object):
+ 
+ assert r.acl_setuser(username, enabled=False, reset=True)
+ users = r.acl_list()
+-assert 'user %s off -@all' % username in users
++assert len(users) == 2
+ 
+ @skip_if_server_version_lt(REDIS_6_VERSION)
+ def test_acl_setuser_categories_without_prefix_fails(self, r, request):

diff --git a/dev-python/redis-py/redis-py-3.5.3.ebuild 
b/dev-python/redis-py/redis-py-3.5.3.ebuild
index 6954d82304d..bd3db607218 100644
--- a/dev-python/redis-py/redis-py-3.5.3.ebuild
+++ b/dev-python/redis-py/redis-py-3.5.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
 
 inherit distutils-r1
 
@@ -18,16 +18,21 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
-DEPEND="
+BDEPEND="
test? (
dev-db/redis
dev-python/mock[${PYTHON_USEDEP}]
)
 "
 
+PATCHES=(
+   # https://github.com/andymccurdy/redis-py/issues/1459
+   "${FILESDIR}/${P}-fix-user-tests.patch"
+)
+
+distutils_enable_tests pytest
+
 python_prepare_all() {
distutils-r1_python_prepare_all
 
@@ -73,5 +78,3 @@ src_test() {
# Clean up afterwards
kill "$(<"${redis_pid}")" || die
 }
-
-distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2021-08-16 Thread Arthur Zamarin
commit: 7b24e541f043502b851e8fba9ab0bed5c9b1c316
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Aug 16 06:50:01 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Aug 16 14:17:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b24e541

dev-python/redis-py: remove second instance ALLARCHES

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/redis-py/metadata.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-python/redis-py/metadata.xml b/dev-python/redis-py/metadata.xml
index add34b6842b..0d56d7eae1f 100644
--- a/dev-python/redis-py/metadata.xml
+++ b/dev-python/redis-py/metadata.xml
@@ -14,5 +14,4 @@
 redis
 andymccurdy/redis-py
   
-  
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2021-03-26 Thread Sam James
commit: c2575e285af33d2ed8f2e080ca1df39d26ba95d7
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 27 00:29:01 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 27 00:29:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2575e28

dev-python/redis-py: stabilize 3.5.3: sparc

Signed-off-by: Sam James  gentoo.org>

 dev-python/redis-py/redis-py-3.5.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-3.5.3.ebuild 
b/dev-python/redis-py/redis-py-3.5.3.ebuild
index 840ef98b805..6954d82304d 100644
--- a/dev-python/redis-py/redis-py-3.5.3.ebuild
+++ b/dev-python/redis-py/redis-py-3.5.3.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2021-03-22 Thread Sam James
commit: b9e7781ef2c48705384d07cdf02461bd32f67fd4
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar 22 22:46:38 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 23 04:48:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9e7781e

dev-python/redis-py: style changes, EPREFIX redis binary for tests

Signed-off-by: Sam James  gentoo.org>

 dev-python/redis-py/redis-py-3.5.3.ebuild | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/dev-python/redis-py/redis-py-3.5.3.ebuild 
b/dev-python/redis-py/redis-py-3.5.3.ebuild
index b23499651af..840ef98b805 100644
--- a/dev-python/redis-py/redis-py-3.5.3.ebuild
+++ b/dev-python/redis-py/redis-py-3.5.3.ebuild
@@ -13,6 +13,7 @@ MY_P="${MY_PN}-${PV}"
 DESCRIPTION="Python client for Redis key-value store"
 HOMEPAGE="https://github.com/andymccurdy/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"
@@ -27,8 +28,6 @@ DEPEND="
)
 "
 
-S="${WORKDIR}/${MY_P}"
-
 python_prepare_all() {
distutils-r1_python_prepare_all
 
@@ -54,10 +53,11 @@ python_compile() {
 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
+   local redis_test_config="
+   daemonize yes
+   pidfile ${redis_pid}
+   port ${redis_port}
+   bind 127.0.0.1
"
 
# Spawn Redis itself for testing purposes
@@ -65,7 +65,7 @@ src_test() {
# I'm not restricting tests yet because this doesn't happen for anyone 
else AFAICT.
elog "Spawning Redis"
elog "NOTE: Port ${redis_port} must be free"
-   /usr/sbin/redis-server - <<< "${redis_test_config}" || die
+   "${EPREFIX}"/usr/sbin/redis-server - <<< "${redis_test_config}" || die
 
# Run the tests
distutils-r1_src_test



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2021-01-17 Thread Sam James
commit: fef25d993bc2ffceee0d07cea46e3548202b97ef
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 18 04:42:39 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 18 04:43:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fef25d99

dev-python/redis-py: Keyword 3.5.3 sparc

Package-Manager: Portage-3.0.12.0.2-prefix, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-python/redis-py/redis-py-3.5.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/redis-py/redis-py-3.5.3.ebuild 
b/dev-python/redis-py/redis-py-3.5.3.ebuild
index 38013b4188f..d48be99f69b 100644
--- a/dev-python/redis-py/redis-py-3.5.3.ebuild
+++ b/dev-python/redis-py/redis-py-3.5.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2020-12-19 Thread Sam James
commit: d4b5d31267739fabcb79c3ceab397440c0a12cbb
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 20 06:23:54 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 20 06:23:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4b5d312

dev-python/redis-py: cleanup old

Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-python/redis-py/Manifest   |  1 -
 dev-python/redis-py/redis-py-3.3.11.ebuild | 64 --
 2 files changed, 65 deletions(-)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index d371b403131..fb2f7d6f986 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,2 +1 @@
-DIST redis-py-3.3.11.tar.gz 131072 BLAKE2B 
6becafba3da22bae796a4a9ba55d11a61d9ed1a8b693a734d4ef3f0e463c0c39a05c01546225f69eb36a788779d6e45d0136e1a6d6856ec63c3dd07994b5db9a
 SHA512 
a32327fcebc6242367c0eda6c6dcd1a15d5d575527af2e9de0d76e05bc4afc7402566d9254e467663b81907a310731af3041236b6b135f3b8ff1429a502c1000
 DIST redis-py-3.5.3.tar.gz 141112 BLAKE2B 
b953d553a3cfa2d6ba6f5aa35dfaf93865acbfad0e901a96082c3b1c027dc23b6ceedde185f24e86772522fbbf4f0a4d18e115a6b40aff6a65450bbe397d5c07
 SHA512 
eae6ac6b3e0f1366a9c29e5e2d9a5210e4627e62e3006159b1c290f36cd9c1c2c12cafe0944f7a010e04632b517874f230aa9411491993b7ecf2080546217206

diff --git a/dev-python/redis-py/redis-py-3.3.11.ebuild 
b/dev-python/redis-py/redis-py-3.3.11.ebuild
deleted file mode 100644
index ef36d2f0306..000
--- a/dev-python/redis-py/redis-py-3.3.11.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
-
-inherit distutils-r1
-
-MY_PN="redis"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Python client for Redis key-value store"
-HOMEPAGE="https://github.com/andymccurdy/redis-py;
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND=""
-DEPEND="test? (
-   dev-db/redis
-   dev-python/mock[${PYTHON_USEDEP}]
-   >=dev-python/pytest-2.7.0[${PYTHON_USEDEP}] )"
-
-S="${WORKDIR}/${MY_P}"
-
-python_prepare_all() {
-   distutils-r1_python_prepare_all
-
-   # Make sure that tests will be used from BUILD_DIR rather than cwd.
-   mv tests tests-hidden || die
-
-   # Correct local import patch syntax
-   sed \
-   -e 's:from .conftest:from conftest:' \
-   -e 's:from .test_pubsub:from test_pubsub:' \
-   -i tests-hidden/test_*.py \
-   || die
-}
-
-python_compile() {
-   distutils-r1_python_compile
-
-   if use test; then
-   cp -r tests-hidden "${BUILD_DIR}"/tests || die
-   fi
-}
-
-python_test() {
-   local sock="${T}/redis.sock"
-
-   "${EPREFIX}/usr/sbin/redis-server" - <<- EOF
-   daemonize yes
-   pidfile "${T}/redis.pid"
-   unixsocket ${sock}
-   EOF
-
-   PYTHONPATH="${S}:${S}/tests-hidden"
-   esetup.py test --verbose
-   kill $(<"${T}/redis.pid")
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2020-11-23 Thread Sergei Trofimovich
commit: 13055bfe3437b29555c745b1f6dc1fbf6adbb36e
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Nov 23 16:30:14 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Nov 23 16:38:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13055bfe

dev-python/redis-py: drop to ~hppa

Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/redis-py/redis-py-3.3.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-3.3.11.ebuild 
b/dev-python/redis-py/redis-py-3.3.11.ebuild
index 2179b1db068..ef36d2f0306 100644
--- a/dev-python/redis-py/redis-py-3.3.11.ebuild
+++ b/dev-python/redis-py/redis-py-3.3.11.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2020-09-03 Thread Sam James
commit: cadced1c5496c97c60dc01dcc3a9f7c5844358f0
Author: Sam James  gentoo  org>
AuthorDate: Fri Sep  4 00:42:33 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep  4 00:42:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cadced1c

dev-python/redis-py: mark ALLARCHES

Package-Manager: Portage-3.0.4, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 dev-python/redis-py/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/redis-py/metadata.xml b/dev-python/redis-py/metadata.xml
index 0d56d7eae1f..add34b6842b 100644
--- a/dev-python/redis-py/metadata.xml
+++ b/dev-python/redis-py/metadata.xml
@@ -14,4 +14,5 @@
 redis
 andymccurdy/redis-py
   
+  
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2020-09-03 Thread Sam James
commit: d25238110fbed047e0a84094ce0c1f6674288518
Author: Sam James  gentoo  org>
AuthorDate: Fri Sep  4 00:45:37 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep  4 00:45:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2523811

dev-python/redis-py: Stabilize 0.16.3 ALLARCHES, #739966

Package-Manager: Portage-3.0.4, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 dev-python/redis-py/redis-py-3.5.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-3.5.3.ebuild 
b/dev-python/redis-py/redis-py-3.5.3.ebuild
index d7f577ed3a4..38013b4188f 100644
--- a/dev-python/redis-py/redis-py-3.5.3.ebuild
+++ b/dev-python/redis-py/redis-py-3.5.3.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2020-09-03 Thread Thomas Deutschmann
commit: 16b85c700e58946609c464b51cdeb8737b58108b
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Sep  3 14:27:44 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Sep  3 14:27:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16b85c70

dev-python/redis-py: x86 stable (bug #739966)

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-python/redis-py/redis-py-3.5.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-3.5.3.ebuild 
b/dev-python/redis-py/redis-py-3.5.3.ebuild
index bd958cbad2e..d7f577ed3a4 100644
--- a/dev-python/redis-py/redis-py-3.5.3.ebuild
+++ b/dev-python/redis-py/redis-py-3.5.3.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2020-08-02 Thread Sam James
commit: 3a7a060e4130074a19534e81c9a281f0c7c46903
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug  2 20:22:52 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug  2 20:22:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a7a060e

dev-python/redis-py: join as maintainer

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 dev-python/redis-py/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-python/redis-py/metadata.xml b/dev-python/redis-py/metadata.xml
index 6ead82e64b2..0d56d7eae1f 100644
--- a/dev-python/redis-py/metadata.xml
+++ b/dev-python/redis-py/metadata.xml
@@ -1,6 +1,10 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
+  
+s...@gentoo.org
+Sam James
+  
   
 pyt...@gentoo.org
 Python



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2020-08-02 Thread Sam James
commit: 0b273e55483ad569b59aec58332f4e41168f3ef4
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug  2 20:22:51 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug  2 20:22:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b273e55

dev-python/redis-py: bump to 3.5.3

Changes:
* bump to 3.5.3
* modernise test running; eliminates warning on running tests
  (method was to be removed upstream)

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 dev-python/redis-py/Manifest  |  1 +
 dev-python/redis-py/redis-py-3.5.3.ebuild | 77 +++
 2 files changed, 78 insertions(+)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index 61bdd72bbbd..d371b403131 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1 +1,2 @@
 DIST redis-py-3.3.11.tar.gz 131072 BLAKE2B 
6becafba3da22bae796a4a9ba55d11a61d9ed1a8b693a734d4ef3f0e463c0c39a05c01546225f69eb36a788779d6e45d0136e1a6d6856ec63c3dd07994b5db9a
 SHA512 
a32327fcebc6242367c0eda6c6dcd1a15d5d575527af2e9de0d76e05bc4afc7402566d9254e467663b81907a310731af3041236b6b135f3b8ff1429a502c1000
+DIST redis-py-3.5.3.tar.gz 141112 BLAKE2B 
b953d553a3cfa2d6ba6f5aa35dfaf93865acbfad0e901a96082c3b1c027dc23b6ceedde185f24e86772522fbbf4f0a4d18e115a6b40aff6a65450bbe397d5c07
 SHA512 
eae6ac6b3e0f1366a9c29e5e2d9a5210e4627e62e3006159b1c290f36cd9c1c2c12cafe0944f7a010e04632b517874f230aa9411491993b7ecf2080546217206

diff --git a/dev-python/redis-py/redis-py-3.5.3.ebuild 
b/dev-python/redis-py/redis-py-3.5.3.ebuild
new file mode 100644
index 000..bd958cbad2e
--- /dev/null
+++ b/dev-python/redis-py/redis-py-3.5.3.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
+
+inherit distutils-r1
+
+MY_PN="redis"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Python client for Redis key-value store"
+HOMEPAGE="https://github.com/andymccurdy/redis-py;
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   test? (
+   dev-db/redis
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+"
+
+S="${WORKDIR}/${MY_P}"
+
+python_prepare_all() {
+   distutils-r1_python_prepare_all
+
+   # Make sure that tests will be used from BUILD_DIR rather than cwd.
+   mv tests tests-hidden || die
+
+   # Correct local import patch syntax
+   sed \
+   -e 's:from .conftest:from conftest:' \
+   -e 's:from .test_pubsub:from test_pubsub:' \
+   -i tests-hidden/test_*.py \
+   || die
+}
+
+python_compile() {
+   distutils-r1_python_compile
+
+   if use test; then
+   cp -r tests-hidden "${BUILD_DIR}"/tests || die
+   fi
+}
+
+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.
+   elog "Spawning Redis"
+   elog "NOTE: Port ${redis_port} must be free"
+   /usr/sbin/redis-server - <<< "${redis_test_config}" || die
+
+   # Run the tests
+   distutils-r1_src_test
+
+   # Clean up afterwards
+   kill "$(<"${redis_pid}")" || die
+}
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2020-03-29 Thread Michał Górny
commit: bb17ce9b7c3b717c48b15a8ef4d74f3f253fb014
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Mar 29 07:00:37 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Mar 29 07:00:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb17ce9b

dev-python/redis-py: Mark ALLARCHES

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/redis-py/metadata.xml b/dev-python/redis-py/metadata.xml
index 521781f755c..6ead82e64b2 100644
--- a/dev-python/redis-py/metadata.xml
+++ b/dev-python/redis-py/metadata.xml
@@ -5,6 +5,7 @@
 pyt...@gentoo.org
 Python
   
+  
   
 redis
 andymccurdy/redis-py



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2020-03-29 Thread Michał Górny
commit: 315274d06a96580fb082c958ad52bbf3b14dbdb9
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Mar 29 07:01:03 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Mar 29 07:01:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=315274d0

dev-python/redis-py: Stabilize 3.3.11 ALLARCHES

Closes: https://bugs.gentoo.org/714486
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/redis-py-3.3.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-3.3.11.ebuild 
b/dev-python/redis-py/redis-py-3.3.11.ebuild
index ef36d2f0306..2179b1db068 100644
--- a/dev-python/redis-py/redis-py-3.3.11.ebuild
+++ b/dev-python/redis-py/redis-py-3.3.11.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2020-03-29 Thread Michał Górny
commit: 5a1bc0be79c5c3d285e5bddaccded4ea17a85533
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Mar 29 07:01:24 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Mar 29 07:01:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a1bc0be

dev-python/redis-py: Remove redundant versions

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/redis-py/Manifest  |  1 -
 dev-python/redis-py/redis-py-3.2.1.ebuild | 63 ---
 2 files changed, 64 deletions(-)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index 10df1a71498..61bdd72bbbd 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,2 +1 @@
-DIST redis-py-3.2.1.tar.gz 124692 BLAKE2B 
fc7a773ab0a7e13f034b9efa174806b024733f9263b962599ce72e9a0c88b11964c26081375b6ae2de49939b59a561c145ae1b69c262b801f9b887befe9dcc0a
 SHA512 
be51642a8895325c3c61993dd83c3299a9e2cefc1010e04f182833f720ff161bea43d3a57d28afba991949fcf6e967c4f778002967641bffe651d5db384f2e08
 DIST redis-py-3.3.11.tar.gz 131072 BLAKE2B 
6becafba3da22bae796a4a9ba55d11a61d9ed1a8b693a734d4ef3f0e463c0c39a05c01546225f69eb36a788779d6e45d0136e1a6d6856ec63c3dd07994b5db9a
 SHA512 
a32327fcebc6242367c0eda6c6dcd1a15d5d575527af2e9de0d76e05bc4afc7402566d9254e467663b81907a310731af3041236b6b135f3b8ff1429a502c1000

diff --git a/dev-python/redis-py/redis-py-3.2.1.ebuild 
b/dev-python/redis-py/redis-py-3.2.1.ebuild
deleted file mode 100644
index 77bcb3a7cb9..000
--- a/dev-python/redis-py/redis-py-3.2.1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{6,7} pypy3 )
-
-inherit distutils-r1
-
-MY_PN="redis"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Python client for Redis key-value store"
-HOMEPAGE="https://github.com/andymccurdy/redis-py;
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND=""
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
-   test? (
-   dev-db/redis
-   dev-python/mock[${PYTHON_USEDEP}]
-   >=dev-python/pytest-2.7.0[${PYTHON_USEDEP}] )"
-
-S="${WORKDIR}/${MY_P}"
-
-python_prepare_all() {
-   distutils-r1_python_prepare_all
-
-   # Make sure that tests will be used from BUILD_DIR rather than cwd.
-   mv tests tests-hidden || die
-
-   # Correct local import patch syntax
-   sed -e 's:from .conftest:from conftest:' \
-   -i 
tests-hidden/{test_commands.py,test_connection_pool.py,test_encoding.py,test_lock.py,test_pubsub.py}
 \
-   || die
-}
-
-python_compile() {
-   distutils-r1_python_compile
-
-   if use test; then
-   cp -r tests-hidden "${BUILD_DIR}"/tests || die
-   fi
-}
-
-python_test() {
-   local sock="${T}/redis.sock"
-
-   "${EPREFIX}/usr/sbin/redis-server" - <<- EOF
-   daemonize yes
-   pidfile "${T}/redis.pid"
-   unixsocket ${sock}
-   EOF
-
-   PYTHONPATH="${S}:${S}/tests-hidden"
-   esetup.py test --verbose
-   kill $(<"${T}/redis.pid")
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2020-03-25 Thread Agostino Sarubbo
commit: d4cc4bc7e6625e330aa66ece70baade516060b8c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Mar 25 14:50:52 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Mar 25 14:50:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4cc4bc7

dev-python/redis-py: ppc64 stable wrt bug #714486

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/redis-py/redis-py-3.3.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-3.3.11.ebuild 
b/dev-python/redis-py/redis-py-3.3.11.ebuild
index 98c6a700afc..c7caec123da 100644
--- a/dev-python/redis-py/redis-py-3.3.11.ebuild
+++ b/dev-python/redis-py/redis-py-3.3.11.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/

2020-03-25 Thread Agostino Sarubbo
commit: 06d03a128aeb03beb6f2cb331f68cdbb89e42310
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Mar 25 13:25:38 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Mar 25 13:27:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06d03a12

dev-python/redis-py: ppc stable wrt bug #714486

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/redis-py/redis-py-3.3.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/redis-py/redis-py-3.3.11.ebuild 
b/dev-python/redis-py/redis-py-3.3.11.ebuild
index 8ff3bd59260..e6ca05cc918 100644
--- a/dev-python/redis-py/redis-py-3.3.11.ebuild
+++ b/dev-python/redis-py/redis-py-3.3.11.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



  1   2   >