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

2024-06-20 Thread Michał Górny
commit: 6728de8003528d9571df0e36ebdc216f27c2b02a
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun 20 16:47:13 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 20 17:14:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6728de80

dev-python/django-redis: Enable py3.13

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

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

diff --git a/dev-python/django-redis/django-redis-5.4.0.ebuild 
b/dev-python/django-redis/django-redis-5.4.0.ebuild
index 28c605fdb016..b8d8334d634e 100644
--- a/dev-python/django-redis/django-redis-5.4.0.ebuild
+++ b/dev-python/django-redis/django-redis-5.4.0.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 
 inherit distutils-r1 pypi
 



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

2023-12-30 Thread Michał Górny
commit: ab82e89a685163fd51b203537164fef193dacb3f
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec 30 18:27:15 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec 30 18:27:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab82e89a

dev-python/django-redis: Remove old

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

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

diff --git a/dev-python/django-redis/Manifest b/dev-python/django-redis/Manifest
index 1d93f72da443..ac9c29bbbe25 100644
--- a/dev-python/django-redis/Manifest
+++ b/dev-python/django-redis/Manifest
@@ -1,2 +1 @@
-DIST django-redis-5.3.0.tar.gz 44800 BLAKE2B 
29a671f2899aefa6e59086bc194438aaf7e724b3edcefaf0c590a14e958847e86da34b8f94d4c29d62270f53f88395df2e911659e58471b5c037d1c2cd0f4dd7
 SHA512 
2867d405b69400355576eb3c052b4245844d56304979f09750251f8a2cf35ce704ebcdb6c80e6280fbfe24acfb237a3428f68081b6ada11ffc78257263703d7e
 DIST django-redis-5.4.0.tar.gz 52567 BLAKE2B 
f3ac670500dbe57d795905d10d3a63102c60de6b61e96af257c0e654cd7aa7dc2e70e512bad55ef4129dd11f60ceaaeeccf78b94486550a555a843e4dea98f1f
 SHA512 
12eb85ee3ce2c8fcf013c804a630bd3eb943de0980d1f6d365b5b5ed762ab956db80329f3e170f330ccc5b9e6f178ffa7938b1880477b7fb609d2cc3680b984a

diff --git a/dev-python/django-redis/django-redis-5.3.0.ebuild 
b/dev-python/django-redis/django-redis-5.3.0.ebuild
deleted file mode 100644
index 28c605fdb016..
--- a/dev-python/django-redis/django-redis-5.3.0.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Full featured redis cache backend for Django"
-HOMEPAGE="
-   https://github.com/jazzband/django-redis/
-   https://pypi.org/project/django-redis/
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-   >=dev-python/django-3.2[${PYTHON_USEDEP}]
-   >=dev-python/redis-3.0.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-db/redis
-   dev-python/lz4[${PYTHON_USEDEP}]
-   dev-python/msgpack[${PYTHON_USEDEP}]
-   dev-python/pytest-django[${PYTHON_USEDEP}]
-   dev-python/pytest-mock[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
-   sed -e '/--cov/d' \
-   -e '/--no-cov/d' \
-   -i setup.cfg || die
-   distutils-r1_src_prepare
-}
-
-python_test() {
-   cd tests || die
-   local setting_file settings=(
-   settings.sqlite
-   settings.sqlite_json
-   settings.sqlite_lz4
-   settings.sqlite_msgpack
-   settings.sqlite_sharding
-   settings.sqlite_zlib
-   # TODO: requires pyzstd
-#  settings.sqlite_zstd
-   )
-   for setting_file in "${settings[@]}"; do
-   einfo "Testing ${setting_file} configuration"
-   epytest "--ds=${setting_file}"
-   done
-}
-
-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
-   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/django-redis/

2023-10-01 Thread Michał Górny
commit: 352fe124222b3c82e3e1fe85825f2248f0a78d0f
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Oct  2 04:37:59 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct  2 04:46:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=352fe124

dev-python/django-redis: Bump to 5.4.0

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

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

diff --git a/dev-python/django-redis/Manifest b/dev-python/django-redis/Manifest
index 7d270d65c97f..1d93f72da443 100644
--- a/dev-python/django-redis/Manifest
+++ b/dev-python/django-redis/Manifest
@@ -1 +1,2 @@
 DIST django-redis-5.3.0.tar.gz 44800 BLAKE2B 
29a671f2899aefa6e59086bc194438aaf7e724b3edcefaf0c590a14e958847e86da34b8f94d4c29d62270f53f88395df2e911659e58471b5c037d1c2cd0f4dd7
 SHA512 
2867d405b69400355576eb3c052b4245844d56304979f09750251f8a2cf35ce704ebcdb6c80e6280fbfe24acfb237a3428f68081b6ada11ffc78257263703d7e
+DIST django-redis-5.4.0.tar.gz 52567 BLAKE2B 
f3ac670500dbe57d795905d10d3a63102c60de6b61e96af257c0e654cd7aa7dc2e70e512bad55ef4129dd11f60ceaaeeccf78b94486550a555a843e4dea98f1f
 SHA512 
