mirror of
https://git.freebsd.org/ports.git
synced 2025-07-05 03:19:18 -04:00
* Django 3.2 is currently the "default" version in the ports tree due its long term support until April 2024. 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 3.6 release possible because it requires Django 4.2. All of the ports listed below were created on the basis of their respective original ports: - devel/py-dj42-django-rq - devel/py-dj42-graphene-django - www/py-dj42-django-auth-ldap - www/py-dj42-django-cors-headers - www/py-dj42-django-debug-toolbar - www/py-dj42-django-filter - www/py-dj42-django-graphiql-debug-toolbar - www/py-dj42-django-js-asset - www/py-dj42-django-mptt - www/py-dj42-django-prometheus - www/py-dj42-django-redis - www/py-dj42-django-rich - www/py-dj42-django-tables2 - www/py-dj42-django-taggit - www/py-dj42-django-timezone-field - www/py-dj42-djangorestframework - www/py-dj42-drf-spectacular - www/py-dj42-drf-spectacular-sidecar Differential Revision: https://reviews.freebsd.org/D41664
30 lines
901 B
Makefile
30 lines
901 B
Makefile
PORTNAME= django-redis
|
|
PORTVERSION= 5.3.0
|
|
CATEGORIES= www databases python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj42-
|
|
|
|
MAINTAINER= kai@FreeBSD.org
|
|
COMMENT= Full featured Redis cache/session backend for Django
|
|
WWW= https://github.com/jazzband/django-redis
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=3.2:www/py-django42@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}redis>=3:databases/py-redis@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hiredis>=0:databases/py-hiredis@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}msgpack>=0:devel/py-msgpack@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
|
|
|
|
do-test:
|
|
@cd ${WRKSRC}/tests && ${PYTHON_CMD} runtests.py
|
|
|
|
.include <bsd.port.mk>
|