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!
This commit is contained in:
kleink 2019-01-07 18:02:45 +00:00
parent ab00dc4e8b
commit 500bd41900
4 changed files with 58 additions and 0 deletions

10
www/py-flask-cors/DESCR Normal file
View file

@ -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!

View file

@ -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
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"

22
www/py-flask-cors/PLIST Normal file
View file

@ -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

View file

@ -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