diff options
author | swills <swills@FreeBSD.org> | 2016-04-15 00:39:44 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2016-04-15 00:39:44 +0800 |
commit | d0ef0224c5da530ef6d888ae0d2ce4f379c0727a (patch) | |
tree | 8184ee5059cc143c554051b91b770f6d2461121f | |
parent | 91e7cc16e8cbc50adea4ba36874da9616224c465 (diff) | |
download | freebsd-ports-gnome-d0ef0224c5da530ef6d888ae0d2ce4f379c0727a.tar.gz freebsd-ports-gnome-d0ef0224c5da530ef6d888ae0d2ce4f379c0727a.tar.zst freebsd-ports-gnome-d0ef0224c5da530ef6d888ae0d2ce4f379c0727a.zip |
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
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/py-django-cors-headers/Makefile | 19 | ||||
-rw-r--r-- | www/py-django-cors-headers/distinfo | 2 | ||||
-rw-r--r-- | www/py-django-cors-headers/pkg-descr | 4 |
4 files changed, 26 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 1c01ea20ee7f..745e41c72db5 100644 --- a/www/Makefile +++ b/www/Makefile @@ -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 diff --git a/www/py-django-cors-headers/Makefile b/www/py-django-cors-headers/Makefile new file mode 100644 index 000000000000..d40fe4fde44c --- /dev/null +++ b/www/py-django-cors-headers/Makefile @@ -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> diff --git a/www/py-django-cors-headers/distinfo b/www/py-django-cors-headers/distinfo new file mode 100644 index 000000000000..600aa56dc707 --- /dev/null +++ b/www/py-django-cors-headers/distinfo @@ -0,0 +1,2 @@ +SHA256 (django-cors-headers-1.1.0.tar.gz) = fcd96e2be47c8eef34c650e007a6d546e19e7ee61041b89edbbbbe7619aa3987 +SIZE (django-cors-headers-1.1.0.tar.gz) = 4633 diff --git a/www/py-django-cors-headers/pkg-descr b/www/py-django-cors-headers/pkg-descr new file mode 100644 index 000000000000..52f4a0864c6a --- /dev/null +++ b/www/py-django-cors-headers/pkg-descr @@ -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 |