Wed Nov 16 13:55:36 2022 UTC ()
py-mako: updated to 1.2.4

1.2.4
Fixed issue where unpacking nested tuples in a for loop using would raise a
"couldn't apply loop context" error if the loop context was used. The regex
used to match the for loop expression now allows the list of loop variables
to contain parenthesized sub-tuples. Pull request courtesy Matt Trescott.


(adam)
diff -r1.27 -r1.28 pkgsrc/devel/py-mako/Makefile
diff -r1.22 -r1.23 pkgsrc/devel/py-mako/distinfo

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

--- pkgsrc/devel/py-mako/Makefile 2022/10/25 11:18:04 1.27
+++ pkgsrc/devel/py-mako/Makefile 2022/11/16 13:55:36 1.28
@@ -1,34 +1,29 @@ @@ -1,34 +1,29 @@
1# $NetBSD: Makefile,v 1.27 2022/10/25 11:18:04 adam Exp $ 1# $NetBSD: Makefile,v 1.28 2022/11/16 13:55:36 adam Exp $
2 2
3DISTNAME= Mako-1.2.3 3DISTNAME= Mako-1.2.4
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
13DEPENDS+= ${PYPKGPREFIX}-markupsafe>=0.9.2:../../textproc/py-markupsafe 13DEPENDS+= ${PYPKGPREFIX}-markupsafe>=0.9.2:../../textproc/py-markupsafe
14TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner 14TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
15 15
16USE_LANGUAGES= # none 16USE_LANGUAGES= # none
17 17
18USE_PKG_RESOURCES= yes 18USE_PKG_RESOURCES= yes
19 19
20PYTHON_VERSIONS_INCOMPATIBLE= 27 20PYTHON_VERSIONS_INCOMPATIBLE= 27
21 21
22.include "../../lang/python/pyversion.mk" 
23.if ${_PYTHON_VERSION} == 37 
24DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata 
25.endif 
26 
27PYSETUPTESTTARGET= pytest 22PYSETUPTESTTARGET= pytest
28 23
29post-install: 24post-install:
30 cd ${DESTDIR}${PREFIX}/bin && \ 25 cd ${DESTDIR}${PREFIX}/bin && \
31 ${MV} mako-render mako-render-${PYVERSSUFFIX} || ${TRUE} 26 ${MV} mako-render mako-render-${PYVERSSUFFIX} || ${TRUE}
32 27
33.include "../../lang/python/egg.mk" 28.include "../../lang/python/egg.mk"
34.include "../../mk/bsd.pkg.mk" 29.include "../../mk/bsd.pkg.mk"

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

--- pkgsrc/devel/py-mako/distinfo 2022/10/25 11:18:04 1.22
+++ pkgsrc/devel/py-mako/distinfo 2022/11/16 13:55:36 1.23
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.22 2022/10/25 11:18:04 adam Exp $ 1$NetBSD: distinfo,v 1.23 2022/11/16 13:55:36 adam Exp $
2 2
3BLAKE2s (Mako-1.2.3.tar.gz) = 368dd8c0d691d7eaa001a8d99c671440f9ce16b34936f6765026799f22209617 3BLAKE2s (Mako-1.2.4.tar.gz) = 9b86845441be2703fa7733865157389ddf71acb5aa085feef26b792dc7e30d8d
4SHA512 (Mako-1.2.3.tar.gz) = 904b12826b3fc74dec069e1fd4afb67a8a1962d72962c4ee8c9360deb728b8deb40c21e7bf831122ad6b095172a8de015222a97f47675d48d595c8eabd98a14b 4SHA512 (Mako-1.2.4.tar.gz) = 9a90d245f2c8b5e5efa283d91f762a2fffa40b7f71e7a4b66de7f66f894ad5ba2fa5c04080200b6633bb61d4308db5b5e763b26ae7d93d18efe4aebb2178006a
5Size (Mako-1.2.3.tar.gz) = 491336 bytes 5Size (Mako-1.2.4.tar.gz) = 497021 bytes