pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-flask-admin py-flask-admin: updated to 1.5.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/18d3ac2e1b86
branches:  trunk
changeset: 327193:18d3ac2e1b86
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Dec 22 09:30:10 2018 +0000

description:
py-flask-admin: updated to 1.5.3

v1.5.3:
Fixed XSS vulnerability
Support nested categories in the navbar menu
SQLAlchemy
- sort on multiple columns with column_default_sort
- sort on related models in column_sortable_list
- fix: inline model forms can now also be used for models with multiple primary keys
- support for using mapped column_property
Upgrade Leaflet and Leaflet.draw plugins, used for geoalchemy integration
Specify minimum_input_length for ajax widget
Peewee: support composite keys
MongoEngine: when searching/filtering the input is now regarded as case-insensitive by default
FileAdmin
- handle special characters in filename
- fix a bug with listing directories on Windows
- avoid raising an exception when unknown sort parameter is encountered
WTForms 3 support

diffstat:

 www/py-flask-admin/Makefile |  17 ++++-----------
 www/py-flask-admin/PLIST    |  49 +++++++++++---------------------------------
 www/py-flask-admin/distinfo |  10 ++++----
 3 files changed, 22 insertions(+), 54 deletions(-)

diffs (147 lines):

diff -r 4d53e7ec32fe -r 18d3ac2e1b86 www/py-flask-admin/Makefile
--- a/www/py-flask-admin/Makefile       Sat Dec 22 09:20:03 2018 +0000
+++ b/www/py-flask-admin/Makefile       Sat Dec 22 09:30:10 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2018/10/03 11:48:14 adam Exp $
+# $NetBSD: Makefile,v 1.21 2018/12/22 09:30:10 adam Exp $
 
-DISTNAME=      Flask-Admin-1.5.2
+DISTNAME=      Flask-Admin-1.5.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=F/Flask-Admin/}
@@ -10,21 +10,14 @@
 COMMENT=       Simple and extensible administrative interface framework for Flask
 LICENSE=       modified-bsd
 
-USE_LANGUAGES= # none
-USE_TOOLS+=    pax
-
 DEPENDS+=      ${PYPKGPREFIX}-flask>=0.7:../../www/py-flask
 DEPENDS+=      ${PYPKGPREFIX}-wtforms-[0-9]*:../../www/py-wtforms
 
-EGDIR=                 share/examples/${PKGBASE}
-INSTALLATION_DIRS+=    ${EGDIR}
+USE_LANGUAGES= # none
 
 post-extract:
-       ${RM} ${WRKSRC}/examples/__init__.py
-
-post-install:
-       ${TOUCH} ${DESTDIR}${PREFIX}/${EGDIR}/__init__.py
-       cd ${WRKSRC}/examples && pax -rwppm . ${DESTDIR}${PREFIX}/${EGDIR}
+       ${FIND} ${WRKSRC}/flask_admin/static -type f -exec ${CHMOD} a-x {} +
+       ${FIND} ${WRKSRC}/flask_admin/templates -type f -exec ${CHMOD} a-x {} +
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 4d53e7ec32fe -r 18d3ac2e1b86 www/py-flask-admin/PLIST
--- a/www/py-flask-admin/PLIST  Sat Dec 22 09:20:03 2018 +0000
+++ b/www/py-flask-admin/PLIST  Sat Dec 22 09:30:10 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2018/10/03 11:48:14 adam Exp $
+@comment $NetBSD: PLIST,v 1.16 2018/12/22 09:30:10 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -44,6 +44,9 @@
 ${PYSITELIB}/flask_admin/contrib/fileadmin/__init__.py
 ${PYSITELIB}/flask_admin/contrib/fileadmin/__init__.pyc
 ${PYSITELIB}/flask_admin/contrib/fileadmin/__init__.pyo
