www/py-django-cors-headers: create port

A Django App that adds CORS (Cross-Origin Resource Sharing) headers to
responses.

WWW: https://github.com/ottoyiu/django-cors-headers
This commit is contained in:
Steve Wills 2016-04-14 16:39:44 +00:00
parent 37e4600243
commit a010ac0b81
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=413287
4 changed files with 26 additions and 0 deletions

View File

@ -1535,6 +1535,7 @@
SUBDIR += py-django-configurations
SUBDIR += py-django-contact-form
SUBDIR += py-django-contrib-comments
SUBDIR += py-django-cors-headers
SUBDIR += py-django-countries
SUBDIR += py-django-crispy-forms
SUBDIR += py-django-datetime-widget

View File

@ -0,0 +1,19 @@
# $FreeBSD$
PORTNAME= django-cors-headers
PORTVERSION= 1.1.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= swills@FreeBSD.org
COMMENT= Handles server headers required for Cross-Origin Resource Sharing
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django18>0:www/py-django18
USES= python
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (django-cors-headers-1.1.0.tar.gz) = fcd96e2be47c8eef34c650e007a6d546e19e7ee61041b89edbbbbe7619aa3987
SIZE (django-cors-headers-1.1.0.tar.gz) = 4633

View File

@ -0,0 +1,4 @@
A Django App that adds CORS (Cross-Origin Resource Sharing) headers to
responses.
WWW: https://github.com/ottoyiu/django-cors-headers