pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Jan 11 13:37:55 UTC 2018

Modified Files:
        pkgsrc/www: Makefile
Added Files:
        pkgsrc/www/py-django-cors-headers: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1298 -r1.1299 pkgsrc/www/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-django-cors-headers/DESCR \
    pkgsrc/www/py-django-cors-headers/Makefile \
    pkgsrc/www/py-django-cors-headers/PLIST \
    pkgsrc/www/py-django-cors-headers/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/Makefile
diff -u pkgsrc/www/Makefile:1.1298 pkgsrc/www/Makefile:1.1299
--- pkgsrc/www/Makefile:1.1298  Thu Jan  4 13:40:36 2018
+++ pkgsrc/www/Makefile Thu Jan 11 13:37:54 2018
@@ -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

Added files:

Index: pkgsrc/www/py-django-cors-headers/DESCR
diff -u /dev/null pkgsrc/www/py-django-cors-headers/DESCR:1.1
--- /dev/null   Thu Jan 11 13:37:55 2018
+++ pkgsrc/www/py-django-cors-headers/DESCR     Thu Jan 11 13:37:55 2018
@@ -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.
Index: pkgsrc/www/py-django-cors-headers/Makefile
diff -u /dev/null pkgsrc/www/py-django-cors-headers/Makefile:1.1
--- /dev/null   Thu Jan 11 13:37:55 2018
+++ pkgsrc/www/py-django-cors-headers/Makefile  Thu Jan 11 13:37:55 2018
@@ -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"
Index: pkgsrc/www/py-django-cors-headers/PLIST
diff -u /dev/null pkgsrc/www/py-django-cors-headers/PLIST:1.1
--- /dev/null   Thu Jan 11 13:37:55 2018
+++ pkgsrc/www/py-django-cors-headers/PLIST     Thu Jan 11 13:37:55 2018
@@ -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
Index: pkgsrc/www/py-django-cors-headers/distinfo
diff -u /dev/null pkgsrc/www/py-django-cors-headers/distinfo:1.1
--- /dev/null   Thu Jan 11 13:37:55 2018
+++ pkgsrc/www/py-django-cors-headers/distinfo  Thu Jan 11 13:37:55 2018
@@ -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