PORTNAME= django-rq PORTVERSION= 2.10.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj42- MAINTAINER= kai@FreeBSD.org COMMENT= Provides Django integration for RQ (Redis Queue) WWW= https://github.com/rq/django-rq LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt 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}dj42-django-redis>0:www/py-dj42-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 distutils TEST_ENV= PYTHONPATH="." NO_ARCH= yes CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} # 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 .include <bsd.port.mk>