aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorrobak <robak@FreeBSD.org>2014-06-29 02:06:47 +0800
committerrobak <robak@FreeBSD.org>2014-06-29 02:06:47 +0800
commit6934788d1912a58b73377f00b2fb97bac9ace533 (patch)
tree818f1111f7162f01bd035e413519640cd9e8b726 /www
parentf8b1d1aa2bfce0a0c319c835a6552eb91ccec1d8 (diff)
downloadfreebsd-ports-gnome-6934788d1912a58b73377f00b2fb97bac9ace533.tar.gz
freebsd-ports-gnome-6934788d1912a58b73377f00b2fb97bac9ace533.tar.zst
freebsd-ports-gnome-6934788d1912a58b73377f00b2fb97bac9ace533.zip
New port: www/py-flask-admin
Flask-Admin is a batteries-included, simple-to-use Flask extension that lets you add admin interfaces to Flask applications. It is inspired by the django-admin package, but implemented in such a way that the developer has total control of the look, feel and functionality of the resulting application. Approved by: marino (mentor)
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/py-flask-admin/Makefile20
-rw-r--r--www/py-flask-admin/distinfo2
-rw-r--r--www/py-flask-admin/pkg-descr7
4 files changed, 30 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 406cda461beb..f3467c5bced0 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1548,6 +1548,7 @@
SUBDIR += py-feedfinder
SUBDIR += py-feedgenerator
SUBDIR += py-flask
+ SUBDIR += py-flask-admin
SUBDIR += py-flask-cache
SUBDIR += py-flask-flatpages
SUBDIR += py-flask-uploads
diff --git a/www/py-flask-admin/Makefile b/www/py-flask-admin/Makefile
new file mode 100644
index 000000000000..5f1737ed350d
--- /dev/null
+++ b/www/py-flask-admin/Makefile
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTNAME= Flask-Admin
+PORTVERSION= 1.0.8
+CATEGORIES= www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= robak@FreeBSD.org
+COMMENT= Flask extension for adding admin interfaces to Flask applications
+
+LICENSE= MIT
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0.10:${PORTSDIR}/www/py-flask
+
+USE_PYTHON= 2
+USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/www/py-flask-admin/distinfo b/www/py-flask-admin/distinfo
new file mode 100644
index 000000000000..f708f76124c1
--- /dev/null
+++ b/www/py-flask-admin/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Flask-Admin-1.0.8.tar.gz) = 987e8468c0c6edb993cbcf44c25df9134748a5e554d1f631c0fdd13b8f91855a
+SIZE (Flask-Admin-1.0.8.tar.gz) = 342794
diff --git a/www/py-flask-admin/pkg-descr b/www/py-flask-admin/pkg-descr
new file mode 100644
index 000000000000..33f3c9a9e356
--- /dev/null
+++ b/www/py-flask-admin/pkg-descr
@@ -0,0 +1,7 @@
+Flask-Admin is a batteries-included, simple-to-use Flask extension
+that lets you add admin interfaces to Flask applications.
+It is inspired by the django-admin package, but implemented in such
+a way that the developer has total control of the look, feel and
+functionality of the resulting application.
+
+WWW: https://github.com/mrjoes/flask-admin/