[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 )"
 



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

2020-02-10 Thread Michał Górny
commit: c242d9df4a8a0d06728c06c7a16967959faa72de
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Feb 10 10:55:59 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Feb 10 11:15:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c242d9df

dev-python/redis-py: Remove py2

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

 dev-python/redis-py/redis-py-3.2.1.ebuild  | 2 +-
 dev-python/redis-py/redis-py-3.3.11.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/redis-py/redis-py-3.2.1.ebuild 
b/dev-python/redis-py/redis-py-3.2.1.ebuild
index ef7ba5ab5ca..77bcb3a7cb9 100644
--- a/dev-python/redis-py/redis-py-3.2.1.ebuild
+++ b/dev-python/redis-py/redis-py-3.2.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 )
+PYTHON_COMPAT=( python3_{6,7} pypy3 )
 
 inherit distutils-r1
 

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 42add4480b6..8ff3bd59260 100644
--- a/dev-python/redis-py/redis-py-3.3.11.ebuild
+++ b/dev-python/redis-py/redis-py-3.3.11.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
 
 inherit distutils-r1
 



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

2020-01-13 Thread Sebastian Pipping
commit: 5874c4ca8a3823bd69011461cced86f303553d05
Author: Sebastian Pipping  gentoo  org>
AuthorDate: Mon Jan 13 19:33:28 2020 +
Commit: Sebastian Pipping  gentoo  org>
CommitDate: Mon Jan 13 19:34:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5874c4ca

dev-python/redis-py: 3.3.11 + py38

Also drop dev-python/setuptools from DEPEND
as distutils-r1 already adds it (to BDEPEND) for us.
Signed-off-by: Sebastian Pipping  gentoo.org>
Package-Manager: Portage-2.3.84, Repoman-2.3.20

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

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index 3bc94237837..10df1a71498 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1 +1,2 @@
 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.3.11.ebuild 
b/dev-python/redis-py/redis-py-3.3.11.ebuild
new file mode 100644
index 000..42add4480b6
--- /dev/null
+++ b/dev-python/redis-py/redis-py-3.3.11.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python2_7 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/

2019-05-11 Thread Matthew Thode
commit: 51b611566cdff6f0a23887463fdd3925ab7ea8f8
Author: Matthew Thode  gentoo  org>
AuthorDate: Sat May 11 18:12:10 2019 +
Commit: Matthew Thode  gentoo  org>
CommitDate: Sat May 11 18:16:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51b61156

dev-python/redis-py: 3.2.1 allarches stablized

Stablized for Openstack Stein

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Matthew Thode  gentoo.org>

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

diff --git a/dev-python/redis-py/redis-py-3.2.1.ebuild 
b/dev-python/redis-py/redis-py-3.2.1.ebuild
index c44fb76ecd3..c32fb107d67 100644
--- a/dev-python/redis-py/redis-py-3.2.1.ebuild
+++ b/dev-python/redis-py/redis-py-3.2.1.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"
 
 RDEPEND=""



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

2019-04-09 Thread Matthew Thode
commit: 80011ca8b66f78d5fd0e872d6f75c960a2c56619
Author: Matthew Thode  gentoo  org>
AuthorDate: Tue Apr  9 06:22:50 2019 +
Commit: Matthew Thode  gentoo  org>
CommitDate: Tue Apr  9 07:05:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80011ca8

dev-python/redis-py: 3.2.1 add py37 support

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Matthew Thode  gentoo.org>

 dev-python/redis-py/redis-py-3.2.1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-python/redis-py/redis-py-3.2.1.ebuild 
b/dev-python/redis-py/redis-py-3.2.1.ebuild
index fd8436a7c94..b20ce0de521 100644
--- a/dev-python/redis-py/redis-py-3.2.1.ebuild
+++ b/dev-python/redis-py/redis-py-3.2.1.ebuild
@@ -2,8 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 )
 
 inherit distutils-r1
 



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

2019-04-03 Thread William Hubbs
commit: 48852e904aa8e1f7e4acb7af75cdf9cf526a032d
Author: William Hubbs  sony  com>
AuthorDate: Wed Apr  3 18:43:30 2019 +
Commit: William Hubbs  gentoo  org>
CommitDate: Wed Apr  3 18:46:18 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48852e90

dev-python/redis-py: 3.2.1 bump

Closes: https://bugs.gentoo.org/682378
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: William Hubbs  gentoo.org>

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

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index deb2e8bfc3c..b4c32c2d78c 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,3 +1,4 @@
 DIST redis-py-2.10.5.tar.gz 88610 BLAKE2B 
092efe4fcbc500a59981fc2d8574b70ee322ce7ccba012e5babd022f30abb017e53f093b3f4d876a297ab2e4403a57e749582d4027f1efa53efcbab0214347b7
 SHA512 
b2e6cb85c274c8f1c63e27256bbab816d016a68c324bf7092cf53feae819a34fa94f45565b0f209ee981919d793b2963462eb1a6f841e9dde9885802e0ebbe8f
 DIST redis-py-2.10.6.tar.gz 97299 BLAKE2B 
9fea87b5c8ae0f3574651717e664cda62ca7752e44c4e60f4a50b82b53a52a5d005dc79c72afa58abfb807bf303f46335761129c54a2ef8e4f524451543c6c96
 SHA512 