12eb85ee3ce2c8fcf013c804a630bd3eb943de0980d1f6d365b5b5ed762ab956db80329f3e170f330ccc5b9e6f178ffa7938b1880477b7fb609d2cc3680b984a

diff --git a/dev-python/django-redis/django-redis-5.4.0.ebuild 
b/dev-python/django-redis/django-redis-5.4.0.ebuild
new file mode 100644
index ..28c605fdb016
--- /dev/null
+++ b/dev-python/django-redis/django-redis-5.4.0.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Full featured redis cache backend for Django"
+HOMEPAGE="
+   https://github.com/jazzband/django-redis/
+   https://pypi.org/project/django-redis/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   >=dev-python/django-3.2[${PYTHON_USEDEP}]
+   >=dev-python/redis-3.0.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-db/redis
+   dev-python/lz4[${PYTHON_USEDEP}]
+   dev-python/msgpack[${PYTHON_USEDEP}]
+   dev-python/pytest-django[${PYTHON_USEDEP}]
+   dev-python/pytest-mock[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+   sed -e '/--cov/d' \
+   -e '/--no-cov/d' \
+   -i setup.cfg || die
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   cd tests || die
+   local setting_file settings=(
+   settings.sqlite
+   settings.sqlite_json
+   settings.sqlite_lz4
+   settings.sqlite_msgpack
+   settings.sqlite_sharding
+   settings.sqlite_zlib
+   # TODO: requires pyzstd
+#  settings.sqlite_zstd
+   )
+   for setting_file in "${settings[@]}"; do
+   einfo "Testing ${setting_file} configuration"
+   epytest "--ds=${setting_file}"
+   done
+}
+
+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
+   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/django-redis/

2023-07-28 Thread Michał Górny
commit: 87e599acb49daeb04f79fbd2b3cfd21887241729
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jul 28 15:55:18 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jul 28 15:58:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87e599ac

dev-python/django-redis: Enable py3.12

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

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

diff --git a/dev-python/django-redis/django-redis-5.3.0.ebuild 
b/dev-python/django-redis/django-redis-5.3.0.ebuild
index 864b922bdd3b..28c605fdb016 100644
--- a/dev-python/django-redis/django-redis-5.3.0.ebuild
+++ b/dev-python/django-redis/django-redis-5.3.0.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1 pypi
 



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

2023-07-24 Thread Michał Górny
commit: fd43ae1ef7a0bf41980720b0d4d8e22828ff3342
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jul 24 11:18:40 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jul 24 11:31:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd43ae1e

dev-python/django-redis: Remove old

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

 dev-python/django-redis/Manifest  |  1 -
 dev-python/django-redis/django-redis-5.2.0.ebuild | 79 ---
 2 files changed, 80 deletions(-)

diff --git a/dev-python/django-redis/Manifest b/dev-python/django-redis/Manifest
index 14f4d48279bf..7d270d65c97f 100644
--- a/dev-python/django-redis/Manifest
+++ b/dev-python/django-redis/Manifest
@@ -1,2 +1 @@
-DIST django-redis-5.2.0.tar.gz 44132 BLAKE2B 
5d9680e43bfff506924b90cdce4fcbf40883a732af6b599c2e36d8549ce2aedbd69540b187152dc8fdc0d2a93b21c5fd2724d6386772f9b4af8632e38414b577
 SHA512 
65d3dc6b1d72c8b90908cf368cb66ac2eb74bdd32d0b42c8a5288b4448bd7444b21320251262627bc950eaf0d1a1ef0c3014761b690122bea9e5e20f744dd433
 DIST django-redis-5.3.0.tar.gz 44800 BLAKE2B 
29a671f2899aefa6e59086bc194438aaf7e724b3edcefaf0c590a14e958847e86da34b8f94d4c29d62270f53f88395df2e911659e58471b5c037d1c2cd0f4dd7
 SHA512 
2867d405b69400355576eb3c052b4245844d56304979f09750251f8a2cf35ce704ebcdb6c80e6280fbfe24acfb237a3428f68081b6ada11ffc78257263703d7e

