From f0eac5120f11dff1ea57b2346306c001daa4b1ec Mon Sep 17 00:00:00 2001 From: Bartek Rutkowski Date: Sat, 28 Jun 2014 18:06:47 +0000 Subject: [PATCH] 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) --- www/Makefile | 1 + www/py-flask-admin/Makefile | 20 ++++++++++++++++++++ www/py-flask-admin/distinfo | 2 ++ www/py-flask-admin/pkg-descr | 7 +++++++ 4 files changed, 30 insertions(+) create mode 100644 www/py-flask-admin/Makefile create mode 100644 www/py-flask-admin/distinfo create mode 100644 www/py-flask-admin/pkg-descr 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 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/