git: 0cd2266b791b - main - devel/py-django-rq: Add SENTRY option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Oct 2024 12:13:54 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0cd2266b791bb799e98cd5bd9c08b60fa89a9d2b
commit 0cd2266b791bb799e98cd5bd9c08b60fa89a9d2b
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-30 12:11:27 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-30 12:11:27 +0000
devel/py-django-rq: Add SENTRY option
---
devel/py-django-rq/Makefile | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/devel/py-django-rq/Makefile b/devel/py-django-rq/Makefile
index 115d6a537faa..e97c73da1d20 100644
--- a/devel/py-django-rq/Makefile
+++ b/devel/py-django-rq/Makefile
@@ -28,6 +28,11 @@ TEST_ENV= PYTHONPATH=.
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*django-rq
+OPTIONS_DEFINE= SENTRY
+SENTRY_DESC= Sentry support
+
+SENTRY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}raven>=6.1.0:devel/py-raven@${PY_FLAVOR}
+
# https://github.com/rq/django-rq/blob/master/Makefile
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${LOCALBASE}/bin/django-admin test django_rq --settings=django_rq.tests.settings -v2