2020-06-10 13:50:04 +02:00
|
|
|
PORTNAME= django-csp
|
2022-02-27 12:08:30 +01:00
|
|
|
PORTVERSION= 3.7
|
www/py-django32: Switch consumers over to Django 3.2
Django 2.2 became End-of-Life on 11th April 2022 and Django 3.2 is the
new LTS (= Long Term Support) release which will be supported until
April 2024.
* Switch the most ports that use www/py-django22 to www/py-django32
* Switch www/seahub over to www/py-djangorestframework
* Ports that are not yet ready for Django 3.2 (only three so far) or
those that have already been set with an expiration date were not
taken into account.
* Bump PORTREVISION due dependency change where necessary.
PR: 261313
Reviewed by: bofh, dvl, koobs, ultima
Approved by: bofh, dvl, koobs, ultima, sunpoet, Kevin Golding, Ivan Rozhuk,
Alexander Sieg (maintainers)
maintainer timeout (remaining maintainers)
Differential Revision: https://reviews.freebsd.org/D34859
2022-04-28 12:02:15 +02:00
|
|
|
PORTREVISION= 1
|
2019-08-25 20:47:01 +02:00
|
|
|
CATEGORIES= www python
|
2023-01-11 16:47:15 +01:00
|
|
|
MASTER_SITES= PYPI
|
2020-06-10 13:50:04 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= django_csp-${PORTVERSION}
|
2019-08-25 20:47:01 +02:00
|
|
|
|
2022-02-27 12:08:30 +01:00
|
|
|
MAINTAINER= kai@FreeBSD.org
|
2019-08-25 20:47:01 +02:00
|
|
|
COMMENT= Adds Content-Security-Policy headers to Django
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://github.com/mozilla/django-csp
|
2019-08-25 20:47:01 +02:00
|
|
|
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
www/py-django32: Switch consumers over to Django 3.2
Django 2.2 became End-of-Life on 11th April 2022 and Django 3.2 is the
new LTS (= Long Term Support) release which will be supported until
April 2024.
* Switch the most ports that use www/py-django22 to www/py-django32
* Switch www/seahub over to www/py-djangorestframework
* Ports that are not yet ready for Django 3.2 (only three so far) or
those that have already been set with an expiration date were not
taken into account.
* Bump PORTREVISION due dependency change where necessary.
PR: 261313
Reviewed by: bofh, dvl, koobs, ultima
Approved by: bofh, dvl, koobs, ultima, sunpoet, Kevin Golding, Ivan Rozhuk,
Alexander Sieg (maintainers)
maintainer timeout (remaining maintainers)
Differential Revision: https://reviews.freebsd.org/D34859
2022-04-28 12:02:15 +02:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=1.8:www/py-django32@${PY_FLAVOR}
|
2019-08-25 20:47:01 +02:00
|
|
|
|
2023-06-15 00:00:28 +02:00
|
|
|
USES= python
|
2019-08-25 20:47:01 +02:00
|
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
|
|
|
|
NO_ARCH= yes
|
|
|
|
|
2022-02-27 12:08:30 +01:00
|
|
|
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}
|
|
|
|
|
2019-08-25 20:47:01 +02:00
|
|
|
.include <bsd.port.mk>
|