36f1dfb4e2
1.5.0 ----- * Fixed CSRF generation logic for multi-process deployments * Added WTForms >= 3.0 support * Flask-Admin would not recursively save inline models, allowing arbitrary nesting * Added configuration properties that allow injection of additional CSS and JS dependencies into templates without overriding them * SQLAlchemy backend - Updated hybrid property detection using new SQLAlchemy APIs - Added support for association proxies - Added support for remote hybrid properties filters - Added support for ARRAY column type * Localization-related fixes * MongoEngine backend is now properly formats model labels * Improved Google App Engine support: - Added TextProperty, KeyProperty and SelectField support - Added support for form_args, excluded_columns, page_size and after_model_update * Fixed URL generation with localized named filters * FileAdmin has Bootstrap 2 support now * Geoalchemy fixes - Use Google Places (by default) for place search * Updated translations * Bug fixes fixes
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.18 2017/03/14 14:11:51 kleink Exp $
|
|
|
|
DISTNAME= Flask-Admin-1.5.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
|
CATEGORIES= www python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=F/Flask-Admin/}
|
|
|
|
MAINTAINER= kleink@NetBSD.org
|
|
HOMEPAGE= https://github.com/flask-admin/flask-admin
|
|
COMMENT= Simple and extensible administrative interface framework for Flask
|
|
LICENSE= modified-bsd
|
|
|
|
USE_LANGUAGES= # empty
|
|
USE_TOOLS+= pax
|
|
|
|
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
|
|
${FIND} ${WRKSRC} -type f -name .DS_Store -print | ${XARGS} ${RM} -f
|
|
|
|
post-install:
|
|
${FIND} \
|
|
${DESTDIR}${PREFIX}/${PYSITELIB}/flask_admin/static \
|
|
${DESTDIR}${PREFIX}/${PYSITELIB}/flask_admin/templates \
|
|
-type f -print | ${XARGS} ${CHMOD} -x
|
|
${TOUCH} ${DESTDIR}${PREFIX}/${EGDIR}/__init__.py
|
|
cd ${WRKSRC}/examples && pax -rwppm . ${DESTDIR}${PREFIX}/${EGDIR}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|