mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
a0f4c73ff7
* 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.9 release possible because it requires Django 3.1 and provides no backwards compatibility for previous versions of Django. - www/py-dj31-django-rq (copied from r539662 to use the 2.3.2 release for now) - www/py-dj31-django-auth-ldap - www/py-dj31-django-cacheops - www/py-dj31-django-cors-headers - www/py-dj31-django-debug-toolbar - www/py-dj21-django-filter - www/py-dj31-django-js-asset - www/py-dj31-django-mptt - www/py-dj31-django-prometheus - www/py-dj31-django-redis - www/py-dj31-django-tables2 - www/py-dj31-django-taggit - www/py-dj31-django-timezone-field - www/py-dj31-djangorestframework - www/py-dj31-drf-yasg * Also limit the new ports to Python 3.6+ due the requirements of Django 3.1 and add/update the related CONFLICTS_INSTALL entries. Reviewed by: sunpoet Differential Revision: https://reviews.freebsd.org/D27083
38 lines
1.3 KiB
Makefile
38 lines
1.3 KiB
Makefile
# Created by: René Ladan <rene@freebsd.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= django-rq
|
|
PORTVERSION= 2.4.0
|
|
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
|
|
|
|
# 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>
|