git: 816828e95ad7 - main - www/py-django-redis: Cosmetic change
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Dec 2023 06:06:41 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=816828e95ad719edfdea76fe5cf35ebca32c3944 commit 816828e95ad719edfdea76fe5cf35ebca32c3944 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-12-14 05:37:17 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-12-14 05:48:33 +0000 www/py-django-redis: Cosmetic change - Move TEST_* together - Change +3.11 to 3.11+ --- www/py-django-redis/Makefile | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/www/py-django-redis/Makefile b/www/py-django-redis/Makefile index 81957ca9dc89..05aed1045518 100644 --- a/www/py-django-redis/Makefile +++ b/www/py-django-redis/Makefile @@ -14,24 +14,21 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=3.2:www/py-django32@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}redis>=3.0.0: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} \ - ${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-django>=0:devel/py-pytest-django@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-mock>=0:devel/py-pytest-mock@${PY_FLAVOR} \ redis-server:databases/redis USES= python USE_PYTHON= autoplist concurrent distutils pytest -# Required for Python +3.11 as the 'cgi' module is deprecated and slated for -# removal in Python 3.13 +# Required for Python 3.11+ as the cgi module is deprecated and slated for removal in Python 3.13 TEST_ARGS= -W ignore::DeprecationWarning - TEST_ENV= DJANGO_SETTINGS_MODULE=settings.sqlite \ - PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} - -CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} + PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} +TEST_WRKSRC= ${WRKSRC}/tests NO_ARCH= yes -TEST_WRKSRC= ${WRKSRC}/tests +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*django-redis .include <bsd.port.mk>