Flask-Cors is a simple extension to Flask allowing you to support cross-origin

resource sharing (CORS) using a simple decorator.

WWW: https://github.com/corydolphin/flask-cors

PR:		199707
Submitted by:	stiginge@pvv.org
This commit is contained in:
Wen Heping 2015-04-29 08:28:45 +00:00
parent 59a6e0b660
commit d9e1f10ea3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=384970
4 changed files with 28 additions and 0 deletions

View File

@ -1552,6 +1552,7 @@
SUBDIR += py-flask-admin
SUBDIR += py-flask-bootstrap
SUBDIR += py-flask-cache
SUBDIR += py-flask-cors
SUBDIR += py-flask-flatpages
SUBDIR += py-flask-oauthlib
SUBDIR += py-flask-restful

View File

@ -0,0 +1,21 @@
# $FreeBSD$
PORTNAME= Flask-Cors
PORTVERSION= 2.0.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= stiginge@pvv.org
COMMENT= Cross-origin resource sharing (CORS) for Flask
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0.9:${PORTSDIR}/www/py-flask \
${PYTHON_PKGNAMEPREFIX}six>=0:${PORTSDIR}/devel/py-six
USES= python
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (Flask-Cors-2.0.0.tar.gz) = 9e45913f410867aa3d25b6fdee9adff139eabede58e253e53ccc2bfb24fba545
SIZE (Flask-Cors-2.0.0.tar.gz) = 29398

View File

@ -0,0 +1,4 @@
Flask-Cors is a simple extension to Flask allowing you to support cross-origin
resource sharing (CORS) using a simple decorator.
WWW: https://github.com/corydolphin/flask-cors