pkgsrc/devel/py-mako/Makefile
adam d12ce3c02a py-mako: updated to 1.1.2
1.1.2
[feature] [commands]
Added –output-file argument to the Mako command line runner, which allows a specific output file to be selected. Pull request courtesy Björn Dahlgren.

1.1.1

[bug] [py3k]
Replaced usage of the long-superseded “parser.suite” module in the mako.util package for parsing the python magic encoding comment with the “ast.parse” function introduced many years ago in Python 2.5, as “parser.suite” is emitting deprecation warnings in Python 3.9.

[bug] [ext]
Added “babel” and “lingua” dependency entries to the setuptools entrypoints for the babel and lingua extensions, so that pkg_resources can check that these extra dependencies are available, raising an informative exception if not. Pull request courtesy sinoroc.
2020-03-02 10:34:12 +00:00

24 lines
649 B
Makefile

# $NetBSD: Makefile,v 1.19 2020/03/02 10:34:12 adam Exp $
DISTNAME= Mako-1.1.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=M/Mako/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.makotemplates.org/
COMMENT= Hyperfast and lightweight templating for the Python platform
LICENSE= mit
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
USE_LANGUAGES= # none
PYSETUPTESTTARGET= pytest
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} mako-render mako-render-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"