2017-05-04 22:23:31 +02:00
|
|
|
# $NetBSD: Makefile,v 1.22 2017/05/04 20:23:31 adam Exp $
|
2009-08-05 12:15:09 +02:00
|
|
|
|
2017-05-04 20:11:09 +02:00
|
|
|
DISTNAME= Jinja2-2.9.6
|
2009-08-05 12:15:09 +02:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
|
|
|
CATEGORIES= textproc python
|
2016-06-08 19:43:20 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=J/Jinja2/}
|
2009-08-05 12:15:09 +02:00
|
|
|
|
2010-06-06 01:54:22 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2014-08-13 22:07:56 +02:00
|
|
|
HOMEPAGE= http://jinja.pocoo.org/
|
2009-08-05 12:15:09 +02:00
|
|
|
COMMENT= Small but fast and easy to use stand-alone template engine
|
|
|
|
LICENSE= modified-bsd
|
|
|
|
|
2013-09-01 00:33:35 +02:00
|
|
|
USE_LANGUAGES= # none
|
2012-02-04 13:35:12 +01:00
|
|
|
|
2013-05-21 21:51:22 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-markupsafe-[0-9]*:../../textproc/py-markupsafe
|
2012-10-18 00:16:36 +02:00
|
|
|
|
2013-05-24 21:30:54 +02:00
|
|
|
SUBST_CLASSES+= unicode
|
2016-12-15 11:46:08 +01:00
|
|
|
SUBST_FILES.unicode= jinja2/*.py
|
2017-05-04 20:11:09 +02:00
|
|
|
SUBST_STAGE.unicode= pre-install
|
2014-06-09 14:36:51 +02:00
|
|
|
SUBST_SED.unicode+= -e "s,u',',g"
|
|
|
|
SUBST_SED.unicode+= -e 's,u",",g'
|
2013-05-24 21:30:54 +02:00
|
|
|
|
2017-05-04 22:23:31 +02:00
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
|
|
|
|
|
|
# async byte-compilation fails for Python < 3.6
|
|
|
|
# see https://github.com/pallets/jinja/issues/643
|
|
|
|
PLIST_VARS+= async
|
|
|
|
.if "${PYPKGPREFIX}" == "py36"
|
|
|
|
PLIST.async= yes
|
|
|
|
.endif
|
|
|
|
|
2009-08-05 12:15:09 +02:00
|
|
|
.include "../../lang/python/egg.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|