+${PYSITELIB}/flask_admin/contrib/fileadmin/azure.py
+${PYSITELIB}/flask_admin/contrib/fileadmin/azure.pyc
+${PYSITELIB}/flask_admin/contrib/fileadmin/azure.pyo
 ${PYSITELIB}/flask_admin/contrib/fileadmin/s3.py
 ${PYSITELIB}/flask_admin/contrib/fileadmin/s3.pyc
 ${PYSITELIB}/flask_admin/contrib/fileadmin/s3.pyo
@@ -164,6 +167,9 @@
 ${PYSITELIB}/flask_admin/contrib/sqla/view.py
 ${PYSITELIB}/flask_admin/contrib/sqla/view.pyc
 ${PYSITELIB}/flask_admin/contrib/sqla/view.pyo
+${PYSITELIB}/flask_admin/contrib/sqla/widgets.py
+${PYSITELIB}/flask_admin/contrib/sqla/widgets.pyc
+${PYSITELIB}/flask_admin/contrib/sqla/widgets.pyo
 ${PYSITELIB}/flask_admin/contrib/sqlamodel/__init__.py
 ${PYSITELIB}/flask_admin/contrib/sqlamodel/__init__.pyc
 ${PYSITELIB}/flask_admin/contrib/sqlamodel/__init__.pyo
@@ -222,6 +228,7 @@
 ${PYSITELIB}/flask_admin/static/admin/css/bootstrap2/rediscli.css
 ${PYSITELIB}/flask_admin/static/admin/css/bootstrap3/admin.css
 ${PYSITELIB}/flask_admin/static/admin/css/bootstrap3/rediscli.css
+${PYSITELIB}/flask_admin/static/admin/css/bootstrap3/submenu.css
 ${PYSITELIB}/flask_admin/static/admin/js/actions.js
 ${PYSITELIB}/flask_admin/static/admin/js/bs2_modal.js
 ${PYSITELIB}/flask_admin/static/admin/js/bs3_modal.js
@@ -298,6 +305,7 @@
 ${PYSITELIB}/flask_admin/static/vendor/leaflet/leaflet.draw.css
 ${PYSITELIB}/flask_admin/static/vendor/leaflet/leaflet.draw.js
 ${PYSITELIB}/flask_admin/static/vendor/leaflet/leaflet.js
+${PYSITELIB}/flask_admin/static/vendor/leaflet/leaflet.js.map
 ${PYSITELIB}/flask_admin/static/vendor/moment.min.js
 ${PYSITELIB}/flask_admin/static/vendor/select2/LICENSE
 ${PYSITELIB}/flask_admin/static/vendor/select2/select2-bootstrap3.css
@@ -375,6 +383,9 @@
 ${PYSITELIB}/flask_admin/tests/fileadmin/test_fileadmin.py
 ${PYSITELIB}/flask_admin/tests/fileadmin/test_fileadmin.pyc
 ${PYSITELIB}/flask_admin/tests/fileadmin/test_fileadmin.pyo
+${PYSITELIB}/flask_admin/tests/fileadmin/test_fileadmin_azure.py
+${PYSITELIB}/flask_admin/tests/fileadmin/test_fileadmin_azure.pyc
+${PYSITELIB}/flask_admin/tests/fileadmin/test_fileadmin_azure.pyo
 ${PYSITELIB}/flask_admin/tests/geoa/__init__.py
 ${PYSITELIB}/flask_admin/tests/geoa/__init__.pyc
 ${PYSITELIB}/flask_admin/tests/geoa/__init__.pyo
@@ -525,39 +536,3 @@
 ${PYSITELIB}/flask_admin/translations/zh_Hans_CN/LC_MESSAGES/introduction.po
 ${PYSITELIB}/flask_admin/translations/zh_Hant_TW/LC_MESSAGES/admin.mo
 ${PYSITELIB}/flask_admin/translations/zh_Hant_TW/LC_MESSAGES/admin.po
