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.diff -r1.18 -r1.19 pkgsrc/devel/py-mako/Makefile
(adam)
@@ -1,25 +1,24 @@ | @@ -1,25 +1,24 @@ | |||
1 | # $NetBSD: Makefile,v 1.18 2020/01/26 17:31:03 rillig Exp $ | 1 | # $NetBSD: Makefile,v 1.19 2020/03/02 10:34:12 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= Mako-1.1.0 | 3 | DISTNAME= Mako-1.1.2 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} | |
5 | CATEGORIES= devel python | 5 | CATEGORIES= devel python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=M/Mako/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=M/Mako/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://www.makotemplates.org/ | 9 | HOMEPAGE= https://www.makotemplates.org/ | |
10 | COMMENT= Hyperfast and lightweight templating for the Python platform | 10 | COMMENT= Hyperfast and lightweight templating for the Python platform | |
11 | LICENSE= mit | 11 | LICENSE= mit | |
12 | 12 | |||
13 | TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.1.0:../../devel/py-test | 13 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner | |
14 | 14 | |||
15 | USE_LANGUAGES= # none | 15 | USE_LANGUAGES= # none | |
16 | 16 | |||
17 | PYSETUPTESTTARGET= pytest | |||
18 | ||||
17 | post-install: | 19 | post-install: | |
18 | cd ${DESTDIR}${PREFIX}/bin && \ | 20 | cd ${DESTDIR}${PREFIX}/bin && \ | |
19 | ${MV} mako-render mako-render-${PYVERSSUFFIX} || ${TRUE} | 21 | ${MV} mako-render mako-render-${PYVERSSUFFIX} || ${TRUE} | |
20 | 22 | |||
21 | do-test: | |||
22 | cd ${WRKSRC} && pytest-${PYVERSSUFFIX} test | |||
23 | ||||
24 | .include "../../lang/python/egg.mk" | 23 | .include "../../lang/python/egg.mk" | |
25 | .include "../../mk/bsd.pkg.mk" | 24 | .include "../../mk/bsd.pkg.mk" |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.14 2019/08/03 11:27:27 adam Exp $ | 1 | $NetBSD: distinfo,v 1.15 2020/03/02 10:34:12 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (Mako-1.1.0.tar.gz) = 2b1158ba4e086257f23aa25f82f052644f316b7c | 3 | SHA1 (Mako-1.1.2.tar.gz) = 4f9dd6e28a4a63691e1c03c1e078ae17dba49fe9 | |
4 | RMD160 (Mako-1.1.0.tar.gz) = 8cfac09fc9ca66cfff9954bf85d22ca24bc9406b | 4 | RMD160 (Mako-1.1.2.tar.gz) = 441736b7c39f3487c08a71166b8194a0a86a4577 | |
5 | SHA512 (Mako-1.1.0.tar.gz) = acb0f53a22ae152c359c38391f508eca706efcc52916a6e87f2702517dd48b5ffd26eef0f2f9172046f1abd0aea1f47328354ff622938886aa00f950a261e8d4 | 5 | SHA512 (Mako-1.1.2.tar.gz) = 73b7a32ceb6e39dc2491734546c83a752bf0c8bc7546bb236801c02a5bccc5b59f2440333a328ff747eee936612dd12279f08d27d76f065fd589081d232692a8 | |
6 | Size (Mako-1.1.0.tar.gz) = 463945 bytes | 6 | Size (Mako-1.1.2.tar.gz) = 469385 bytes |