pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www py-django-cors-headers: added version 2.1.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/1ae975d3aca3
branches: trunk
changeset: 373940:1ae975d3aca3
user: adam <adam%pkgsrc.org@localhost>
date: Thu Jan 11 13:37:54 2018 +0000
description:
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.
diffstat:
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 deletions(-)
diffs (92 lines):
diff -r 3d1e5c8149fd -r 1ae975d3aca3 www/Makefile
--- a/www/Makefile Thu Jan 11 12:52:54 2018 +0000
+++ b/www/Makefile Thu Jan 11 13:37:54 2018 +0000
@@ -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-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 -r 3d1e5c8149fd -r 1ae975d3aca3 www/py-django-cors-headers/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-django-cors-headers/DESCR Thu Jan 11 13:37:54 2018 +0000
@@ -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 -r 3d1e5c8149fd -r 1ae975d3aca3 www/py-django-cors-headers/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-django-cors-headers/Makefile Thu Jan 11 13:37:54 2018 +0000
@@ -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@localhost
+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 -r 3d1e5c8149fd -r 1ae975d3aca3 www/py-django-cors-headers/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-django-cors-headers/PLIST Thu Jan 11 13:37:54 2018 +0000
@@ -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 -r 3d1e5c8149fd -r 1ae975d3aca3 www/py-django-cors-headers/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-django-cors-headers/distinfo Thu Jan 11 13:37:54 2018 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index