python-flask-cors: new package

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

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Matt Weber 2018-01-23 08:25:16 -06:00 committed by Peter Korsgaard
parent 37ebd3b782
commit 6c211ffee8
5 changed files with 28 additions and 0 deletions

View File

@ -1171,6 +1171,7 @@ F: package/policycoreutils/
F: package/proftpd/
F: package/protobuf-c/
F: package/protobuf/
F: package/python-flask-cors/
F: package/python-ipy/
F: package/python-posix-ipc/
F: package/python-pypcap/

View File

@ -770,6 +770,7 @@ menu "External python modules"
source "package/python-enum/Config.in"
source "package/python-enum34/Config.in"
source "package/python-flask/Config.in"
source "package/python-flask-cors/Config.in"
source "package/python-flask-babel/Config.in"
source "package/python-flask-jsonrpc/Config.in"
source "package/python-flask-login/Config.in"

View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_PYTHON_FLASK_CORS
bool "python-flask-cors"
select BR2_PACKAGE_PYTHON_FLASK # runtime
select BR2_PACKAGE_PYTHON_SIX # runtime
help
A Flask extension adding a decorator for CORS support.
https://github.com/corydolphin/flask-cors

View File

@ -0,0 +1,4 @@
# md5 from https://pypi.python.org/pypi/flask-cors/json, sha256 locally computed
md5 ddc12bdf8fa19a4ce1504ab9d0b0a8bc Flask-Cors-3.0.3.tar.gz
sha256 62ebc5ad80dc21ca0ea9f57466c2c74e24a62274af890b391790c260eb7b754b Flask-Cors-3.0.3.tar.gz
sha256 6e1a1bdc54834c1e0740cbce5d5f6f2cae1c846fd2a7f482b11649594fafbd5d LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-flask-cors
#
################################################################################
PYTHON_FLASK_CORS_VERSION = 3.0.3
PYTHON_FLASK_CORS_SOURCE = Flask-Cors-$(PYTHON_FLASK_CORS_VERSION).tar.gz
PYTHON_FLASK_CORS_SITE = https://pypi.python.org/packages/64/e8/e6bcf79dcad7b7c10f8c8c35d78b5710f2ddcd8ed38e607dd6a4853ab8a8
PYTHON_FLASK_CORS_SETUP_TYPE = setuptools
PYTHON_FLASK_CORS_LICENSE = MIT
PYTHON_FLASK_CORS_LICENSE_FILES = LICENSE
$(eval $(python-package))