git: 74c4df128bbd - main - www/py-dj41-django-redis: Change RUN_DEPENDS back to py-redis
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 14 Apr 2023 08:06:43 UTC
The branch main has been updated by kai:
URL: https://cgit.FreeBSD.org/ports/commit/?id=74c4df128bbd7480d8c0cf76931bc3c23f366f6c
commit 74c4df128bbd7480d8c0cf76931bc3c23f366f6c
Author: Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2023-04-14 08:00:01 +0000
Commit: Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-04-14 08:00:01 +0000
www/py-dj41-django-redis: Change RUN_DEPENDS back to py-redis
The previous commit 957fc72127d3 changed the RUN_DEPENDS from py-redis
to py-redis3, which was derived from the set version constraint (= <4).
The constraint was added as a precautionary measure when this port was
introduced to the ports tree due an currently open issue in conjunction
with py-redis >= 4 (issue #595) and therefore to avoid possible
problems/regressions in regard to net-mgmt/netbox.
The last change to this port has now led to installation conflicts with
net-mgmt/netbox because it requires this port as well as
devel/py-dj41-django-rq. The latter one, pulls in databases/py-redis,
which in the end led to the reported problem. [1]
Fix the issue by switching back to py-redis and also removing the
version constraint.
PR: 270792
Reported by: Fredrik Eriksson [1]
Approved by: sunpoet (maintainer)
---
www/py-dj41-django-redis/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/www/py-dj41-django-redis/Makefile b/www/py-dj41-django-redis/Makefile
index c89a3d11775e..9daee98d4a04 100644
--- a/www/py-dj41-django-redis/Makefile
+++ b/www/py-dj41-django-redis/Makefile
@@ -1,6 +1,6 @@
PORTNAME= django-redis
PORTVERSION= 5.2.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj41-
@@ -13,7 +13,7 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django41>=2.2:www/py-django41@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}redis3>=3<4:databases/py-redis3@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}redis>=3:databases/py-redis@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hiredis>=0:databases/py-hiredis@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}msgpack>=0:devel/py-msgpack@${PY_FLAVOR}