svn commit: r418645 - in head/www: . py-flask-restplus
Pawel Pekala
pawel at FreeBSD.org
Sat Jul 16 18:03:28 UTC 2016
Author: pawel
Date: Sat Jul 16 18:03:26 2016
New Revision: 418645
URL: https://svnweb.freebsd.org/changeset/ports/418645
Log:
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 at ebert.su>
Added:
head/www/py-flask-restplus/
head/www/py-flask-restplus/Makefile (contents, props changed)
head/www/py-flask-restplus/distinfo (contents, props changed)
head/www/py-flask-restplus/pkg-descr (contents, props changed)
Modified:
head/www/Makefile
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Sat Jul 16 17:21:15 2016 (r418644)
+++ head/www/Makefile Sat Jul 16 18:03:26 2016 (r418645)
@@ -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
Added: head/www/py-flask-restplus/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-flask-restplus/Makefile Sat Jul 16 18:03:26 2016 (r418645)
@@ -0,0 +1,34 @@
+# $FreeBSD$
+
+PORTNAME= flask-restplus
+PORTVERSION= 0.9.2
+CATEGORIES= www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= andrej at 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>
Added: head/www/py-flask-restplus/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-flask-restplus/distinfo Sat Jul 16 18:03:26 2016 (r418645)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1468167697
+SHA256 (flask-restplus-0.9.2.tar.gz) = c4313097a673ef2cffabceb44b6fdd03132ee5e7ab34d0289c37af12a3d11186
+SIZE (flask-restplus-0.9.2.tar.gz) = 868988
Added: head/www/py-flask-restplus/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-flask-restplus/pkg-descr Sat Jul 16 18:03:26 2016 (r418645)
@@ -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
More information about the svn-ports-all
mailing list