diff options
author | kleink <kleink@pkgsrc.org> | 2014-04-26 17:44:52 +0000 |
---|---|---|
committer | kleink <kleink@pkgsrc.org> | 2014-04-26 17:44:52 +0000 |
commit | 4b44efe3e3ba4f9d5a6c955534971902b787e594 (patch) | |
tree | 31c35a66cb254c35db3c8c08ab5b21adc690dd13 /www/py-flask-admin | |
parent | c9f5822bc74ac740153bf4c45338db0903e4a299 (diff) | |
download | pkgsrc-4b44efe3e3ba4f9d5a6c955534971902b787e594.tar.gz |
Update py-flask-admin to 1.0.8.
1.0.8
-----
Highlights:
* Cleaned up documentation, many thanks to Petrus Janse van Rensburg.
* More flexible menu system, ability to add links to menus
* Human-readable filter URLs
* Callable filter `options`
* `EmailField` filter
* Simple accessibility fixes
* `InlineFormField` now accepts `widget_args` and `form_rules` arguments
* Support for newer wtforms versions
* `form_rules` property that affects both create and edit forms
* Lots of bugfixes
Diffstat (limited to 'www/py-flask-admin')
-rw-r--r-- | www/py-flask-admin/Makefile | 18 | ||||
-rw-r--r-- | www/py-flask-admin/PLIST | 32 | ||||
-rw-r--r-- | www/py-flask-admin/distinfo | 8 |
3 files changed, 45 insertions, 13 deletions
diff --git a/www/py-flask-admin/Makefile b/www/py-flask-admin/Makefile index ceab818dc57..f51439f3e1d 100644 --- a/www/py-flask-admin/Makefile +++ b/www/py-flask-admin/Makefile @@ -1,9 +1,7 @@ -# $NetBSD: Makefile,v 1.8 2014/01/19 20:42:28 kleink Exp $ +# $NetBSD: Makefile,v 1.9 2014/04/26 17:44:52 kleink Exp $ -DISTNAME= Flask-Admin-1.0.7 -DIST_SUBDIR= py-flask-admin +DISTNAME= Flask-Admin-1.0.8 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} -PKGREVISION= 3 CATEGORIES= www python MASTER_SITES= http://pypi.python.org/packages/source/F/Flask-Admin/ @@ -13,17 +11,27 @@ COMMENT= Simple and extensible administrative interface framework for Flask LICENSE= modified-bsd USE_LANGUAGES= # empty +USE_TOOLS+= pax EGG_NAME= ${DISTNAME:S/-/_/} DEPENDS+= ${PYPKGPREFIX}-flask>=0.7:../../www/py-flask DEPENDS+= ${PYPKGPREFIX}-wtforms-[0-9]*:../../www/py-wtforms +EGDIR= share/examples/${PKGBASE} +PLIST_SUBST+= EGDIR=${EGDIR} +INSTALLATION_DIRS+= ${EGDIR} + +post-extract: + rm -f ${WRKSRC}/examples/__init__.py + post-install: -.for i in LICENSE select2.min.js +.for i in LICENSE select2.css select2.min.js ${CHMOD} -x \ ${DESTDIR}${PREFIX}/${PYSITELIB}/flask_admin/static/select2/${i} .endfor + ${TOUCH} ${DESTDIR}${PREFIX}/${EGDIR}/__init__.py + cd ${WRKSRC}/examples && pax -rwppm . ${DESTDIR}${PREFIX}/${EGDIR} .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/py-flask-admin/PLIST b/www/py-flask-admin/PLIST index e8402b27932..6a50323c094 100644 --- a/www/py-flask-admin/PLIST +++ b/www/py-flask-admin/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.5 2014/01/19 17:38:12 wiz Exp $ +@comment $NetBSD: PLIST,v 1.6 2014/04/26 17:44:52 kleink Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -149,6 +149,9 @@ ${PYSITELIB}/flask_admin/form/widgets.pyo ${PYSITELIB}/flask_admin/helpers.py ${PYSITELIB}/flask_admin/helpers.pyc ${PYSITELIB}/flask_admin/helpers.pyo +${PYSITELIB}/flask_admin/menu.py +${PYSITELIB}/flask_admin/menu.pyc +${PYSITELIB}/flask_admin/menu.pyo ${PYSITELIB}/flask_admin/model/__init__.py ${PYSITELIB}/flask_admin/model/__init__.pyc ${PYSITELIB}/flask_admin/model/__init__.pyo @@ -221,14 +224,15 @@ ${PYSITELIB}/flask_admin/templates/admin/model/layout.html ${PYSITELIB}/flask_admin/templates/admin/model/list.html ${PYSITELIB}/flask_admin/templates/admin/rediscli/console.html ${PYSITELIB}/flask_admin/templates/admin/rediscli/response.html -${PYSITELIB}/flask_admin/tests/.coverage +${PYSITELIB}/flask_admin/templates/admin/static.html ${PYSITELIB}/flask_admin/tests/__init__.py ${PYSITELIB}/flask_admin/tests/__init__.pyc ${PYSITELIB}/flask_admin/tests/__init__.pyo +${PYSITELIB}/flask_admin/tests/data/copyleft.gif +${PYSITELIB}/flask_admin/tests/data/copyleft.jpeg ${PYSITELIB}/flask_admin/tests/data/copyleft.jpg ${PYSITELIB}/flask_admin/tests/data/copyleft.png ${PYSITELIB}/flask_admin/tests/data/copyleft.tiff -${PYSITELIB}/flask_admin/tests/dump.rdb ${PYSITELIB}/flask_admin/tests/fileadmin/__init__.py ${PYSITELIB}/flask_admin/tests/fileadmin/__init__.pyc ${PYSITELIB}/flask_admin/tests/fileadmin/__init__.pyo @@ -282,8 +286,9 @@ ${PYSITELIB}/flask_admin/tests/test_form_upload.pyo ${PYSITELIB}/flask_admin/tests/test_model.py ${PYSITELIB}/flask_admin/tests/test_model.pyc ${PYSITELIB}/flask_admin/tests/test_model.pyo +${PYSITELIB}/flask_admin/tests/tmp/copyleft.jpeg +${PYSITELIB}/flask_admin/tests/tmp/copyleft.jpg ${PYSITELIB}/flask_admin/tests/tmp/inner/test1.txt -${PYSITELIB}/flask_admin/tests/tmp/test1.jpg ${PYSITELIB}/flask_admin/tools.py ${PYSITELIB}/flask_admin/tools.pyc ${PYSITELIB}/flask_admin/tools.pyo @@ -306,3 +311,22 @@ ${PYSITELIB}/flask_admin/translations/zh_CN/LC_MESSAGES/admin.mo ${PYSITELIB}/flask_admin/translations/zh_CN/LC_MESSAGES/admin.po ${PYSITELIB}/flask_admin/translations/zh_TW/LC_MESSAGES/admin.mo ${PYSITELIB}/flask_admin/translations/zh_TW/LC_MESSAGES/admin.po +${EGDIR}/__init__.py +${EGDIR}/auth/__init__.py +${EGDIR}/auth/auth.py +${EGDIR}/forms/__init__.py +${EGDIR}/forms/simple.py +${EGDIR}/index/__init__.py +${EGDIR}/index/index.py +${EGDIR}/layout/__init__.py +${EGDIR}/layout/simple.py +${EGDIR}/quickstart/__init__.py +${EGDIR}/quickstart/first.py +${EGDIR}/quickstart/second.py +${EGDIR}/quickstart/third.py +${EGDIR}/runserver.py +${EGDIR}/simple/__init__.py +${EGDIR}/simple/simple.py +${EGDIR}/sqla/__init__.py +${EGDIR}/sqla/multiple_pk.py +${EGDIR}/sqla/simple.py diff --git a/www/py-flask-admin/distinfo b/www/py-flask-admin/distinfo index 2ab990dedbd..771961eab20 100644 --- a/www/py-flask-admin/distinfo +++ b/www/py-flask-admin/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.6 2014/01/19 20:42:28 kleink Exp $ +$NetBSD: distinfo,v 1.7 2014/04/26 17:44:52 kleink Exp $ -SHA1 (py-flask-admin/Flask-Admin-1.0.7.tar.gz) = 9979ec5599a300f6d82cff3ad13f956a453571fb -RMD160 (py-flask-admin/Flask-Admin-1.0.7.tar.gz) = f93694810adbb8fda3ddd576078f4428bfde289f -Size (py-flask-admin/Flask-Admin-1.0.7.tar.gz) = 330572 bytes +SHA1 (Flask-Admin-1.0.8.tar.gz) = dc50cf9348392ae1d1e870f90b2bfec4958b541e +RMD160 (Flask-Admin-1.0.8.tar.gz) = 93c865ceaf4a667495a8fd10905f20d839abce34 +Size (Flask-Admin-1.0.8.tar.gz) = 342794 bytes |