Skip to content

Commit

Permalink
www/py-dj41-django-redis: Change RUN_DEPENDS back to py-redis
Browse files Browse the repository at this point in the history
The previous commit 957fc72 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)
  • Loading branch information
knobix committed Apr 14, 2023
1 parent 2a3105b commit 74c4df1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/py-dj41-django-redis/Makefile
Original file line number Diff line number Diff line change
@@ -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-
Expand All @@ -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}
Expand Down

0 comments on commit 74c4df1

Please sign in to comment.