From e8c8b4cc08982c8ce176adad6d4cbae7ac989020 Mon Sep 17 00:00:00 2001 From: adam Date: Thu, 11 Jan 2018 13:37:54 +0000 Subject: py-django-cors-headers: added version 2.1.0 django-cors-headers is a Django App that adds CORS (Cross-Origin Resource Sharing) headers to responses. Although JSON-P is useful, it is strictly limited to GET requests. CORS builds on top of XmlHttpRequest to allow developers to make cross-domain requests, similar to same-domain requests. --- www/Makefile | 3 ++- www/py-django-cors-headers/DESCR | 6 ++++++ www/py-django-cors-headers/Makefile | 18 ++++++++++++++++++ www/py-django-cors-headers/PLIST | 29 +++++++++++++++++++++++++++++ www/py-django-cors-headers/distinfo | 6 ++++++ 5 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 www/py-django-cors-headers/DESCR create mode 100644 www/py-django-cors-headers/Makefile create mode 100644 www/py-django-cors-headers/PLIST create mode 100644 www/py-django-cors-headers/distinfo (limited to 'www') diff --git a/www/Makefile b/www/Makefile index 6d7df272807..720ba3737a9 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1298 2018/01/04 13:40:36 taca Exp $ +# $NetBSD: Makefile,v 1.1299 2018/01/11 13:37:54 adam Exp $ # COMMENT= Packages related to the World Wide Web @@ -609,6 +609,7 @@ SUBDIR+= py-django-classy-tags SUBDIR+= py-django-cms SUBDIR+= py-django-cmsplugin_gallery SUBDIR+= py-django-contrib-comments +SUBDIR+= py-django-cors-headers SUBDIR+= py-django-countries SUBDIR+= py-django-easy-thumbnails SUBDIR+= py-django-filer diff --git a/www/py-django-cors-headers/DESCR b/www/py-django-cors-headers/DESCR new file mode 100644 index 00000000000..2442b1ae624 --- /dev/null +++ b/www/py-django-cors-headers/DESCR @@ -0,0 +1,6 @@ +django-cors-headers is a Django App that adds CORS (Cross-Origin Resource +Sharing) headers to responses. + +Although JSON-P is useful, it is strictly limited to GET requests. CORS builds +on top of XmlHttpRequest to allow developers to make cross-domain requests, +similar to same-domain requests. diff --git a/www/py-django-cors-headers/Makefile b/www/py-django-cors-headers/Makefile new file mode 100644 index 00000000000..360e897cf5e --- /dev/null +++ b/www/py-django-cors-headers/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1 2018/01/11 13:37:55 adam Exp $ + +DISTNAME= django-cors-headers-2.1.0 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= www python +MASTER_SITES= ${MASTER_SITE_PYPI:=d/django-cors-headers/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/ottoyiu/django-cors-headers +COMMENT= Django application for handling headers required for CORS +LICENSE= mit + +DEPENDS+= ${PYPKGPREFIX}-django-[0-9]*:../../www/py-django + +USE_LANGUAGES= # none + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/py-django-cors-headers/PLIST b/www/py-django-cors-headers/PLIST new file mode 100644 index 00000000000..cf6e5c5f2cd --- /dev/null +++ b/www/py-django-cors-headers/PLIST @@ -0,0 +1,29 @@ +@comment $NetBSD: PLIST,v 1.1 2018/01/11 13:37:55 adam Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/corsheaders/__init__.py +${PYSITELIB}/corsheaders/__init__.pyc +${PYSITELIB}/corsheaders/__init__.pyo +${PYSITELIB}/corsheaders/checks.py +${PYSITELIB}/corsheaders/checks.pyc +${PYSITELIB}/corsheaders/checks.pyo +${PYSITELIB}/corsheaders/compat.py +${PYSITELIB}/corsheaders/compat.pyc +${PYSITELIB}/corsheaders/compat.pyo +${PYSITELIB}/corsheaders/conf.py +${PYSITELIB}/corsheaders/conf.pyc +${PYSITELIB}/corsheaders/conf.pyo +${PYSITELIB}/corsheaders/defaults.py +${PYSITELIB}/corsheaders/defaults.pyc +${PYSITELIB}/corsheaders/defaults.pyo +${PYSITELIB}/corsheaders/middleware.py +${PYSITELIB}/corsheaders/middleware.pyc +${PYSITELIB}/corsheaders/middleware.pyo +${PYSITELIB}/corsheaders/models.py +${PYSITELIB}/corsheaders/models.pyc +${PYSITELIB}/corsheaders/models.pyo +${PYSITELIB}/corsheaders/signals.py +${PYSITELIB}/corsheaders/signals.pyc +${PYSITELIB}/corsheaders/signals.pyo diff --git a/www/py-django-cors-headers/distinfo b/www/py-django-cors-headers/distinfo new file mode 100644 index 00000000000..3386ad684df --- /dev/null +++ b/www/py-django-cors-headers/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2018/01/11 13:37:55 adam Exp $ + +SHA1 (django-cors-headers-2.1.0.tar.gz) = 2455cc12297479edb0a39486eeda282ffb4ececf +RMD160 (django-cors-headers-2.1.0.tar.gz) = d4e72ea280b4628f19ebe6deba1ce8961ddd6906 +SHA512 (django-cors-headers-2.1.0.tar.gz) = c83133e898395835e273facbe5f967ade07a3f0b59c281dadc7e5273677a9c25dd05f1f1f1ab341e5e828828c1124a830b3b05f3373ace80e3ad390c2e2f7af9 +Size (django-cors-headers-2.1.0.tar.gz) = 12251 bytes -- cgit v1.2.3