Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2019 18:47:02 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r509836 - in head/www: . py-dj22-django_csp
Message-ID:  <201908251847.x7PIl2OZ002513@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Aug 25 18:47:01 2019
New Revision: 509836
URL: https://svnweb.freebsd.org/changeset/ports/509836

Log:
  Add py-dj22-django_csp 3.5
  
  Django-CSP adds Content-Security-Policy headers to Django.
  
  WWW: https://github.com/mozilla/django-csp
  
  - While I'm here, fix USES=python
  
  PR:		239043
  Submitted by:	Alexander Sieg <alex@xanderio.de>

Added:
  head/www/py-dj22-django_csp/
  head/www/py-dj22-django_csp/Makefile   (contents, props changed)
  head/www/py-dj22-django_csp/distinfo   (contents, props changed)
  head/www/py-dj22-django_csp/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Sun Aug 25 18:37:20 2019	(r509835)
+++ head/www/Makefile	Sun Aug 25 18:47:01 2019	(r509836)
@@ -1495,6 +1495,7 @@
     SUBDIR += py-dj22-django-auth-ldap
     SUBDIR += py-dj22-django-cacheops
     SUBDIR += py-dj22-django-cors-headers
+    SUBDIR += py-dj22-django_csp
     SUBDIR += py-dj22-django-debug-toolbar
     SUBDIR += py-dj22-django-filter
     SUBDIR += py-dj22-django-js-asset

Added: head/www/py-dj22-django_csp/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-dj22-django_csp/Makefile	Sun Aug 25 18:47:01 2019	(r509836)
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME=	django_csp
+PORTVERSION=	3.5
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj22-
+
+MAINTAINER=	alex@axanderio.de
+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
+
+.include <bsd.port.mk>

Added: head/www/py-dj22-django_csp/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-dj22-django_csp/distinfo	Sun Aug 25 18:47:01 2019	(r509836)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1563114827
+SHA256 (django_csp-3.5.tar.gz) = 04600237701e6d6ff78ed7d41209ff923988148bf292c128f6b474b9befe444f
+SIZE (django_csp-3.5.tar.gz) = 11532

Added: head/www/py-dj22-django_csp/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-dj22-django_csp/pkg-descr	Sun Aug 25 18:47:01 2019	(r509836)
@@ -0,0 +1,3 @@
+Django-CSP adds Content-Security-Policy headers to Django.
+
+WWW: https://github.com/mozilla/django-csp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908251847.x7PIl2OZ002513>