diff --git a/dev-python/django-redis/django-redis-5.2.0.ebuild 
b/dev-python/django-redis/django-redis-5.2.0.ebuild
deleted file mode 100644
index 7400467f8ded..
--- a/dev-python/django-redis/django-redis-5.2.0.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1 pypi
-
-DESCRIPTION="Full featured redis cache backend for Django"
-HOMEPAGE="https://github.com/jazzband/django-redis/;
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
-   >=dev-python/django-2.2[${PYTHON_USEDEP}]
-   >=dev-python/redis-3.0.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-db/redis
-   dev-python/lz4[${PYTHON_USEDEP}]
-   dev-python/msgpack[${PYTHON_USEDEP}]
-   dev-python/pytest-django[${PYTHON_USEDEP}]
-   dev-python/pytest-mock[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
-   sed -e '/--cov/d' \
-   -e '/--no-cov/d' \
-   -e '/redis/s:,<4::' \
-   -i setup.cfg || die
-   distutils-r1_src_prepare
-}
-
-python_test() {
-   cd tests || die
-   local setting_file settings=(
-   settings.sqlite
-   settings.sqlite_json
-   settings.sqlite_lz4
-   settings.sqlite_msgpack
-   settings.sqlite_sharding
-   settings.sqlite_zlib
-   # TODO: requires pyzstd
-#  settings.sqlite_zstd
-   )
-   for setting_file in "${settings[@]}"; do
-   einfo "Testing ${setting_file} configuration"
-   epytest "--ds=${setting_file}"
-   done
-}
-
-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
-   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/django-redis/

2023-06-16 Thread Michał Górny
commit: 89fa13f11185ddc2e34df3948ff07f53cec3b969
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 17 05:45:28 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 17 05:59:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89fa13f1

dev-python/django-redis: Bump to 5.3.0

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

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

diff --git a/dev-python/django-redis/Manifest b/dev-python/django-redis/Manifest
index 69b6ca626cb7..14f4d48279bf 100644
--- a/dev-python/django-redis/Manifest
+++ b/dev-python/django-redis/Manifest
@@ -1 +1,2 @@
 DIST django-redis-5.2.0.tar.gz 44132 BLAKE2B 
5d9680e43bfff506924b90cdce4fcbf40883a732af6b599c2e36d8549ce2aedbd69540b187152dc8fdc0d2a93b21c5fd2724d6386772f9b4af8632e38414b577
 SHA512 
65d3dc6b1d72c8b90908cf368cb66ac2eb74bdd32d0b42c8a5288b4448bd7444b21320251262627bc950eaf0d1a1ef0c3014761b690122bea9e5e20f744dd433
+DIST django-redis-5.3.0.tar.gz 44800 BLAKE2B 
29a671f2899aefa6e59086bc194438aaf7e724b3edcefaf0c590a14e958847e86da34b8f94d4c29d62270f53f88395df2e911659e58471b5c037d1c2cd0f4dd7
 SHA512 
2867d405b69400355576eb3c052b4245844d56304979f09750251f8a2cf35ce704ebcdb6c80e6280fbfe24acfb237a3428f68081b6ada11ffc78257263703d7e

diff --git a/dev-python/django-redis/django-redis-5.3.0.ebuild 
b/dev-python/django-redis/django-redis-5.3.0.ebuild
new file mode 100644
index ..864b922bdd3b
--- /dev/null
+++ b/dev-python/django-redis/django-redis-5.3.0.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Full featured redis cache backend for Django"
+HOMEPAGE="
+   https://github.com/jazzband/django-redis/
+   https://pypi.org/project/django-redis/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   >=dev-python/django-3.2[${PYTHON_USEDEP}]
+   >=dev-python/redis-3.0.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-db/redis
+   dev-python/lz4[${PYTHON_USEDEP}]
+   dev-python/msgpack[${PYTHON_USEDEP}]
+   dev-python/pytest-django[${PYTHON_USEDEP}]
+   dev-python/pytest-mock[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+   sed -e '/--cov/d' \
+   -e '/--no-cov/d' \
+   -i setup.cfg || die
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   cd tests || die
+   local setting_file settings=(
+   settings.sqlite
+   settings.sqlite_json
+   settings.sqlite_lz4
+   settings.sqlite_msgpack
+   settings.sqlite_sharding
+   settings.sqlite_zlib
+   # TODO: requires pyzstd
+#  settings.sqlite_zstd
+   )
+   for setting_file in "${settings[@]}"; do
+   einfo "Testing ${setting_file} configuration"
+   epytest "--ds=${setting_file}"
+   done
+}
+
+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
+   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/django-redis/

2023-05-19 Thread Arthur Zamarin
commit: 7bcbcd1b8da6c6bc2d9bc69dc62d475f44690ef3
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat May 20 05:58:24 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat May 20 05:58:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bcbcd1b

dev-python/django-redis: Keyword 5.2.0 x86, #906601

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

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

diff --git a/dev-python/django-redis/django-redis-5.2.0.ebuild 
b/dev-python/django-redis/django-redis-5.2.0.ebuild
index 93fae35b6975..7400467f8ded 100644
--- a/dev-python/django-redis/django-redis-5.2.0.ebuild
+++ b/dev-python/django-redis/django-redis-5.2.0.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/jazzband/django-redis/;
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
 
 RDEPEND="
>=dev-python/django-2.2[${PYTHON_USEDEP}]



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

2023-03-17 Thread Michał Górny
commit: 1192ad7cc64530b1dd02af81491491dafb83
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Mar 17 12:02:26 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Mar 17 15:28:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1192ad7c

dev-python/django-redis: Use pypi.eclass

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

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

