Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Nov 2024 08:08:36 GMT
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 396d79ca69de - main - devel/py-dj50-django-rq: Update to 3.0.0
Message-ID:  <202411230808.4AN88acF082613@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kai:

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

commit 396d79ca69de656f10aed6eeab092ce37293fb76
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2024-11-23 07:51:39 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2024-11-23 07:56:56 +0000

    devel/py-dj50-django-rq: Update to 3.0.0
    
    * Add SENTRY option to reflect the settings in setup.py.  Keep it
      non-default for now because this port is currently only used by
      net-mgmt/netbox and it also has such an option, which is non-default
      as well.
    
    Changelog:
    
    https://github.com/rq/django-rq/releases/tag/v3.0
    
    PR:             282649
    MFH:            No (contains breaking changes)
---
 devel/py-dj50-django-rq/Makefile | 15 ++++++++++++---
 devel/py-dj50-django-rq/distinfo |  6 +++---
 2 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/devel/py-dj50-django-rq/Makefile b/devel/py-dj50-django-rq/Makefile
index d2a1bf54ebf5..e8bdd760e6e4 100644
--- a/devel/py-dj50-django-rq/Makefile
+++ b/devel/py-dj50-django-rq/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	django-rq
-PORTVERSION=	2.10.2
+PORTVERSION=	3.0.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj50-
@@ -12,9 +12,10 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django50>=3.2:www/py-django50@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}redis>=3:databases/py-redis@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}rq>=1.14:devel/py-rq@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}redis>=3.5:databases/py-redis@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}rq>=2:devel/py-rq@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dj50-django-redis>0:www/py-dj50-django-redis@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}rq-scheduler>=0:devel/py-rq-scheduler@${PY_FLAVOR} \
 		redis-server:databases/redis
 
@@ -27,7 +28,15 @@ CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	SENTRY
+
+SENTRY_DESC=	Sentry support
+
+SENTRY_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sentry-sdk>=1.0.0:devel/py-sentry-sdk@${PY_FLAVOR}
+
 # https://github.com/rq/django-rq/blob/master/Makefile
+# The test suite is not fully working at the moment, which is because
+# devel/py-rq-scheduler is still using the 1.x release of devel/py-rq
 do-test:
 	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${LOCALBASE}/bin/django-admin test django_rq --settings=django_rq.tests.settings -v2
 
diff --git a/devel/py-dj50-django-rq/distinfo b/devel/py-dj50-django-rq/distinfo
index 5c169838309e..cfd9a078c46b 100644
--- a/devel/py-dj50-django-rq/distinfo
+++ b/devel/py-dj50-django-rq/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1712292732
-SHA256 (django-rq-2.10.2.tar.gz) = d1690b6a409934a0ea23c208ccb00d69477899f8edc61106ce5395c19dcdfb1e
-SIZE (django-rq-2.10.2.tar.gz) = 49744
+TIMESTAMP = 1730574573
+SHA256 (django-rq-3.0.0.tar.gz) = 7bdadb85d9909c118cf1ee1b9bdd1a74ebf141bf8f3c2de2409fcac6080f67ac
+SIZE (django-rq-3.0.0.tar.gz) = 53356



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411230808.4AN88acF082613>