Add py-flask-json 0.3.4
Flask-JSON is a simple extension that adds better JSON support to Flask application. Features: - Works on python 2.6, 2.7, 3.3+ and Flask 0.10+. - More ways to generate JSON responses (comparing to plain Flask). - Extended JSON encoding support. WWW: https://github.com/skozlovf/flask-json
This commit is contained in:
parent
6ff8f71a76
commit
696b678970
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=521285
4 changed files with 40 additions and 0 deletions
|
@ -1633,6 +1633,7 @@
|
|||
SUBDIR += py-flask-compress
|
||||
SUBDIR += py-flask-cors
|
||||
SUBDIR += py-flask-flatpages
|
||||
SUBDIR += py-flask-json
|
||||
SUBDIR += py-flask-login
|
||||
SUBDIR += py-flask-marshmallow
|
||||
SUBDIR += py-flask-migrate
|
||||
|
|
27
www/py-flask-json/Makefile
Normal file
27
www/py-flask-json/Makefile
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= flask-json
|
||||
PORTVERSION= 0.3.4
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= Flask-JSON-${PORTVERSION}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Better JSON support for Flask
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0.10:www/py-flask@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-flask-json/distinfo
Normal file
3
www/py-flask-json/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1577523848
|
||||
SHA256 (Flask-JSON-0.3.4.tar.gz) = 470835a9df80c283e3cc0a82fef376ba1be712f711ec385332b3e045a7cc91a8
|
||||
SIZE (Flask-JSON-0.3.4.tar.gz) = 8970
|
9
www/py-flask-json/pkg-descr
Normal file
9
www/py-flask-json/pkg-descr
Normal file
|
@ -0,0 +1,9 @@
|
|||
Flask-JSON is a simple extension that adds better JSON support to Flask
|
||||
application.
|
||||
|
||||
Features:
|
||||
- Works on python 2.6, 2.7, 3.3+ and Flask 0.10+.
|
||||
- More ways to generate JSON responses (comparing to plain Flask).
|
||||
- Extended JSON encoding support.
|
||||
|
||||
WWW: https://github.com/skozlovf/flask-json
|
Loading…
Reference in a new issue