pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-flask-cors www/py-flask-cors: Import Flask-Cors...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e011f5b123a1
branches:  trunk
changeset: 317473:e011f5b123a1
user:      kleink <kleink%pkgsrc.org@localhost>
date:      Mon Jan 07 18:02:45 2019 +0000

description:
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!

diffstat:

 www/py-flask-cors/DESCR    |  10 ++++++++++
 www/py-flask-cors/Makefile |  20 ++++++++++++++++++++
 www/py-flask-cors/PLIST    |  22 ++++++++++++++++++++++
 www/py-flask-cors/distinfo |   6 ++++++
 4 files changed, 58 insertions(+), 0 deletions(-)

diffs (74 lines):

diff -r cad7ba57391c -r e011f5b123a1 www/py-flask-cors/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-flask-cors/DESCR   Mon Jan 07 18:02:45 2019 +0000
@@ -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!
diff -r cad7ba57391c -r e011f5b123a1 www/py-flask-cors/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-flask-cors/Makefile        Mon Jan 07 18:02:45 2019 +0000
@@ -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"
diff -r cad7ba57391c -r e011f5b123a1 www/py-flask-cors/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-flask-cors/PLIST   Mon Jan 07 18:02:45 2019 +0000
@@ -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
diff -r cad7ba57391c -r e011f5b123a1 www/py-flask-cors/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-flask-cors/distinfo        Mon Jan 07 18:02:45 2019 +0000
@@ -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