diff --git a/dev-python/django-redis/django-redis-5.2.0.ebuild 
b/dev-python/django-redis/django-redis-5.2.0.ebuild
index d4b717c47492..93fae35b6975 100644
--- a/dev-python/django-redis/django-redis-5.2.0.ebuild
+++ b/dev-python/django-redis/django-redis-5.2.0.ebuild
@@ -3,12 +3,12 @@
 
 EAPI=8
 
+PYPI_NO_NORMALIZE=1
 PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1
+inherit distutils-r1 pypi
 
 DESCRIPTION="Full featured redis cache backend for Django"
 HOMEPAGE="https://github.com/jazzband/django-redis/;
-SRC_URI="mirror://pypi/${PN:0:1}"/${PN}/${P}.tar.gz
 
 LICENSE="BSD"
 SLOT="0"



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

2023-01-28 Thread Andrew Ammerlaan
commit: 1464f96ced2011002b574bfae33bff0b648374a7
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sat Jan 28 08:38:52 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat Jan 28 10:01:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1464f96c

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

Signed-off-by: Andrew Ammerlaan  gentoo.org>

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

diff --git a/dev-python/django-redis/django-redis-5.2.0.ebuild 
b/dev-python/django-redis/django-redis-5.2.0.ebuild
index 79831234c990..e030bba9701e 100644
--- a/dev-python/django-redis/django-redis-5.2.0.ebuild
+++ b/dev-python/django-redis/django-redis-5.2.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 inherit distutils-r1
 
 DESCRIPTION="Full featured redis cache backend for Django"



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

2022-06-04 Thread Michał Górny
commit: a789935bcbab0dff06def1a8173423b7ff3aa7c3
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun  4 17:46:51 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun  4 17:48:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a789935b

dev-python/django-redis: Add python@ as maint.

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

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

diff --git a/dev-python/django-redis/metadata.xml 
b/dev-python/django-redis/metadata.xml
index bc485696dcbd..3e88aa426230 100644
--- a/dev-python/django-redis/metadata.xml
+++ b/dev-python/django-redis/metadata.xml
@@ -5,6 +5,10 @@
willi...@gentoo.org
William Hubbs

+   
+   pyt...@gentoo.org
+   Python
+   

jazzband/django-redis
django-redis



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

2022-05-16 Thread Michał Górny
commit: e8d8f1b4f9a7bfb284fb62acc3e3177514c49393
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May 16 13:15:57 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May 16 13:17:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8d8f1b4

dev-python/django-redis: Remove old

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

 dev-python/django-redis/Manifest  |  2 -
 dev-python/django-redis/django-redis-5.0.0.ebuild | 73 -
 dev-python/django-redis/django-redis-5.1.0.ebuild | 79 ---
 3 files changed, 154 deletions(-)

diff --git a/dev-python/django-redis/Manifest b/dev-python/django-redis/Manifest
index cec28dee6521..69b6ca626cb7 100644
--- a/dev-python/django-redis/Manifest
+++ b/dev-python/django-redis/Manifest
@@ -1,3 +1 @@
-DIST django-redis-5.0.0.tar.gz 47508 BLAKE2B 
67d87bcbde16730abd71945fe081d425c1047962ff2ca0c382f65d0588ef72103204f8febfeeda9ea382cf53a5c871c087a85ea817f04fac383961f69324557f
 SHA512 
4516e30122845b49789f04fd079b5bc99a732e814d82deb817f14d105895069defa627f1852ce3fd8464de313a5f01ba81f87272f7a98830f7100dbb0c0bfb12
-DIST django-redis-5.1.0.tar.gz 44112 BLAKE2B 
9b3b142b1817f4c206754ab42b4fc63dca33ac40013eca9fdbf5c797d4c55a745bfb290835904967443729f12dc0d07e0a0c89f81c7afa6173b2687fb72c4246
 SHA512 
eb552eafd2cedc7c550ce6ad1fc56af163a65795c05748a0fc0dc0642092910bbf5163a5ef27bd6c4a4e4bef159c9fb6ce4fb78e64c1964762b8a1330e23e9f7
 DIST django-redis-5.2.0.tar.gz 44132 BLAKE2B 
5d9680e43bfff506924b90cdce4fcbf40883a732af6b599c2e36d8549ce2aedbd69540b187152dc8fdc0d2a93b21c5fd2724d6386772f9b4af8632e38414b577
 SHA512 
65d3dc6b1d72c8b90908cf368cb66ac2eb74bdd32d0b42c8a5288b4448bd7444b21320251262627bc950eaf0d1a1ef0c3014761b690122bea9e5e20f744dd433

