pkgsrc/textproc/py-jinja2/Makefile
adam fc1859d613 py-jinja2: updated to 2.10.3
Version 2.10.3
- Fix a typo in Babel entry point in ``setup.py`` that was preventing
  installation.

Version 2.10.2
- Fix Python 3.7 deprecation warnings.
- Using ``range`` in the sandboxed environment uses ``xrange`` on
  Python 2 to avoid memory use.
- Use Python 3.7's better traceback support to avoid a core dump when
  using debug builds of Python 3.7.
2019-10-07 05:34:29 +00:00

37 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.26 2019/10/07 05:34:29 adam Exp $
DISTNAME= Jinja2-2.10.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=J/Jinja2/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://jinja.pocoo.org/
COMMENT= Small but fast and easy to use stand-alone template engine
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-babel>=0.8:../../devel/py-babel
DEPENDS+= ${PYPKGPREFIX}-markupsafe>=0.23:../../textproc/py-markupsafe
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
USE_LANGUAGES= # none
SUBST_CLASSES+= unicode
SUBST_FILES.unicode= jinja2/*.py
SUBST_STAGE.unicode= pre-install
SUBST_SED.unicode+= -e "s,u',',g"
SUBST_SED.unicode+= -e 's,u",",g'
.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 ${_PYTHON_VERSION} != 27
PLIST.async= yes
.endif
PYSETUPTESTTARGET= pytest
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"