e7df464bc3b26e23f6a0d2d2896306c1e4792b9a2a4ecaea6dd8690ffa17853cc85345f063307295dd3c2da399f7f203f4b21d785f7e073c0501732257419dad
 DIST redis-py-2.9.1.tar.gz 62204 BLAKE2B 
633dd00d5aa984ac4dfb223aa685f8fa6913f4f00bb5c5c231dc77b6e8d33f1cd57c2e2bc07c4ec4658ca3b7675fd172919187fa2e95afb8eb5345f65dcbca00
 SHA512 
6b4912acafb31c87a5bc47b0420834aa9d1eba57feb0bbacdea943b746fe2f24aee4c9f13e7b03ae4edc562043b22c370cc7f53e45be07c5408cfa9852f8ea38
+DIST redis-py-3.2.1.tar.gz 124692 BLAKE2B 
fc7a773ab0a7e13f034b9efa174806b024733f9263b962599ce72e9a0c88b11964c26081375b6ae2de49939b59a561c145ae1b69c262b801f9b887befe9dcc0a
 SHA512 
be51642a8895325c3c61993dd83c3299a9e2cefc1010e04f182833f720ff161bea43d3a57d28afba991949fcf6e967c4f778002967641bffe651d5db384f2e08

diff --git a/dev-python/redis-py/redis-py-3.2.1.ebuild 
b/dev-python/redis-py/redis-py-3.2.1.ebuild
new file mode 100644
index 000..fd8436a7c94
--- /dev/null
+++ b/dev-python/redis-py/redis-py-3.2.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy 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"
+
+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-cluster/

2018-06-26 Thread Pacho Ramos
commit: 7d62d0e6812158deacda1603dd2e516023af7a42
Author: Pacho Ramos  gentoo  org>
AuthorDate: Tue Jun 26 17:44:47 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Tue Jun 26 18:09:10 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d62d0e6

dev-python/redis-py-cluster: Support python3.6

Package-Manager: Portage-2.3.40, Repoman-2.3.9

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

diff --git a/dev-python/redis-py-cluster/redis-py-cluster-1.3.4.ebuild 
b/dev-python/redis-py-cluster/redis-py-cluster-1.3.4.ebuild
index ca25dacb34c..2df147f1ec6 100644
--- a/dev-python/redis-py-cluster/redis-py-cluster-1.3.4.ebuild
+++ b/dev-python/redis-py-cluster/redis-py-cluster-1.3.4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 inherit distutils-r1
 



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

2017-09-24 Thread Zac Medico
commit: 2d25519d0f4b037d1e9ede521322b9f98813890f
Author: Zac Medico  gentoo  org>
AuthorDate: Mon Sep 25 02:42:19 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Sep 25 02:42:19 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d25519d

dev-python/redis-py: version bump to 2.10.6

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 dev-python/redis-py/Manifest   |  1 +
 dev-python/redis-py/redis-py-2.10.6.ebuild | 65 ++
 2 files changed, 66 insertions(+)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index f23bedb6f1b..1f7145480c1 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,2 +1,3 @@
 DIST redis-py-2.10.5.tar.gz 88610 SHA256 
5dfbae6acfc54edf0a7a415b99e0b21c0a3c27a7f787b292eea727b1facc5533 SHA512 
b2e6cb85c274c8f1c63e27256bbab816d016a68c324bf7092cf53feae819a34fa94f45565b0f209ee981919d793b2963462eb1a6f841e9dde9885802e0ebbe8f
 WHIRLPOOL 
af0b92b5ddb69346ff285d959a5052df5d65638e70d8d1b3d4b00adb80755eef41b492bfea432507443883f206a4537faf10e82d4253d7612e74ab7a52df47f1
+DIST redis-py-2.10.6.tar.gz 97299 SHA256 
a22ca993cea2962dbb588f9f30d0015ac4afcc45bee27d3978c0dbe9e97c6c0f SHA512 
e7df464bc3b26e23f6a0d2d2896306c1e4792b9a2a4ecaea6dd8690ffa17853cc85345f063307295dd3c2da399f7f203f4b21d785f7e073c0501732257419dad
 WHIRLPOOL 
10ad4dafe9e2d5f97ceef40133b392d5dc00343151aa08e109576de6dbd5d7401528fc12b04def81d03e3dc41e50afe99338d3692bfb094c568e32da40460382
 DIST redis-py-2.9.1.tar.gz 62204 SHA256 
af9747ec2727425b1b09252975e21502ee5a3d8d235c7f49869eb13e09ccf4e4 SHA512 
6b4912acafb31c87a5bc47b0420834aa9d1eba57feb0bbacdea943b746fe2f24aee4c9f13e7b03ae4edc562043b22c370cc7f53e45be07c5408cfa9852f8ea38
 WHIRLPOOL 
ae38ea63d605f8dd667d9fc548de972bf38d661ae6ef357070ebe7cba3b484febc45d6b7611916d8a1e262e6bbf4754257e727f41af8caa30597954a1fc20cf5