diff --git a/dev-python/django-redis/django-redis-5.0.0.ebuild 
b/dev-python/django-redis/django-redis-5.0.0.ebuild
deleted file mode 100644
index e7e938e20d1d..
--- a/dev-python/django-redis/django-redis-5.0.0.ebuild
+++ /dev/null
@@ -1,73 +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} )
-inherit distutils-r1
-
-DESCRIPTION="Full featured redis cache backend for Django"
-HOMEPAGE="https://github.com/jazzband/django-redis/;
-SRC_URI="mirror://pypi/${PN:0:1}"/${PN}/${P}.tar.gz
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
-   >=dev-python/django-2.2[${PYTHON_USEDEP}]
-   >=dev-python/redis-py-3.0.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-db/redis
-   dev-python/lz4[${PYTHON_USEDEP}]
-   dev-python/msgpack[${PYTHON_USEDEP}]
-   dev-python/pytest-django[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
-   sed -e '/--cov/d' -e '/--no-cov/d' -i setup.cfg || die
-   distutils-r1_src_prepare
-}
-
-python_test() {
-   cd tests || die
-   local setting_file settings=(
-   settings.sqlite
-   settings.sqlite_json
-   settings.sqlite_lz4
-   settings.sqlite_msgpack
-   settings.sqlite_sharding
-   settings.sqlite_zlib
-   )
-   for setting_file in "${settings[@]}"; do
-   einfo "Testing ${setting_file} configuration"
-   epytest "--ds=${setting_file}"
-   done
-}
-
-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
-   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/django-redis/django-redis-5.1.0.ebuild 
b/dev-python/django-redis/django-redis-5.1.0.ebuild
deleted file mode 100644
index cf93adbb66fe..
--- a/dev-python/django-redis/django-redis-5.1.0.ebuild
+++ /dev/null
@@ -1,79 +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} )
-inherit distutils-r1
-
-DESCRIPTION="Full featured redis cache backend for Django"
-HOMEPAGE="https://github.com/jazzband/django-redis/;
-SRC_URI="mirror://pypi/${PN:0:1}"/${PN}/${P}.tar.gz
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
-   >=dev-python/django-2.2[${PYTHON_USEDEP}]
-   >=dev-python/redis-py-3.0.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-db/redis
-   dev-python/lz4[${PYTHON_USEDEP}]
-   dev-python/msgpack[${PYTHON_USEDEP}]
-   

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

2021-12-22 Thread Arthur Zamarin
commit: 88351eaf28766d225d1fb505471fae3553cd9813
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Dec 22 16:31:37 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Dec 22 18:09:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88351eaf

dev-python/django-redis: add 5.2.0

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

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

diff --git a/dev-python/django-redis/Manifest b/dev-python/django-redis/Manifest
index b1ea183a858b..cec28dee6521 100644
--- a/dev-python/django-redis/Manifest
+++ b/dev-python/django-redis/Manifest
@@ -1,2 +1,3 @@
 DIST django-redis-5.0.0.tar.gz 47508 BLAKE2B 
67d87bcbde16730abd71945fe081d425c1047962ff2ca0c382f65d0588ef72103204f8febfeeda9ea382cf53a5c871c087a85ea817f04fac383961f69324557f
 SHA512 
4516e30122845b49789f04fd079b5bc99a732e814d82deb817f14d105895069defa627f1852ce3fd8464de313a5f01ba81f87272f7a98830f7100dbb0c0bfb12
 DIST django-redis-5.1.0.tar.gz 44112 BLAKE2B 
9b3b142b1817f4c206754ab42b4fc63dca33ac40013eca9fdbf5c797d4c55a745bfb290835904967443729f12dc0d07e0a0c89f81c7afa6173b2687fb72c4246
 SHA512 
eb552eafd2cedc7c550ce6ad1fc56af163a65795c05748a0fc0dc0642092910bbf5163a5ef27bd6c4a4e4bef159c9fb6ce4fb78e64c1964762b8a1330e23e9f7
+DIST django-redis-5.2.0.tar.gz 44132 BLAKE2B 
5d9680e43bfff506924b90cdce4fcbf40883a732af6b599c2e36d8549ce2aedbd69540b187152dc8fdc0d2a93b21c5fd2724d6386772f9b4af8632e38414b577
 SHA512 
65d3dc6b1d72c8b90908cf368cb66ac2eb74bdd32d0b42c8a5288b4448bd7444b21320251262627bc950eaf0d1a1ef0c3014761b690122bea9e5e20f744dd433

diff --git a/dev-python/django-redis/django-redis-5.2.0.ebuild 
b/dev-python/django-redis/django-redis-5.2.0.ebuild
new file mode 100644
index ..cf93adbb66fe
--- /dev/null
+++ b/dev-python/django-redis/django-redis-5.2.0.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Full featured redis cache backend for Django"
+HOMEPAGE="https://github.com/jazzband/django-redis/;
+SRC_URI="mirror://pypi/${PN:0:1}"/${PN}/${P}.tar.gz
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   >=dev-python/django-2.2[${PYTHON_USEDEP}]
+   >=dev-python/redis-py-3.0.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-db/redis
+   dev-python/lz4[${PYTHON_USEDEP}]
+   dev-python/msgpack[${PYTHON_USEDEP}]
+   dev-python/pytest-django[${PYTHON_USEDEP}]
+   dev-python/pytest-mock[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+   sed -e '/--cov/d' \
+   -e '/--no-cov/d' \
+   -e '/redis/s:,<4::' \
+   -i setup.cfg || die
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   cd tests || die
+   local setting_file settings=(
+   settings.sqlite
+   settings.sqlite_json
+   settings.sqlite_lz4
+   settings.sqlite_msgpack
+   settings.sqlite_sharding
+   settings.sqlite_zlib
+   # TODO: requires pyzstd
+#  settings.sqlite_zstd
+   )
+   for setting_file in "${settings[@]}"; do
+   einfo "Testing ${setting_file} configuration"
+   epytest "--ds=${setting_file}"
+   done
+}
+
+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
+   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/django-redis/

