summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2015-02-10 11:19:00 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2015-02-10 11:19:00 +0000
commit3fa7110e6728e273aa80403f310e68d1a61d1e74 (patch)
tree16ba8cb894b615a804cd3ff2bce9de60c68c31ee
parentmath/p5-Math-Int128: 0.17 -> 0.20 (diff)
Simple framework for creating REST APIs.
WWW: http://flask-restful.readthedocs.org/en/latest/
-rw-r--r--www/Makefile1
-rw-r--r--www/py-flask-restful/Makefile20
-rw-r--r--www/py-flask-restful/distinfo2
-rw-r--r--www/py-flask-restful/pkg-descr3
4 files changed, 26 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index bb131c6fc6f3..9956cb663329 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1542,6 +1542,7 @@
SUBDIR += py-flask-admin
SUBDIR += py-flask-cache
SUBDIR += py-flask-flatpages
+ SUBDIR += py-flask-restful
SUBDIR += py-flask-sockets
SUBDIR += py-flask-uploads
SUBDIR += py-flask-wtf
diff --git a/www/py-flask-restful/Makefile b/www/py-flask-restful/Makefile
new file mode 100644
index 000000000000..eb3ac533de2d
--- /dev/null
+++ b/www/py-flask-restful/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= Flask-RESTful
+PORTVERSION= 0.3.1
+CATEGORIES= www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= rm@FreeBSD.org
+COMMENT= Simple framework for creating REST APIs with Flask
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aniso8601>0:${PORTSDIR}/devel/py-aniso8601 \
+ ${PYTHON_PKGNAMEPREFIX}Flask>0:${PORTSDIR}/www/py-flask \
+ ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six \
+ ${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/www/py-flask-restful/distinfo b/www/py-flask-restful/distinfo
new file mode 100644
index 000000000000..2372a456ff45
--- /dev/null
+++ b/www/py-flask-restful/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Flask-RESTful-0.3.1.tar.gz) = b571d6f0ee09d285877b8af981e4815a3fdf98a66cb4528c76ffbd156de2db09
+SIZE (Flask-RESTful-0.3.1.tar.gz) = 18875
diff --git a/www/py-flask-restful/pkg-descr b/www/py-flask-restful/pkg-descr
new file mode 100644
index 000000000000..cc261f7fc6f7
--- /dev/null
+++ b/www/py-flask-restful/pkg-descr
@@ -0,0 +1,3 @@
+Simple framework for creating REST APIs.
+
+WWW: http://flask-restful.readthedocs.org/en/latest/