git: 46e0de361f3c - main - www/py-dj51-django-redis: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 14 Mar 2025 09:59:10 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=46e0de361f3c0b041094506e73f4e93c57ea62f3
commit 46e0de361f3c0b041094506e73f4e93c57ea62f3
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-03-14 09:41:19 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-03-14 09:54:27 +0000
www/py-dj51-django-redis: Convert to USE_PYTHON=pep517
- Sync with www/py-django-redis
- Bump PORTREVISION for package change
---
www/py-dj51-django-redis/Makefile | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/www/py-dj51-django-redis/Makefile b/www/py-dj51-django-redis/Makefile
index 6a0468e8d981..b9faf0e6ec86 100644
--- a/www/py-dj51-django-redis/Makefile
+++ b/www/py-dj51-django-redis/Makefile
@@ -1,6 +1,6 @@
PORTNAME= django-redis
PORTVERSION= 5.4.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51-
@@ -12,6 +12,8 @@ WWW= https://github.com/jazzband/django-redis
LICENSE= BSD3CLAUSE
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}django51>=3.2:www/py-django51@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}redis>=3:databases/py-redis@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0:devel/py-msgpack@${PY_FLAVOR} \
@@ -20,15 +22,14 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack>=0:devel/py-msgpack@${PY_FLAVOR} \
redis-server:databases/redis
USES= python:3.10+
-USE_PYTHON= autoplist concurrent distutils pytest
+USE_PYTHON= autoplist concurrent pep517 pytest
TEST_ENV= DJANGO_SETTINGS_MODULE=settings.sqlite \
PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
-
-CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
+TEST_WRKSRC= ${WRKSRC}/tests
NO_ARCH= yes
-TEST_WRKSRC= ${WRKSRC}/tests
+CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*django-redis
.include <bsd.port.mk>