2021-11-30 Thread Michał Górny
commit: 618ff7333a1dc239daa7241c33259996ab99fd0d
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Nov 30 18:13:28 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Nov 30 18:46:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=618ff733

dev-python/django-redis: Bump to 5.1.0

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

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

diff --git a/dev-python/django-redis/Manifest b/dev-python/django-redis/Manifest
index 2e1df9d5e473..b1ea183a858b 100644
--- a/dev-python/django-redis/Manifest
+++ b/dev-python/django-redis/Manifest
@@ -1 +1,2 @@
 DIST django-redis-5.0.0.tar.gz 47508 BLAKE2B 
67d87bcbde16730abd71945fe081d425c1047962ff2ca0c382f65d0588ef72103204f8febfeeda9ea382cf53a5c871c087a85ea817f04fac383961f69324557f
 SHA512 
4516e30122845b49789f04fd079b5bc99a732e814d82deb817f14d105895069defa627f1852ce3fd8464de313a5f01ba81f87272f7a98830f7100dbb0c0bfb12
+DIST django-redis-5.1.0.tar.gz 44112 BLAKE2B 
9b3b142b1817f4c206754ab42b4fc63dca33ac40013eca9fdbf5c797d4c55a745bfb290835904967443729f12dc0d07e0a0c89f81c7afa6173b2687fb72c4246
 SHA512 
eb552eafd2cedc7c550ce6ad1fc56af163a65795c05748a0fc0dc0642092910bbf5163a5ef27bd6c4a4e4bef159c9fb6ce4fb78e64c1964762b8a1330e23e9f7

diff --git a/dev-python/django-redis/django-redis-5.1.0.ebuild 
b/dev-python/django-redis/django-redis-5.1.0.ebuild
new file mode 100644
index ..cf93adbb66fe
--- /dev/null
+++ b/dev-python/django-redis/django-redis-5.1.0.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Full featured redis cache backend for Django"
+HOMEPAGE="https://github.com/jazzband/django-redis/;
+SRC_URI="mirror://pypi/${PN:0:1}"/${PN}/${P}.tar.gz
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   >=dev-python/django-2.2[${PYTHON_USEDEP}]
+   >=dev-python/redis-py-3.0.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-db/redis
+   dev-python/lz4[${PYTHON_USEDEP}]
+   dev-python/msgpack[${PYTHON_USEDEP}]
+   dev-python/pytest-django[${PYTHON_USEDEP}]
+   dev-python/pytest-mock[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+   sed -e '/--cov/d' \
+   -e '/--no-cov/d' \
+   -e '/redis/s:,<4::' \
+   -i setup.cfg || die
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   cd tests || die
+   local setting_file settings=(
+   settings.sqlite
+   settings.sqlite_json
+   settings.sqlite_lz4
+   settings.sqlite_msgpack
+   settings.sqlite_sharding
+   settings.sqlite_zlib
+   # TODO: requires pyzstd
+#  settings.sqlite_zstd
+   )
+   for setting_file in "${settings[@]}"; do
+   einfo "Testing ${setting_file} configuration"
+   epytest "--ds=${setting_file}"
+   done
+}
+
+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
+   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/django-redis/

2021-10-17 Thread Michał Górny
commit: 38dba3b1206227009796d7f8e7ef617efe330d72
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Oct 17 07:39:15 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Oct 17 07:41:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38dba3b1

dev-python/django-redis: Remove old

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

 dev-python/django-redis/Manifest   |  1 -
 dev-python/django-redis/django-redis-4.10.0.ebuild | 20 
 2 files changed, 21 deletions(-)

diff --git a/dev-python/django-redis/Manifest b/dev-python/django-redis/Manifest
index d425e911bd9..2e1df9d5e47 100644
--- a/dev-python/django-redis/Manifest
+++ b/dev-python/django-redis/Manifest
@@ -1,2 +1 @@
-DIST django-redis-4.10.0.tar.gz 59208 BLAKE2B 
76a6887fdcce7decaeb2c4b76ff0ff58b8b074e902f6ccfc57dbdd21aeac82fbe37367caaf0af1c6facd5b87db6bb053b2fc553ba87b3cca970f2c0b1f99e35c
 SHA512 
