git: c55ccee4cda5 - main - www/py-dj42-django-redis: Update to 5.4.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 28 Oct 2023 04:38:20 UTC
The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=c55ccee4cda5680481c62fa6c95a8869f44adec7 commit c55ccee4cda5680481c62fa6c95a8869f44adec7 Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2023-10-28 04:21:27 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2023-10-28 04:34:05 +0000 www/py-dj42-django-redis: Update to 5.4.0 * Update test suite and switch to USE_PYTHON=pytest * Pet portclippy while I'm here. Changelog: https://github.com/jazzband/django-redis/releases/tag/5.4.0 MFH: 2023Q4 --- www/py-dj42-django-redis/Makefile | 19 +++++++++++-------- www/py-dj42-django-redis/distinfo | 6 +++--- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/www/py-dj42-django-redis/Makefile b/www/py-dj42-django-redis/Makefile index 4e35ecd3d297..2c95583117f6 100644 --- a/www/py-dj42-django-redis/Makefile +++ b/www/py-dj42-django-redis/Makefile @@ -1,5 +1,5 @@ PORTNAME= django-redis -PORTVERSION= 5.3.0 +PORTVERSION= 5.4.0 CATEGORIES= www databases python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj42- @@ -13,18 +13,21 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=3.2:www/py-django42@${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} +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} \ + redis-server:databases/redis USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent distutils pytest -NO_ARCH= yes +TEST_ENV= DJANGO_SETTINGS_MODULE=settings.sqlite \ + PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} -do-test: - @cd ${WRKSRC}/tests && ${PYTHON_CMD} runtests.py +NO_ARCH= yes + +TEST_WRKSRC= ${WRKSRC}/tests .include <bsd.port.mk> diff --git a/www/py-dj42-django-redis/distinfo b/www/py-dj42-django-redis/distinfo index 96e7c75028c0..ef02bb27e20d 100644 --- a/www/py-dj42-django-redis/distinfo +++ b/www/py-dj42-django-redis/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1688166346 -SHA256 (django-redis-5.3.0.tar.gz) = 8bc5793ec06b28ea802aad85ec437e7646511d4e571e07ccad19cfed8b9ddd44 -SIZE (django-redis-5.3.0.tar.gz) = 44800 +TIMESTAMP = 1698348853 +SHA256 (django-redis-5.4.0.tar.gz) = 6a02abaa34b0fea8bf9b707d2c363ab6adc7409950b2db93602e6cb292818c42 +SIZE (django-redis-5.4.0.tar.gz) = 52567