Mon Mar 2 10:34:12 2020 UTC ()
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.


(adam)
diff -r1.18 -r1.19 pkgsrc/devel/py-mako/Makefile
diff -r1.14 -r1.15 pkgsrc/devel/py-mako/distinfo

cvs diff -r1.18 -r1.19 pkgsrc/devel/py-mako/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-mako/Makefile 2020/01/26 17:31:03 1.18
+++ pkgsrc/devel/py-mako/Makefile 2020/03/02 10:34:12 1.19
@@ -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
3DISTNAME= Mako-1.1.0 3DISTNAME= Mako-1.1.2
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=M/Mako/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=M/Mako/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://www.makotemplates.org/ 9HOMEPAGE= https://www.makotemplates.org/
10COMMENT= Hyperfast and lightweight templating for the Python platform 10COMMENT= Hyperfast and lightweight templating for the Python platform
11LICENSE= mit 11LICENSE= mit
12 12
13TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.1.0:../../devel/py-test 13TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
14 14
15USE_LANGUAGES= # none 15USE_LANGUAGES= # none
16 16
 17PYSETUPTESTTARGET= pytest
 18
17post-install: 19post-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
21do-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"

cvs diff -r1.14 -r1.15 pkgsrc/devel/py-mako/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-mako/distinfo 2019/08/03 11:27:27 1.14
+++ pkgsrc/devel/py-mako/distinfo 2020/03/02 10:34:12 1.15
@@ -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
3SHA1 (Mako-1.1.0.tar.gz) = 2b1158ba4e086257f23aa25f82f052644f316b7c 3SHA1 (Mako-1.1.2.tar.gz) = 4f9dd6e28a4a63691e1c03c1e078ae17dba49fe9
4RMD160 (Mako-1.1.0.tar.gz) = 8cfac09fc9ca66cfff9954bf85d22ca24bc9406b 4RMD160 (Mako-1.1.2.tar.gz) = 441736b7c39f3487c08a71166b8194a0a86a4577
5SHA512 (Mako-1.1.0.tar.gz) = acb0f53a22ae152c359c38391f508eca706efcc52916a6e87f2702517dd48b5ffd26eef0f2f9172046f1abd0aea1f47328354ff622938886aa00f950a261e8d4 5SHA512 (Mako-1.1.2.tar.gz) = 73b7a32ceb6e39dc2491734546c83a752bf0c8bc7546bb236801c02a5bccc5b59f2440333a328ff747eee936612dd12279f08d27d76f065fd589081d232692a8
6Size (Mako-1.1.0.tar.gz) = 463945 bytes 6Size (Mako-1.1.2.tar.gz) = 469385 bytes