mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
Extension for Flask that adds support for quickly building REST APIs.
Flask-RESTPlus encourages best practices with minimal setup. If you are familiar with Flask, Flask-RESTPlus should be easy to pick up. It provides a coherent collection of decorators and tools to describe your API and expose its documentation properly using Swagger. WWW: https://github.com/noirbizarre/flask-restplus PR: 210979 Submitted by: Andrej Ebert <andrej@ebert.su>
This commit is contained in:
parent
bb7ff5e2e1
commit
b16cc9c5c4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=418645
@ -1602,6 +1602,7 @@
|
||||
SUBDIR += py-flask-login
|
||||
SUBDIR += py-flask-oauthlib
|
||||
SUBDIR += py-flask-restful
|
||||
SUBDIR += py-flask-restplus
|
||||
SUBDIR += py-flask-sockets
|
||||
SUBDIR += py-flask-uploads
|
||||
SUBDIR += py-flask-wtf
|
||||
|
34
www/py-flask-restplus/Makefile
Normal file
34
www/py-flask-restplus/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= flask-restplus
|
||||
PORTVERSION= 0.9.2
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= andrej@ebert.su
|
||||
COMMENT= Extension for Flask that adds support for quickly building REST APIs
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0.8:www/py-flask \
|
||||
${PYTHON_PKGNAMEPREFIX}six>=1.3.0:devel/py-six \
|
||||
${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema \
|
||||
${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz \
|
||||
${PYTHON_PKGNAMEPREFIX}aniso8601>=0.82:devel/py-aniso8601
|
||||
|
||||
TEST_DEPENDS:= ${RUN_DEPENDS} \
|
||||
${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose \
|
||||
${PYTHON_PKGNAMEPREFIX}rednose>0:devel/py-rednose \
|
||||
${PYTHON_PKGNAMEPREFIX}blinker>0:devel/py-blinker \
|
||||
${PYTHON_PKGNAMEPREFIX}tzlocal>0:devel/py-tzlocal
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist distutils
|
||||
NO_ARCH= yes
|
||||
|
||||
do-test:
|
||||
@(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test)
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-flask-restplus/distinfo
Normal file
3
www/py-flask-restplus/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1468167697
|
||||
SHA256 (flask-restplus-0.9.2.tar.gz) = c4313097a673ef2cffabceb44b6fdd03132ee5e7ab34d0289c37af12a3d11186
|
||||
SIZE (flask-restplus-0.9.2.tar.gz) = 868988
|
7
www/py-flask-restplus/pkg-descr
Normal file
7
www/py-flask-restplus/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
Extension for Flask that adds support for quickly building REST APIs.
|
||||
Flask-RESTPlus encourages best practices with minimal setup.
|
||||
If you are familiar with Flask, Flask-RESTPlus should be easy to pick up.
|
||||
It provides a coherent collection of decorators and tools to describe your
|
||||
API and expose its documentation properly using Swagger.
|
||||
|
||||
WWW: https://github.com/noirbizarre/flask-restplus
|
Loading…
Reference in New Issue
Block a user