2022-06-16 17:57:10 +02:00
PORTNAME = django-rq
2022-12-30 09:42:15 +01:00
PORTVERSION = 2.6.0
2022-06-16 17:57:10 +02:00
CATEGORIES = devel python
2023-01-11 16:47:15 +01:00
MASTER_SITES = PYPI
2022-06-16 17:57:10 +02:00
PKGNAMEPREFIX = ${ PYTHON_PKGNAMEPREFIX } dj40-
MAINTAINER = sunpoet@FreeBSD.org
COMMENT = Provides Django integration for RQ ( Redis Queue)
2022-09-07 23:06:12 +02:00
WWW = https://github.com/rq/django-rq
2022-06-16 17:57:10 +02:00
LICENSE = MIT
LICENSE_FILE = ${ WRKSRC } /LICENSE.txt
2023-02-22 08:10:22 +01:00
DEPRECATED = Extended support of Django 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/
EXPIRATION_DATE = 2023-05-20
2022-06-16 17:57:10 +02:00
RUN_DEPENDS = ${ PYTHON_PKGNAMEPREFIX } django40>= 2.0:www/py-django40@${ PY_FLAVOR } \
${ PYTHON_PKGNAMEPREFIX } redis>= 3:databases/py-redis@${ PY_FLAVOR } \
${ PYTHON_PKGNAMEPREFIX } rq>= 1.2: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 } \
redis-server:databases/redis
USES = python:3.6+
USE_PYTHON = autoplist concurrent distutils
NO_ARCH = yes
CONFLICTS_INSTALL = ${ PYTHON_PKGNAMEPREFIX } *${ PORTNAME }
# 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
. i n c l u d e < b s d . p o r t . m k >