39e2d72699ceb2b0887e7048db22a4067001fb5e2c10ae2c5d2d8a0ab71e862773e443ba3a109f7b874b994a842e89772b3e33152aafd2a98e1cd906d5d2e690
 DIST django-redis-5.0.0.tar.gz 47508 BLAKE2B 
67d87bcbde16730abd71945fe081d425c1047962ff2ca0c382f65d0588ef72103204f8febfeeda9ea382cf53a5c871c087a85ea817f04fac383961f69324557f
 SHA512 
4516e30122845b49789f04fd079b5bc99a732e814d82deb817f14d105895069defa627f1852ce3fd8464de313a5f01ba81f87272f7a98830f7100dbb0c0bfb12

diff --git a/dev-python/django-redis/django-redis-4.10.0.ebuild 
b/dev-python/django-redis/django-redis-4.10.0.ebuild
deleted file mode 100644
index 58ee6c87a0c..000
--- a/dev-python/django-redis/django-redis-4.10.0.ebuild
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-
-inherit distutils-r1
-
-DESCRIPTION="Full featured redis cache backend for Django"
-HOMEPAGE="https://github.com/jazzband/django-redis/;
-SRC_URI="mirror://pypi/${PN:0:1}"/${PN}/${P}.tar.gz
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND=">=dev-python/django-1.11[${PYTHON_USEDEP}]
-   >=dev-python/redis-py-2.10.0[${PYTHON_USEDEP}]"
-RDEPEND="${DEPEND}"



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

2021-08-23 Thread Arthur Zamarin
commit: e01c5f0e46aa7f1acf7a1e7bf70b699fec6bc7b5
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Aug 23 13:38:49 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Aug 23 13:51:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e01c5f0e

dev-python/django-redis: add 5.0.0, enable py3.{9,10}, EAPI=8, add tests

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

 dev-python/django-redis/Manifest  |  1 +
 dev-python/django-redis/django-redis-5.0.0.ebuild | 73 +++
 2 files changed, 74 insertions(+)

diff --git a/dev-python/django-redis/Manifest b/dev-python/django-redis/Manifest
index 57ff3e1cacd..d425e911bd9 100644
--- a/dev-python/django-redis/Manifest
+++ b/dev-python/django-redis/Manifest
@@ -1 +1,2 @@
 DIST django-redis-4.10.0.tar.gz 59208 BLAKE2B 
76a6887fdcce7decaeb2c4b76ff0ff58b8b074e902f6ccfc57dbdd21aeac82fbe37367caaf0af1c6facd5b87db6bb053b2fc553ba87b3cca970f2c0b1f99e35c
 SHA512 
39e2d72699ceb2b0887e7048db22a4067001fb5e2c10ae2c5d2d8a0ab71e862773e443ba3a109f7b874b994a842e89772b3e33152aafd2a98e1cd906d5d2e690
+DIST django-redis-5.0.0.tar.gz 47508 BLAKE2B 
67d87bcbde16730abd71945fe081d425c1047962ff2ca0c382f65d0588ef72103204f8febfeeda9ea382cf53a5c871c087a85ea817f04fac383961f69324557f
 SHA512 
4516e30122845b49789f04fd079b5bc99a732e814d82deb817f14d105895069defa627f1852ce3fd8464de313a5f01ba81f87272f7a98830f7100dbb0c0bfb12

diff --git a/dev-python/django-redis/django-redis-5.0.0.ebuild 
b/dev-python/django-redis/django-redis-5.0.0.ebuild
new file mode 100644
index 000..e7e938e20d1
--- /dev/null
+++ b/dev-python/django-redis/django-redis-5.0.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Full featured redis cache backend for Django"
+HOMEPAGE="https://github.com/jazzband/django-redis/;
+SRC_URI="mirror://pypi/${PN:0:1}"/${PN}/${P}.tar.gz
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   >=dev-python/django-2.2[${PYTHON_USEDEP}]
+   >=dev-python/redis-py-3.0.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-db/redis
+   dev-python/lz4[${PYTHON_USEDEP}]
+   dev-python/msgpack[${PYTHON_USEDEP}]
+   dev-python/pytest-django[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+   sed -e '/--cov/d' -e '/--no-cov/d' -i setup.cfg || die
+   distutils-r1_src_prepare
+}
+
+python_test() {
+   cd tests || die
+   local setting_file settings=(
+   settings.sqlite
+   settings.sqlite_json
+   settings.sqlite_lz4
+   settings.sqlite_msgpack
+   settings.sqlite_sharding
+   settings.sqlite_zlib
+   )
+   for setting_file in "${settings[@]}"; do
+   einfo "Testing ${setting_file} configuration"
+   epytest "--ds=${setting_file}"
+   done
+}
+
+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
+   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/django-redis/

2020-12-11 Thread Michał Górny
commit: 80e5fb5f0ab075fbe645121ab15ab46938eb7aa1
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Dec 11 14:45:25 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Dec 11 14:51:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80e5fb5f

