824304a53c
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
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2014/04/26 17:44:52 kleink Exp $
|
|
|
|
DISTNAME= Flask-Admin-1.0.8
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
|
CATEGORIES= www python
|
|
MASTER_SITES= http://pypi.python.org/packages/source/F/Flask-Admin/
|
|
|
|
MAINTAINER= kleink@NetBSD.org
|
|
HOMEPAGE= https://github.com/mrjoes/flask-admin/
|
|
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.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"
|