mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
fd76d1a577
* Django 2.2 is currently the "default" version in the ports tree due its long term support until April 2022. Thus ports that are assigned to that version will exist until then. The following ports are required to make the upgrade of net-mgmt/netbox to the 2.11 release possible because it requires Django 3.2. All of the ports listed below were created on the basis of their respective original ports: - devel/py-dj32-django-rq - www/py-dj32-django-auth-ldap - www/py-dj32-django-cacheops (updated to a newer release) - www/py-dj32-django-cors-headers - www/py-dj32-django-debug-toolbar - www/py-dj32-django-filter - www/py-dj32-django-js-asset - www/py-dj32-django-mptt - www/py-dj32-django-prometheus - www/py-dj32-django-redis - www/py-dj32-django-tables2 (updated to a newer release) - www/py-dj32-django-taggit (updated to a newer release) - www/py-dj32-django-timezone-field - www/py-dj32-djangorestframework - www/py-dj32-drf-yasg * Add/update the related CONFLICTS_INSTALL entries as well. Reviewed by: koobs, sunpoet Differential Revision: https://reviews.freebsd.org/D30977
38 lines
1.3 KiB
Makefile
38 lines
1.3 KiB
Makefile
# Created by: René Ladan <rene@freebsd.org>
|
|
|
|
PORTNAME= django-rq
|
|
PORTVERSION= 2.4.1
|
|
CATEGORIES= devel python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Provides Django integration for RQ (Redis Queue)
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=2.0:www/py-django22@${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: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.5+
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj31-django-rq \
|
|
${PYTHON_PKGNAMEPREFIX}dj32-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
|
|
|
|
.include <bsd.port.mk>
|