git: f7d3bafbf2ca - main - devel/py-django-rq: Update to 2.10.2

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Sun, 26 May 2024 07:59:44 UTC
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f7d3bafbf2cac51cbaef377886bccec4504950e5

commit f7d3bafbf2cac51cbaef377886bccec4504950e5
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2024-05-26 07:51:47 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2024-05-26 07:51:47 +0000

    devel/py-django-rq: Update to 2.10.2
    
    * Fix and update the test suite as the "django-admin" script is shipped
      nowadays without the ".py" extension.
    
    * Reduce the set of required dependencies for the test suite as well.
    
    Changelog since 2.9.0:
    
    https://github.com/rq/django-rq/compare/v2.9.0...97e6bf2
    
    PR:             278931
    Approved by:    sunpoet (maintainer)
---
 devel/py-django-rq/Makefile | 14 ++++++--------
 devel/py-django-rq/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/devel/py-django-rq/Makefile b/devel/py-django-rq/Makefile
index c1f524396d54..bfbb9946ea61 100644
--- a/devel/py-django-rq/Makefile
+++ b/devel/py-django-rq/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	django-rq
-PORTVERSION=	2.9.0
-PORTREVISION=	3
+PORTVERSION=	2.10.2
 CATEGORIES=	devel python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MASTER_SITES=	PYPI
@@ -17,22 +16,21 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLA
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django42>=3.2:www/py-django42@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}redis>=3:databases/py-redis@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}rq>=1.14:devel/py-rq@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}docutils>=0,1:textproc/py-docutils@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django-redis>=0:www/py-django-redis@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}rq-scheduler>=0:devel/py-rq-scheduler@${PY_FLAVOR} \
 		redis-server:databases/redis
 
 USES=		python
 USE_PYTHON=	autoplist concurrent pep517
 
+TEST_ENV=	PYTHONPATH="."
+
 NO_ARCH=	yes
 
 CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}*django-rq
 
 # https://github.com/rq/django-rq/blob/master/Makefile
 do-test:
-	cd ${WRKSRC} && coverage-${PYTHON_VER} run ${LOCALBASE}/bin/django-admin.py test django_rq --settings=django_rq.tests.settings --pythonpath=.
-	cd ${WRKSRC} && ${PYTHON_CMD} setup.py check --metadata --restructuredtext --strict
+	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${LOCALBASE}/bin/django-admin test django_rq --settings=django_rq.tests.settings -v2
 
 .include <bsd.port.mk>
diff --git a/devel/py-django-rq/distinfo b/devel/py-django-rq/distinfo
index 6c3ec69f8e20..7025fbacd602 100644
--- a/devel/py-django-rq/distinfo
+++ b/devel/py-django-rq/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1701083368
-SHA256 (django-rq-2.9.0.tar.gz) = cb9c5dcc6f037316cb227809607f1dc96ddb58ea8face454b09173b412f74966
-SIZE (django-rq-2.9.0.tar.gz) = 49153
+TIMESTAMP = 1715503169
+SHA256 (django-rq-2.10.2.tar.gz) = d1690b6a409934a0ea23c208ccb00d69477899f8edc61106ce5395c19dcdfb1e
+SIZE (django-rq-2.10.2.tar.gz) = 49744