mirror of
https://git.freebsd.org/ports.git
synced 2025-05-15 00:31:51 -04:00
* Take maintainership. Changelog: https://github.com/mozilla/django-csp/compare/3.5...3.7 PR: 261963 Approved by: Alexander Sieg (maintainer)
27 lines
657 B
Makefile
27 lines
657 B
Makefile
PORTNAME= django-csp
|
|
PORTVERSION= 3.7
|
|
CATEGORIES= www python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= django_csp-${PORTVERSION}
|
|
|
|
MAINTAINER= kai@FreeBSD.org
|
|
COMMENT= Adds Content-Security-Policy headers to Django
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=1.8:www/py-django22@${PY_FLAVOR}
|
|
|
|
USES= python:3.5+
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
OPTIONS_DEFINE= JINJA2
|
|
OPTIONS_DEFAULT= JINJA2
|
|
|
|
JINJA2_DESC= Support for Django templates via Jinja2
|
|
JINJA2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.9.6:devel/py-Jinja2@${PY_FLAVOR}
|
|
|
|
.include <bsd.port.mk>
|