pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-flask-cors



Module Name:    pkgsrc
Committed By:   kleink
Date:           Mon Jan  7 18:02:45 UTC 2019

Added Files:
        pkgsrc/www/py-flask-cors: DESCR Makefile PLIST distinfo

Log Message:
www/py-flask-cors: Import Flask-Cors 3.0.7.

A Flask extension for handling Cross Origin Resource Sharing (CORS),
making cross-origin AJAX possible.

This package has a simple philosophy, when you want to enable CORS, you
wish to enable it for all use cases on a domain. This means no mucking
around with different allowed headers, methods, etc. By default,
submission of cookies across domains is disabled due to the security
implications, please see the documentation for how to enable
credential'ed requests, and please make sure you add some sort of
CSRF protection before doing so!


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

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

Added files:

Index: pkgsrc/www/py-flask-cors/DESCR
diff -u /dev/null pkgsrc/www/py-flask-cors/DESCR:1.1
--- /dev/null   Mon Jan  7 18:02:45 2019
+++ pkgsrc/www/py-flask-cors/DESCR      Mon Jan  7 18:02:45 2019
@@ -0,0 +1,10 @@
+A Flask extension for handling Cross Origin Resource Sharing (CORS),
+making cross-origin AJAX possible.
+
+This package has a simple philosophy, when you want to enable CORS, you
+wish to enable it for all use cases on a domain. This means no mucking
+around with different allowed headers, methods, etc. By default,
+submission of cookies across domains is disabled due to the security
+implications, please see the documentation for how to enable
+credential'ed requests, and please make sure you add some sort of
+CSRF protection before doing so!
Index: pkgsrc/www/py-flask-cors/Makefile
diff -u /dev/null pkgsrc/www/py-flask-cors/Makefile:1.1
--- /dev/null   Mon Jan  7 18:02:45 2019
+++ pkgsrc/www/py-flask-cors/Makefile   Mon Jan  7 18:02:45 2019
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2019/01/07 18:02:45 kleink Exp $
+
+DISTNAME=      Flask-Cors-3.0.7
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
+CATEGORIES=    www python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=F/Flask-CORS/}
+
+MAINTAINER=    kleink%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/corydolphin/flask-cors
+COMMENT=       Flask extension for handling Cross Origin Resource Sharing (CORS)
+LICENSE=       modified-bsd
+
+DEPENDS+=      ${PYPKGPREFIX}-flask>=0.9:../../www/py-flask
+DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/py-flask-cors/PLIST
diff -u /dev/null pkgsrc/www/py-flask-cors/PLIST:1.1
--- /dev/null   Mon Jan  7 18:02:45 2019
+++ pkgsrc/www/py-flask-cors/PLIST      Mon Jan  7 18:02:45 2019
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1 2019/01/07 18:02:45 kleink Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/flask_cors/__init__.py
+${PYSITELIB}/flask_cors/__init__.pyc
+${PYSITELIB}/flask_cors/__init__.pyo
+${PYSITELIB}/flask_cors/core.py
+${PYSITELIB}/flask_cors/core.pyc
+${PYSITELIB}/flask_cors/core.pyo
+${PYSITELIB}/flask_cors/decorator.py
+${PYSITELIB}/flask_cors/decorator.pyc
+${PYSITELIB}/flask_cors/decorator.pyo
+${PYSITELIB}/flask_cors/extension.py
+${PYSITELIB}/flask_cors/extension.pyc
+${PYSITELIB}/flask_cors/extension.pyo
+${PYSITELIB}/flask_cors/version.py
+${PYSITELIB}/flask_cors/version.pyc
+${PYSITELIB}/flask_cors/version.pyo
Index: pkgsrc/www/py-flask-cors/distinfo
diff -u /dev/null pkgsrc/www/py-flask-cors/distinfo:1.1
--- /dev/null   Mon Jan  7 18:02:45 2019
+++ pkgsrc/www/py-flask-cors/distinfo   Mon Jan  7 18:02:45 2019
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/01/07 18:02:45 kleink Exp $
+
+SHA1 (Flask-Cors-3.0.7.tar.gz) = 4e3b951c6ee56e19396ff8a3ff4534d821434b86
+RMD160 (Flask-Cors-3.0.7.tar.gz) = 1785b2628d8468cfb565764045b98b9b5c0fe22d
+SHA512 (Flask-Cors-3.0.7.tar.gz) = 6bf8e45234e361641f4c920ed6cf240a833cd195daaf29dfc307e9b2007514bdd14ab1a96cc87afc5ff166484adcc4c6bf3ca7cb0c18f14a12f30c84f5efe6f6
+Size (Flask-Cors-3.0.7.tar.gz) = 28297 bytes



Home | Main Index | Thread Index | Old Index