git: b1c70dd1eeb3 - main - www/py-django-redis: Update to 7.0.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 08 Jul 2026 13:41:48 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b1c70dd1eeb3396484086fd0a37efff8653d21a9
commit b1c70dd1eeb3396484086fd0a37efff8653d21a9
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-07-08 13:03:47 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-07-08 13:32:31 +0000
www/py-django-redis: Update to 7.0.0
Changes: https://github.com/jazzband/django-redis/releases
---
www/py-django-redis/Makefile | 18 ++++++++++++------
www/py-django-redis/distinfo | 6 +++---
www/py-django-redis/files/patch-pyproject.toml | 17 +++++++++++++++++
3 files changed, 32 insertions(+), 9 deletions(-)
diff --git a/www/py-django-redis/Makefile b/www/py-django-redis/Makefile
index 369e17fe512f..9ed64a851598 100644
--- a/www/py-django-redis/Makefile
+++ b/www/py-django-redis/Makefile
@@ -1,6 +1,5 @@
PORTNAME= django-redis
-PORTVERSION= 6.0.0
-PORTREVISION= 1
+PORTVERSION= 7.0.0
CATEGORIES= www databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,11 +14,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=4.2:www/py-django52@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=5.2<7.0:www/py-django52@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}redis>=4.0.2:databases/py-redis@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0:devel/py-msgpack@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest-django>=0:devel/py-pytest-django@${PY_FLAVOR} \
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0.6.0:devel/py-msgpack@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-mock>=0:devel/py-pytest-mock@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0:devel/py-pytest-xdist@${PY_FLAVOR} \
redis-server:databases/redis
USES= python
@@ -35,4 +35,10 @@ NO_ARCH= yes
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*django-redis
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31300
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.12:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/py-django-redis/distinfo b/www/py-django-redis/distinfo
index 49e1848a28b8..16a451077092 100644
--- a/www/py-django-redis/distinfo
+++ b/www/py-django-redis/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1751208156
-SHA256 (django_redis-6.0.0.tar.gz) = 2d9cb12a20424a4c4dde082c6122f486628bae2d9c2bee4c0126a4de7fda00dd
-SIZE (django_redis-6.0.0.tar.gz) = 56904
+TIMESTAMP = 1782966644
+SHA256 (django_redis-7.0.0.tar.gz) = e48491c862f4350b0747ceb1016700686fb93c4f4e0fb9c490fe6c6658ffd933
+SIZE (django_redis-7.0.0.tar.gz) = 64601
diff --git a/www/py-django-redis/files/patch-pyproject.toml b/www/py-django-redis/files/patch-pyproject.toml
new file mode 100644
index 000000000000..a16f7a5877fe
--- /dev/null
+++ b/www/py-django-redis/files/patch-pyproject.toml
@@ -0,0 +1,17 @@
+--- pyproject.toml.orig 2026-06-02 14:13:32 UTC
++++ pyproject.toml
+@@ -1,12 +1,12 @@
+ [build-system]
+-requires = ["setuptools>=77.0.3"]
++requires = ["setuptools>=61"]
+ build-backend = "setuptools.build_meta"
+
+ [project]
+ name = "django-redis"
+ description = "Full featured redis cache backend for Django."
+ readme = "README.rst"
+-license = "BSD-3-Clause"
++license = { text = "BSD-3-Clause" }
+
+ authors = [
+ { name = "Andrei Antoukh", email = "niwi@niwi.nz" },