-share/examples/${PKGBASE}/__init__.py
-share/examples/${PKGBASE}/auth-flask-login/__init__.py
-share/examples/${PKGBASE}/auth-flask-login/app.py
-share/examples/${PKGBASE}/auth/__init__.py
-share/examples/${PKGBASE}/auth/app.py
-share/examples/${PKGBASE}/auth/config.py
-share/examples/${PKGBASE}/forms/__init__.py
-share/examples/${PKGBASE}/forms/app.py
-share/examples/${PKGBASE}/geo_alchemy/__init__.py
-share/examples/${PKGBASE}/geo_alchemy/app.py
-share/examples/${PKGBASE}/geo_alchemy/config.py
-share/examples/${PKGBASE}/layout/__init__.py
-share/examples/${PKGBASE}/layout/app.py
-share/examples/${PKGBASE}/layout_bootstrap3/__init__.py
-share/examples/${PKGBASE}/layout_bootstrap3/app.py
-share/examples/${PKGBASE}/quickstart/__init__.py
-share/examples/${PKGBASE}/quickstart/app.py
-share/examples/${PKGBASE}/quickstart/app2.py
-share/examples/${PKGBASE}/quickstart/app3.py
-share/examples/${PKGBASE}/simple/__init__.py
-share/examples/${PKGBASE}/simple/app.py
-share/examples/${PKGBASE}/sqla-association_proxy/__init__.py
-share/examples/${PKGBASE}/sqla-association_proxy/app.py
-share/examples/${PKGBASE}/sqla-custom-filter/__init__.py
-share/examples/${PKGBASE}/sqla-custom-filter/app.py
-share/examples/${PKGBASE}/sqla-filter-selectable/__init__.py
-share/examples/${PKGBASE}/sqla-filter-selectable/app.py
-share/examples/${PKGBASE}/sqla-hybrid_property/__init__.py
-share/examples/${PKGBASE}/sqla-hybrid_property/app.py
-share/examples/${PKGBASE}/sqla/__init__.py
-share/examples/${PKGBASE}/sqla/app.py
-share/examples/${PKGBASE}/sqla/app2.py
-share/examples/${PKGBASE}/swatch/__init__.py
-share/examples/${PKGBASE}/swatch/app.py
-share/examples/${PKGBASE}/swatch3/__init__.py
-share/examples/${PKGBASE}/swatch3/app.py
diff -r 4d53e7ec32fe -r 18d3ac2e1b86 www/py-flask-admin/distinfo
--- a/www/py-flask-admin/distinfo       Sat Dec 22 09:20:03 2018 +0000
+++ b/www/py-flask-admin/distinfo       Sat Dec 22 09:30:10 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.17 2018/10/03 11:48:14 adam Exp $
+$NetBSD: distinfo,v 1.18 2018/12/22 09:30:10 adam Exp $
 
-SHA1 (Flask-Admin-1.5.2.tar.gz) = 5bdb62999a3e21d6b9a903c2dde6641992377aef
-RMD160 (Flask-Admin-1.5.2.tar.gz) = ed2088cf0e608a941bd22f1c5c34fbe8e62e1a50
-SHA512 (Flask-Admin-1.5.2.tar.gz) = 68cafdee46800b601baed940f7444d217af533060374313d00696ca0acb8f873d1a2bfdc09c7da419e8c6be093831d03a0b71d130e782c90e174b59a7a0f4ac6
-Size (Flask-Admin-1.5.2.tar.gz) = 1588924 bytes
+SHA1 (Flask-Admin-1.5.3.tar.gz) = e3a4e690fad0f5c1a7c8b09f6f6430a9d3d777b7
+RMD160 (Flask-Admin-1.5.3.tar.gz) = 2f03053e59ab2529ce04170c6ab42a7a2bc7b813
+SHA512 (Flask-Admin-1.5.3.tar.gz) = 8dcfd5cbc97d77d2d50e4a70eeb0f3f52fc526a5a52cebb5e31d61202d104f303aca69a965771f8b8ba38fc14eb01faa582dd14fd97dbb2566963b40a44ff81c
+Size (Flask-Admin-1.5.3.tar.gz) = 1673680 bytes



Home | Main Index | Thread Index | Old Index