dev-python/django-redis: Update HOMEPAGE

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

 dev-python/django-redis/django-redis-4.10.0.ebuild | 4 ++--
 dev-python/django-redis/metadata.xml   | 4 
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-python/django-redis/django-redis-4.10.0.ebuild 
b/dev-python/django-redis/django-redis-4.10.0.ebuild
index cdd13fa9c90..58ee6c87a0c 100644
--- a/dev-python/django-redis/django-redis-4.10.0.ebuild
+++ b/dev-python/django-redis/django-redis-4.10.0.ebuild
@@ -7,8 +7,8 @@ PYTHON_COMPAT=( python3_{7,8} )
 
 inherit distutils-r1
 
-DESCRIPTION="Full featured redis cache backend for Django."
-HOMEPAGE="https://github.com/niwinz/django-redis;
+DESCRIPTION="Full featured redis cache backend for Django"
+HOMEPAGE="https://github.com/jazzband/django-redis/;
 SRC_URI="mirror://pypi/${PN:0:1}"/${PN}/${P}.tar.gz
 
 LICENSE="BSD"

diff --git a/dev-python/django-redis/metadata.xml 
b/dev-python/django-redis/metadata.xml
index c36c37139fa..e093c7994dc 100644
--- a/dev-python/django-redis/metadata.xml
+++ b/dev-python/django-redis/metadata.xml
@@ -5,4 +5,8 @@
willi...@gentoo.org
William Hubbs

+   
+   jazzband/django-redis
+   django-redis
+   
 



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

2020-08-01 Thread Aaron Bauman
commit: 69e71dfe0357f16c0ad010ea7cc81c76673c086c
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sun Aug  2 04:21:52 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun Aug  2 04:21:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69e71dfe

dev-python/django-redis: drop py3.6 in favor of py3_{7,8}

* still needs tests and a ver bump

Bug: https://bugs.gentoo.org/718728
Signed-off-by: Aaron Bauman  gentoo.org>

 dev-python/django-redis/django-redis-4.10.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-python/django-redis/django-redis-4.10.0.ebuild 
b/dev-python/django-redis/django-redis-4.10.0.ebuild
index 6e4c252662e..cdd13fa9c90 100644
--- a/dev-python/django-redis/django-redis-4.10.0.ebuild
+++ b/dev-python/django-redis/django-redis-4.10.0.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{7,8} )
+
 inherit distutils-r1
 
 DESCRIPTION="Full featured redis cache backend for Django."



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

2019-04-03 Thread William Hubbs
commit: 3284da4b736d3c16ad16ec444d7da074aa164a82
Author: William Hubbs  sony  com>
AuthorDate: Wed Apr  3 15:58:50 2019 +
Commit: William Hubbs  gentoo  org>
CommitDate: Wed Apr  3 18:46:18 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3284da4b

dev-python/django-redis: Full featured redis cache backend for Django

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

 dev-python/django-redis/Manifest   |  1 +
 dev-python/django-redis/django-redis-4.10.0.ebuild | 19 +++
 dev-python/django-redis/metadata.xml   |  8 
 3 files changed, 28 insertions(+)

diff --git a/dev-python/django-redis/Manifest b/dev-python/django-redis/Manifest
new file mode 100644
index 000..57ff3e1cacd
--- /dev/null
+++ b/dev-python/django-redis/Manifest
@@ -0,0 +1 @@
+DIST django-redis-4.10.0.tar.gz 59208 BLAKE2B 
76a6887fdcce7decaeb2c4b76ff0ff58b8b074e902f6ccfc57dbdd21aeac82fbe37367caaf0af1c6facd5b87db6bb053b2fc553ba87b3cca970f2c0b1f99e35c
 SHA512 
39e2d72699ceb2b0887e7048db22a4067001fb5e2c10ae2c5d2d8a0ab71e862773e443ba3a109f7b874b994a842e89772b3e33152aafd2a98e1cd906d5d2e690

diff --git a/dev-python/django-redis/django-redis-4.10.0.ebuild 
b/dev-python/django-redis/django-redis-4.10.0.ebuild
new file mode 100644
index 000..982a5193340
--- /dev/null
+++ b/dev-python/django-redis/django-redis-4.10.0.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_6 )
+inherit distutils-r1
+
+DESCRIPTION="Full featured redis cache backend for Django."
+HOMEPAGE="https://github.com/niwinz/django-redis;
+SRC_URI="mirror://pypi/${PN:0:1}"/${PN}/${P}.tar.gz
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND=">=dev-python/django-1.11[${PYTHON_USEDEP}]
+   >=dev-python/redis-py-2.10.0[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"

diff --git a/dev-python/django-redis/metadata.xml 
b/dev-python/django-redis/metadata.xml
new file mode 100644
index 000..c36c37139fa
--- /dev/null
+++ b/dev-python/django-redis/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   willi...@gentoo.org
+   William Hubbs
+   
+