diff --git a/dev-python/redis-py/redis-py-2.10.6.ebuild 
b/dev-python/redis-py/redis-py-2.10.6.ebuild
new file mode 100644
index 000..b129427e76e
--- /dev/null
+++ b/dev-python/redis-py/redis-py-2.10.6.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy 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"
+
+RDEPEND=""
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( dev-db/redis
+   >=dev-python/pytest-2.5.0[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.10.5-test-finalize.patch
+)
+
+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_connection_pool.py,test_commands.py,test_encoding.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/

2017-07-10 Thread Alexis Ballier
commit: 5bf79c96bd4f31ea4a782b22a48f84a050ad651c
Author: Alexis Ballier  gentoo  org>
AuthorDate: Mon Jul 10 14:25:28 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Mon Jul 10 14:25:33 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bf79c96

dev-python/redis-py: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

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

diff --git a/dev-python/redis-py/redis-py-2.10.5.ebuild 
b/dev-python/redis-py/redis-py-2.10.5.ebuild
index ecd633e24fd..f0f244bd48c 100644
--- a/dev-python/redis-py/redis-py-2.10.5.ebuild
+++ b/dev-python/redis-py/redis-py-2.10.5.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 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 RDEPEND=""



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

2017-05-02 Thread Michał Górny
commit: 10492c88a033248a3432e41aa8ca29acd2e28b6c
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May  2 19:14:14 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May  2 19:15:33 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10492c88

dev-python/redis-py: Clean old versions up

 dev-python/redis-py/Manifest   |  3 --
 dev-python/redis-py/redis-py-2.10.1.ebuild | 68 --
 dev-python/redis-py/redis-py-2.10.3.ebuild | 61 ---
 dev-python/redis-py/redis-py-2.7.4.ebuild  | 64 
 4 files changed, 196 deletions(-)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index c30dc91d36c..f23bedb6f1b 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,5 +1,2 @@
-DIST redis-py-2.10.1.tar.gz 84143 SHA256 
644aaf429e666d2254143a6a02f3b1cca2806d0cd52bb130c8f879d3c8259d62 SHA512 
694a687e22654631fcf7b0b5884c2f3b3f804befe8080a1a27f08e212afe2f64c36921e025801d67bac1786b105f23565f52768f5b62ed1d18038be8dba9542c
 WHIRLPOOL 
e1b76cf47043d3d5317fc4352c9b52598af119a1501e4d6af1615181006afa658417002fdd8e206e6d5d5556df6dcbdd34a74b89918c513802793bd6ced4cccd
-DIST redis-py-2.10.3.tar.gz 86532 SHA256 
a4fb37b02860f6b1617f6469487471fd086dd2d38bbce640c2055862b9c4019c SHA512 
a6dcb1160f91c444a6fd107761b2701e7d8ab2eed7b9fcc00e8f0bdcefe46c2a626611f36fe6bf520fe3cceeb509562609e6dba263e1508abe285a6eab73963c
 WHIRLPOOL 
2b2fc577ff752f71675cade7c591442526dfbac07495d1cf61b14ac21371e76aec2d008531bb8729eb5e3f3ffd372d6c9bf9f7554e51f8076d2d79c07377d33e
 DIST redis-py-2.10.5.tar.gz 88610 SHA256 
5dfbae6acfc54edf0a7a415b99e0b21c0a3c27a7f787b292eea727b1facc5533 SHA512 
b2e6cb85c274c8f1c63e27256bbab816d016a68c324bf7092cf53feae819a34fa94f45565b0f209ee981919d793b2963462eb1a6f841e9dde9885802e0ebbe8f
 WHIRLPOOL 
af0b92b5ddb69346ff285d959a5052df5d65638e70d8d1b3d4b00adb80755eef41b492bfea432507443883f206a4537faf10e82d4253d7612e74ab7a52df47f1
-DIST redis-py-2.7.4.tar.gz 79715 SHA256 
623c8d437401314f8ec92f03848638c79c757098b316f0ed40ec2deaad57e082 SHA512 
9b8db28c77e9df7a243e510a4f66a021179ab8ff52cfed2cc1b18b20f167138d59a868fc105a32993681551c53e98d45680c16313680e8b4f36b6defa3b9
 WHIRLPOOL 
fa5c754dc83f7d8baea68e21e283435994380e3e7243fa9bdb74ce934f7adacc75a11c6312d4b642606aa817010abc23f8f2a7b9eac1e2c73e50e897085124ad
 DIST redis-py-2.9.1.tar.gz 62204 SHA256 
af9747ec2727425b1b09252975e21502ee5a3d8d235c7f49869eb13e09ccf4e4 SHA512 
6b4912acafb31c87a5bc47b0420834aa9d1eba57feb0bbacdea943b746fe2f24aee4c9f13e7b03ae4edc562043b22c370cc7f53e45be07c5408cfa9852f8ea38
 WHIRLPOOL 
ae38ea63d605f8dd667d9fc548de972bf38d661ae6ef357070ebe7cba3b484febc45d6b7611916d8a1e262e6bbf4754257e727f41af8caa30597954a1fc20cf5

diff --git a/dev-python/redis-py/redis-py-2.10.1.ebuild 
b/dev-python/redis-py/redis-py-2.10.1.ebuild
deleted file mode 100644
index 950684f7845..000
--- a/dev-python/redis-py/redis-py-2.10.1.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4} pypy )
-
-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 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="test"
-
-RDEPEND=""
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
-   test? ( dev-db/redis
-   >=dev-python/pytest-2.5.0[${PYTHON_USEDEP}] )"
-
-S="${WORKDIR}/${MY_P}"
-
-python_prepare_all() {
-   # Disable pubsub and encoding tests, they do not seem to support
-   # UNIX socket connectivity.
-   sed -i -e '/PubSub/d' -e '/Encoding/d' \
-   -e '/use_hiredis:/d' tests/__init__.py || die
-
-   # Make sure that tests will be used from BUILD_DIR rather than cwd.
-   mv tests tests-hidden || die
-
-   distutils-r1_python_prepare_all
-}
-
-python_compile() {
-   distutils-r1_python_compile
-
-   if use test; then
-   cp -r tests-hidden "${BUILD_DIR}"/tests || die
-   fi
-}
-
-python_test() {
-   # https://github.com/andymccurdy/redis-py/issues/503
-   # the suite is quite broken at this point but it's also the case in 
-2.9.1,
-   # making this not a regression. but a fix is in 'progress', just not 
the overlay one
-   local pidfile=${T}/redis-${EPYTHON}.pid
-   local sock=${T}/redis-${EPYTHON}.sock
-
-   sed -i -e "s:port=6379:unix_socket_path=\"${sock}\":" \
-   "${BUILD_DIR}"/tests/*.py || die
-
-   # XXX: find a way to make sure it is killed
-
-   "${EPREFIX}"/usr/sbin/redis-server \
-   --pidfile "${pidfile}" \
-   --port 0 \
-   --unixsocket "${sock}" \
-   --daemonize yes 

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

2017-04-29 Thread Jeroen Roovers
commit: 9695c49cce5694b2aed680a320cc096155f47d32
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Apr 29 12:29:48 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Apr 29 12:29:48 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9695c49c

dev-python/redis-py: Stable for HPPA (bug #613372).

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --ignore-arches

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

diff --git a/dev-python/redis-py/redis-py-2.10.5.ebuild 
b/dev-python/redis-py/redis-py-2.10.5.ebuild
index b4999d15e04..ecd633e24fd 100644
--- a/dev-python/redis-py/redis-py-2.10.5.ebuild
+++ b/dev-python/redis-py/redis-py-2.10.5.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 ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 RDEPEND=""



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

2017-04-04 Thread Michael Weber
commit: f174ac82d1648ed041139f39690a1b8e720b1db4
Author: Michael Weber  gentoo  org>
AuthorDate: Tue Apr  4 19:57:19 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Tue Apr  4 21:26:43 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f174ac82

dev-python/redis-py: ppc stable (bug 613372).

Package-Manager: Portage-2.3.5, Repoman-2.3.2

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

diff --git a/dev-python/redis-py/redis-py-2.10.5.ebuild 
b/dev-python/redis-py/redis-py-2.10.5.ebuild
index f74e96f2be9..b4999d15e04 100644
--- a/dev-python/redis-py/redis-py-2.10.5.ebuild
+++ b/dev-python/redis-py/redis-py-2.10.5.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 ~hppa ~ppc ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 RDEPEND=""



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

2017-03-28 Thread Michael Weber
commit: add67371e9eba59da14983837dfef2bd92d46eeb
Author: Michael Weber  gentoo  org>
AuthorDate: Tue Mar 28 15:47:06 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Tue Mar 28 15:47:06 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=add67371

dev-python/redis-py: ppc64 stable (bug 613372).

Package-Manager: Portage-2.3.5, Repoman-2.3.2

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

diff --git a/dev-python/redis-py/redis-py-2.10.5.ebuild 
b/dev-python/redis-py/redis-py-2.10.5.ebuild
index e3dcd40295f..f74e96f2be9 100644
--- a/dev-python/redis-py/redis-py-2.10.5.ebuild
+++ b/dev-python/redis-py/redis-py-2.10.5.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 ~hppa ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~hppa ~ppc ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 RDEPEND=""



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

2017-03-21 Thread Agostino Sarubbo
commit: 4aad5edaa29b170226ba1ad9b6537ce93af55b16
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Mar 21 14:34:00 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Mar 21 14:34:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aad5eda

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

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

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

diff --git a/dev-python/redis-py/redis-py-2.10.5.ebuild 
b/dev-python/redis-py/redis-py-2.10.5.ebuild
index 252b0765e66..e3dcd40295f 100644
--- a/dev-python/redis-py/redis-py-2.10.5.ebuild
+++ b/dev-python/redis-py/redis-py-2.10.5.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 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 RDEPEND=""



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

2017-03-21 Thread Agostino Sarubbo
commit: d36adf1f2ace8cccadf162bc5c23da6906da77be
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Mar 21 14:18:48 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Mar 21 14:18:48 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d36adf1f

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

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

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

diff --git a/dev-python/redis-py/redis-py-2.10.5.ebuild 
b/dev-python/redis-py/redis-py-2.10.5.ebuild
index 8ef37b4d66e..252b0765e66 100644
--- a/dev-python/redis-py/redis-py-2.10.5.ebuild
+++ b/dev-python/redis-py/redis-py-2.10.5.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 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 RDEPEND=""



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

2017-03-15 Thread Manuel Rüger
commit: e341a6dd358671ff29f09ca8db0a2d197ef33af0
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Mar 15 15:05:52 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Mar 15 15:05:52 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e341a6dd

dev-python/redis-py-cluster: Initial version 1.3.4

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 dev-python/redis-py-cluster/Manifest  |  1 +
 dev-python/redis-py-cluster/metadata.xml  | 12 
 .../redis-py-cluster/redis-py-cluster-1.3.4.ebuild| 19 +++
 3 files changed, 32 insertions(+)

diff --git a/dev-python/redis-py-cluster/Manifest 
b/dev-python/redis-py-cluster/Manifest
new file mode 100644
index 000..ce6391917ca
--- /dev/null
+++ b/dev-python/redis-py-cluster/Manifest
@@ -0,0 +1 @@
+DIST redis-py-cluster-1.3.4.tar.gz 32842 SHA256 
3189ddde3a04f86f4322026c45a159411bda8f84ababe2c8e8e1fbdcb025f358 SHA512 
4119780da7c7633b30d3ea525de82ca44629470b37eb1cc9f7b000d0cf237cfd0265cd2de0c093f064a350172b82334bea12687c49737d11be46d4c670a3e873
 WHIRLPOOL 
50e4ac4f0ab6128a88a55b1da34735e4d9e5a1304218d78403d3fefcc65ab90beb96dfbc8f53d9dc19d6223d3659b474e449c5a8f42524aa089ce4caf2a00884

diff --git a/dev-python/redis-py-cluster/metadata.xml 
b/dev-python/redis-py-cluster/metadata.xml
new file mode 100644
index 000..7c4016d5932
--- /dev/null
+++ b/dev-python/redis-py-cluster/metadata.xml
@@ -0,0 +1,12 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+pyt...@gentoo.org
+Python
+  
+  
+redis-py-cluster
+grokzen/redis-py-cluster
+  
+

diff --git a/dev-python/redis-py-cluster/redis-py-cluster-1.3.4.ebuild 
b/dev-python/redis-py-cluster/redis-py-cluster-1.3.4.ebuild
new file mode 100644
index 000..ca25dacb34c
--- /dev/null
+++ b/dev-python/redis-py-cluster/redis-py-cluster-1.3.4.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python cluster client for the official redis cluster"
+HOMEPAGE="https://github.com/Grokzen/redis-py-cluster;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=">=dev-python/redis-py-2.10.2[${PYTHON_USEDEP}]"



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

2017-03-15 Thread Zac Medico
commit: 502f4120b4977408dceecb7ca3e97c2fa092a0c6
Author: Zac Medico  gentoo  org>
AuthorDate: Wed Mar 15 09:44:14 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Mar 15 09:44:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=502f4120

dev-python/redis-py: Add python3_6 to PYTHON_COMPAT

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 dev-python/redis-py/redis-py-2.10.3.ebuild | 2 +-
 dev-python/redis-py/redis-py-2.10.5.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/redis-py/redis-py-2.10.3.ebuild 
b/dev-python/redis-py/redis-py-2.10.3.ebuild
index 5a8ad3d2830..d388118 100644
--- a/dev-python/redis-py/redis-py-2.10.3.ebuild
+++ b/dev-python/redis-py/redis-py-2.10.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=5
 
-PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
 
 inherit distutils-r1
 

diff --git a/dev-python/redis-py/redis-py-2.10.5.ebuild 
b/dev-python/redis-py/redis-py-2.10.5.ebuild
index 842021ff04b..8ef37b4d66e 100644
--- a/dev-python/redis-py/redis-py-2.10.5.ebuild
+++ b/dev-python/redis-py/redis-py-2.10.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=5
 
-PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
 
 inherit distutils-r1
 



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

2017-02-23 Thread Michael Weber
commit: 9f7986df15bf6b29927646139d6a1d54b905fae9
Author: Michael Weber  gentoo  org>
AuthorDate: Thu Feb 23 11:46:02 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Thu Feb 23 11:56:48 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f7986df

dev-python/redis-py: ppc stable (bug 593134).

Package-Manager: Portage-2.3.3, Repoman-2.3.1

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

diff --git a/dev-python/redis-py/redis-py-2.9.1.ebuild 
b/dev-python/redis-py/redis-py-2.9.1.ebuild
index 95b3969419..6f33deac72 100644
--- a/dev-python/redis-py/redis-py-2.9.1.ebuild
+++ b/dev-python/redis-py/redis-py-2.9.1.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 hppa ~ppc ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]



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

2017-02-23 Thread Michael Weber
commit: 5ef08814863827acd322672ceea24c486253567a
Author: Michael Weber  gentoo  org>
AuthorDate: Thu Feb 23 08:24:54 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Thu Feb 23 08:24:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ef08814

dev-python/redis-py: ppc6 stable (bug 593134).

Package-Manager: Portage-2.3.3, Repoman-2.3.1

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

diff --git a/dev-python/redis-py/redis-py-2.9.1.ebuild 
b/dev-python/redis-py/redis-py-2.9.1.ebuild
index c8431bab3c..95b3969419 100644
--- a/dev-python/redis-py/redis-py-2.9.1.ebuild
+++ b/dev-python/redis-py/redis-py-2.9.1.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 hppa ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 hppa ~ppc ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]



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

2017-02-23 Thread Michael Weber
commit: ddd0755e66e8a5d1ad800807653866ffe7902d47
Author: Michael Weber  gentoo  org>
AuthorDate: Thu Feb 23 08:10:25 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Thu Feb 23 08:10:25 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddd0755e

dev-python/redis-py: Add ~ppc keyword (bug 538510).

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/redis-py/redis-py-2.10.1.ebuild | 4 ++--
 dev-python/redis-py/redis-py-2.10.3.ebuild | 2 +-
 dev-python/redis-py/redis-py-2.10.5.ebuild | 4 ++--
 dev-python/redis-py/redis-py-2.9.1.ebuild  | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-python/redis-py/redis-py-2.10.1.ebuild 
b/dev-python/redis-py/redis-py-2.10.1.ebuild
index 4ef861452c..00ee1c0452 100644
--- a/dev-python/redis-py/redis-py-2.10.1.ebuild
+++ b/dev-python/redis-py/redis-py-2.10.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -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 ~hppa ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 RDEPEND=""

diff --git a/dev-python/redis-py/redis-py-2.10.3.ebuild 
b/dev-python/redis-py/redis-py-2.10.3.ebuild
index a5f88b728b..5bc3a288ec 100644
--- a/dev-python/redis-py/redis-py-2.10.3.ebuild
+++ b/dev-python/redis-py/redis-py-2.10.3.ebuild
@@ -17,7 +17,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 hppa ~ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm hppa ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 RDEPEND=""

diff --git a/dev-python/redis-py/redis-py-2.10.5.ebuild 
b/dev-python/redis-py/redis-py-2.10.5.ebuild
index 6a908874a1..b24474f5ab 100644
--- a/dev-python/redis-py/redis-py-2.10.5.ebuild
+++ b/dev-python/redis-py/redis-py-2.10.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -17,7 +17,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 ~hppa ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 RDEPEND=""

diff --git a/dev-python/redis-py/redis-py-2.9.1.ebuild 
b/dev-python/redis-py/redis-py-2.9.1.ebuild
index 33e33968a5..c8431bab3c 100644
--- a/dev-python/redis-py/redis-py-2.9.1.ebuild
+++ b/dev-python/redis-py/redis-py-2.9.1.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 hppa ~ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 hppa ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]



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

2017-02-17 Thread Agostino Sarubbo
commit: 1e9d1b49079f839ecb8e5f67a55dc1dd6b9068d1
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Feb 17 14:50:51 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Feb 17 14:50:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e9d1b49

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

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/dev-python/redis-py/redis-py-2.9.1.ebuild 
b/dev-python/redis-py/redis-py-2.9.1.ebuild
index c1654348fd..33e33968a5 100644
--- a/dev-python/redis-py/redis-py-2.9.1.ebuild
+++ b/dev-python/redis-py/redis-py-2.9.1.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 hppa ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 hppa ~ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]



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

2017-02-17 Thread Agostino Sarubbo
commit: b43e081bcfcfc4ba5cdbc3fa5c02915dfd5a5bc6
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Feb 17 13:44:33 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Feb 17 13:44:33 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b43e081b

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

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/dev-python/redis-py/redis-py-2.9.1.ebuild 
b/dev-python/redis-py/redis-py-2.9.1.ebuild
index 51d1de6681..c1654348fd 100644
--- a/dev-python/redis-py/redis-py-2.9.1.ebuild
+++ b/dev-python/redis-py/redis-py-2.9.1.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 hppa ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 hppa ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]



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

2017-01-22 Thread Jeroen Roovers
commit: 1d8543b3200cbb5bbb517b7a7a8cffe589c12a6a
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Jan 23 06:19:22 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Jan 23 06:19:22 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d8543b3

dev-python/redis-py: Stable for HPPA (bug #593134).

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --ignore-arches

 dev-python/redis-py/redis-py-2.10.3.ebuild | 4 ++--
 dev-python/redis-py/redis-py-2.9.1.ebuild  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-python/redis-py/redis-py-2.10.3.ebuild 
b/dev-python/redis-py/redis-py-2.10.3.ebuild
index 6e252e1..a5f88b7 100644
--- a/dev-python/redis-py/redis-py-2.10.3.ebuild
+++ b/dev-python/redis-py/redis-py-2.10.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -17,7 +17,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 ~hppa ~ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm hppa ~ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 RDEPEND=""

diff --git a/dev-python/redis-py/redis-py-2.9.1.ebuild 
b/dev-python/redis-py/redis-py-2.9.1.ebuild
index aabd360..51d1de6 100644
--- a/dev-python/redis-py/redis-py-2.9.1.ebuild
+++ b/dev-python/redis-py/redis-py-2.9.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -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 ~hppa ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 hppa ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]



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

2016-10-08 Thread Pacho Ramos
commit: 897577057dc26bfbd323340beee02acb9965607a
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Oct  8 13:53:31 2016 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Oct  8 13:53:31 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89757705

dev-python/redis-py: Support python 3.5

Package-Manager: portage-2.3.1

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

diff --git a/dev-python/redis-py/redis-py-2.9.1.ebuild 
b/dev-python/redis-py/redis-py-2.9.1.ebuild
index c7f7337..d681086 100644
--- a/dev-python/redis-py/redis-py-2.9.1.ebuild
+++ b/dev-python/redis-py/redis-py-2.9.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy )
 
 inherit distutils-r1
 



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

2016-09-19 Thread David Seifert
commit: e9ab3aef3873b15ac10e049ebdc722e21a433384
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Mon Sep 19 17:43:58 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Sep 19 21:23:25 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9ab3aef

dev-python/redis-py: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/2362

Signed-off-by: David Seifert  gentoo.org>

 .../files/redis-py-2.10.5-test-backport.patch  | 24 --
 1 file changed, 24 deletions(-)

diff --git a/dev-python/redis-py/files/redis-py-2.10.5-test-backport.patch 
b/dev-python/redis-py/files/redis-py-2.10.5-test-backport.patch
deleted file mode 100644
index 74d2d14..
--- a/dev-python/redis-py/files/redis-py-2.10.5-test-backport.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 550eee8106ca5984f104b3a2a79299d9ae0821af Mon Sep 17 00:00:00 2001
-From: Chris Lamb 
-Date: Tue, 18 Aug 2015 13:28:40 +0200
-Subject: [PATCH] Fix tests under Redis 3.x; we can be of an "embedded string"
- format now.
-
-Signed-off-by: Chris Lamb 

- tests/test_commands.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tests/test_commands.py b/tests/test_commands.py
-index 2e104ed..c0e56b0 100644
 a/tests/test_commands.py
-+++ b/tests/test_commands.py
-@@ -112,7 +112,7 @@ def test_object(self, r):
- r['a'] = 'foo'
- assert isinstance(r.object('refcount', 'a'), int)
- assert isinstance(r.object('idletime', 'a'), int)
--assert r.object('encoding', 'a') == b('raw')
-+assert r.object('encoding', 'a') in (b('raw'), b('embstr'))
- assert r.object('idletime', 'invalid-key') is None
- 
- def test_ping(self, r):



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

2015-11-03 Thread Justin Lecher
commit: d85169c4e4bf3400c5d2cd2687a0940cb1326152
Author: Justin Lecher  gentoo  org>
AuthorDate: Tue Nov  3 11:37:36 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Tue Nov  3 11:38:00 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d85169c4

dev-python/redis-py: Version Bump

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/redis-py/Manifest   |  1 +
 .../files/redis-py-2.10.5-test-backport.patch  | 24 
 .../files/redis-py-2.10.5-test-finalize.patch  | 19 +++
 dev-python/redis-py/redis-py-2.10.5.ebuild | 66 ++
 4 files changed, 110 insertions(+)

diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index 30cc386..c30dc91 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1,4 +1,5 @@
 DIST redis-py-2.10.1.tar.gz 84143 SHA256 
644aaf429e666d2254143a6a02f3b1cca2806d0cd52bb130c8f879d3c8259d62 SHA512 
694a687e22654631fcf7b0b5884c2f3b3f804befe8080a1a27f08e212afe2f64c36921e025801d67bac1786b105f23565f52768f5b62ed1d18038be8dba9542c
 WHIRLPOOL 
e1b76cf47043d3d5317fc4352c9b52598af119a1501e4d6af1615181006afa658417002fdd8e206e6d5d5556df6dcbdd34a74b89918c513802793bd6ced4cccd
 DIST redis-py-2.10.3.tar.gz 86532 SHA256 
a4fb37b02860f6b1617f6469487471fd086dd2d38bbce640c2055862b9c4019c SHA512 
a6dcb1160f91c444a6fd107761b2701e7d8ab2eed7b9fcc00e8f0bdcefe46c2a626611f36fe6bf520fe3cceeb509562609e6dba263e1508abe285a6eab73963c
 WHIRLPOOL 
2b2fc577ff752f71675cade7c591442526dfbac07495d1cf61b14ac21371e76aec2d008531bb8729eb5e3f3ffd372d6c9bf9f7554e51f8076d2d79c07377d33e
+DIST redis-py-2.10.5.tar.gz 88610 SHA256 
5dfbae6acfc54edf0a7a415b99e0b21c0a3c27a7f787b292eea727b1facc5533 SHA512 
b2e6cb85c274c8f1c63e27256bbab816d016a68c324bf7092cf53feae819a34fa94f45565b0f209ee981919d793b2963462eb1a6f841e9dde9885802e0ebbe8f
 WHIRLPOOL 
af0b92b5ddb69346ff285d959a5052df5d65638e70d8d1b3d4b00adb80755eef41b492bfea432507443883f206a4537faf10e82d4253d7612e74ab7a52df47f1
 DIST redis-py-2.7.4.tar.gz 79715 SHA256 
623c8d437401314f8ec92f03848638c79c757098b316f0ed40ec2deaad57e082 SHA512 
9b8db28c77e9df7a243e510a4f66a021179ab8ff52cfed2cc1b18b20f167138d59a868fc105a32993681551c53e98d45680c16313680e8b4f36b6defa3b9
 WHIRLPOOL 
fa5c754dc83f7d8baea68e21e283435994380e3e7243fa9bdb74ce934f7adacc75a11c6312d4b642606aa817010abc23f8f2a7b9eac1e2c73e50e897085124ad
 DIST redis-py-2.9.1.tar.gz 62204 SHA256 
af9747ec2727425b1b09252975e21502ee5a3d8d235c7f49869eb13e09ccf4e4 SHA512 
6b4912acafb31c87a5bc47b0420834aa9d1eba57feb0bbacdea943b746fe2f24aee4c9f13e7b03ae4edc562043b22c370cc7f53e45be07c5408cfa9852f8ea38
 WHIRLPOOL 
ae38ea63d605f8dd667d9fc548de972bf38d661ae6ef357070ebe7cba3b484febc45d6b7611916d8a1e262e6bbf4754257e727f41af8caa30597954a1fc20cf5

diff --git a/dev-python/redis-py/files/redis-py-2.10.5-test-backport.patch 
b/dev-python/redis-py/files/redis-py-2.10.5-test-backport.patch
new file mode 100644
index 000..74d2d14
--- /dev/null
+++ b/dev-python/redis-py/files/redis-py-2.10.5-test-backport.patch
@@ -0,0 +1,24 @@
+From 550eee8106ca5984f104b3a2a79299d9ae0821af Mon Sep 17 00:00:00 2001
+From: Chris Lamb 
+Date: Tue, 18 Aug 2015 13:28:40 +0200
+Subject: [PATCH] Fix tests under Redis 3.x; we can be of an "embedded string"
+ format now.
+
+Signed-off-by: Chris Lamb 
+---
+ tests/test_commands.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/test_commands.py b/tests/test_commands.py
+index 2e104ed..c0e56b0 100644
+--- a/tests/test_commands.py
 b/tests/test_commands.py
+@@ -112,7 +112,7 @@ def test_object(self, r):
+ r['a'] = 'foo'
+ assert isinstance(r.object('refcount', 'a'), int)
+ assert isinstance(r.object('idletime', 'a'), int)
+-assert r.object('encoding', 'a') == b('raw')
++assert r.object('encoding', 'a') in (b('raw'), b('embstr'))
+ assert r.object('idletime', 'invalid-key') is None
+ 
+ def test_ping(self, r):

diff --git a/dev-python/redis-py/files/redis-py-2.10.5-test-finalize.patch 
b/dev-python/redis-py/files/redis-py-2.10.5-test-finalize.patch
new file mode 100644
index 000..1a80748
--- /dev/null
+++ b/dev-python/redis-py/files/redis-py-2.10.5-test-finalize.patch
@@ -0,0 +1,19 @@
+ setup.py | 5 -
+ 1 file changed, 5 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index ed8fd5f..ab648a3 100644
+--- a/setup.py
 b/setup.py
+@@ -9,11 +9,6 @@ try:
+ from setuptools.command.test import test as TestCommand
+ 
+ class PyTest(TestCommand):
+-def finalize_options(self):
+-TestCommand.finalize_options(self)
+-self.test_args = []
+-self.test_suite = True
+-
+ def run_tests(self):
+ # import here, because outside the eggs aren't loaded
+ import pytest

diff --git a/dev-python/redis-py/redis-py-2.10.5.ebuild 

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

2015-10-22 Thread Justin Lecher
commit: be8aeb3b29489075b9438ba4116487b32f2748e2
Author: Justin Lecher  gentoo  org>
AuthorDate: Thu Oct 22 11:07:14 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Thu Oct 22 11:09:19 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be8aeb3b

dev-python/redis-py: Drop deprecated usage of DISTUTILS_NO_PARALLEL_BUILD

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/redis-py/redis-py-2.10.1.ebuild | 6 --
 dev-python/redis-py/redis-py-2.7.4.ebuild  | 6 --
 dev-python/redis-py/redis-py-2.9.1.ebuild  | 6 --
 3 files changed, 18 deletions(-)

diff --git a/dev-python/redis-py/redis-py-2.10.1.ebuild 
b/dev-python/redis-py/redis-py-2.10.1.ebuild
index 22d6930..fd2d739 100644
--- a/dev-python/redis-py/redis-py-2.10.1.ebuild
+++ b/dev-python/redis-py/redis-py-2.10.1.ebuild
@@ -46,12 +46,6 @@ python_compile() {
fi
 }
 
-src_test() {
-   local DISTUTILS_NO_PARALLEL_BUILD=1
-
-   distutils-r1_src_test
-}
-
 python_test() {
# https://github.com/andymccurdy/redis-py/issues/503
# the suite is quite broken at this point but it's also the case in 
-2.9.1,

diff --git a/dev-python/redis-py/redis-py-2.7.4.ebuild 
b/dev-python/redis-py/redis-py-2.7.4.ebuild
index 3741dc3..6259178 100644
--- a/dev-python/redis-py/redis-py-2.7.4.ebuild
+++ b/dev-python/redis-py/redis-py-2.7.4.ebuild
@@ -45,12 +45,6 @@ python_compile() {
fi
 }
 
-src_test() {
-#  local DISTUTILS_NO_PARALLEL_BUILD=1
-
-   distutils-r1_src_test
-}
-
 python_test() {
local pidfile=${T}/redis-${EPYTHON}.pid
local sock=${T}/redis-${EPYTHON}.sock

diff --git a/dev-python/redis-py/redis-py-2.9.1.ebuild 
b/dev-python/redis-py/redis-py-2.9.1.ebuild
index b3a51c5..c7f7337 100644
--- a/dev-python/redis-py/redis-py-2.9.1.ebuild
+++ b/dev-python/redis-py/redis-py-2.9.1.ebuild
@@ -45,12 +45,6 @@ python_compile() {
fi
 }
 
-src_test() {
-#  local DISTUTILS_NO_PARALLEL_BUILD=1
-
-   distutils-r1_src_test
-}
-
 python_test() {
local pidfile=${T}/redis-${EPYTHON}.pid
local sock=${T}/redis-${EPYTHON}.sock



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

2015-10-01 Thread Markus Meier
commit: 03122985168565292a64fb72ec189a68ca9d7cdc
Author: Markus Meier  gentoo  org>
AuthorDate: Thu Oct  1 20:45:54 2015 +
Commit: Markus Meier  gentoo  org>
CommitDate: Thu Oct  1 20:45:54 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03122985

dev-python/redis-py: add ~arm, bug #558546

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="arm"

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

diff --git a/dev-python/redis-py/redis-py-2.10.3.ebuild 
b/dev-python/redis-py/redis-py-2.10.3.ebuild
index 66e9383..0c5d14b 100644
--- a/dev-python/redis-py/redis-py-2.10.3.ebuild
+++ b/dev-python/redis-py/redis-py-2.10.3.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~hppa ~ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 RDEPEND=""



  1   2   >