summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2018-03-07 21:39:21 +0000
committerMark Felder <feld@FreeBSD.org>2018-03-07 21:39:21 +0000
commitea2192f05216f89b4075ed7765a1b915b5b8242a (patch)
treec7bec49dad39b0e806a9abd475bc1ecbd9f421b8
parentFlask-Marshmallow is a thin integration layer for Flask (a Python web (diff)
The Flask-Script extension provides support for writing external scripts
in Flask. This includes running a development server, a customised Python shell, scripts to set up your database, cronjobs, and other command-line tasks that belong outside the web application itself. WWW: http://flask-script.readthedocs.io/en/latest/
-rw-r--r--www/Makefile1
-rw-r--r--www/py-flask-script/Makefile21
-rw-r--r--www/py-flask-script/distinfo3
-rw-r--r--www/py-flask-script/pkg-descr6
4 files changed, 31 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index a6e3dd46609f..f116682fb981 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1682,6 +1682,7 @@
SUBDIR += py-flask-principal
SUBDIR += py-flask-restful
SUBDIR += py-flask-restplus
+ SUBDIR += py-flask-script
SUBDIR += py-flask-socketio
SUBDIR += py-flask-sockets
SUBDIR += py-flask-uploads
diff --git a/www/py-flask-script/Makefile b/www/py-flask-script/Makefile
new file mode 100644
index 000000000000..35c30e473a70
--- /dev/null
+++ b/www/py-flask-script/Makefile
@@ -0,0 +1,21 @@
+# Created by: Mark Felder <feld@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Flask-Script
+PORTVERSION= 2.0.6
+CATEGORIES= www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= feld@FreeBSD.org
+COMMENT= Scripting support for Flask
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>0:www/py-flask@${FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent distutils
+
+.include <bsd.port.mk>
diff --git a/www/py-flask-script/distinfo b/www/py-flask-script/distinfo
new file mode 100644
index 000000000000..351fb285fcdb
--- /dev/null
+++ b/www/py-flask-script/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1520437708
+SHA256 (Flask-Script-2.0.6.tar.gz) = 6425963d91054cfcc185807141c7314a9c5ad46325911bd24dcb489bd0161c65
+SIZE (Flask-Script-2.0.6.tar.gz) = 43146
diff --git a/www/py-flask-script/pkg-descr b/www/py-flask-script/pkg-descr
new file mode 100644
index 000000000000..220dde91972b
--- /dev/null
+++ b/www/py-flask-script/pkg-descr
@@ -0,0 +1,6 @@
+The Flask-Script extension provides support for writing external scripts
+in Flask. This includes running a development server, a customised
+Python shell, scripts to set up your database, cronjobs, and other
+command-line tasks that belong outside the web application itself.
+
+WWW: http://flask-script.readthedocs.io/en/latest/