1.0.7 [bug] Changed the ���print��� in the mako-render command to sys.stdout.write(), avoiding the extra newline at the end of the template output.diff -r0 -r1.1 pkgsrc/devel/py-mako/ALTERNATIVES
(adam)
bin/mako-render @PREFIX@/bin/mako-render@PYVERSSUFFIX@
@@ -1,16 +1,19 @@ | @@ -1,16 +1,19 @@ | |||
1 | # $NetBSD: Makefile,v 1.10 2016/08/21 10:53:17 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.11 2017/07/26 17:10:15 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= Mako-1.0.4 | 3 | DISTNAME= Mako-1.0.7 | |
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= http://www.makotemplates.org/ | 9 | HOMEPAGE= http://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 | USE_LANGUAGES= # none | 13 | USE_LANGUAGES= # none | |
14 | 14 | |||
15 | post-install: | |||
16 | cd ${DESTDIR}${PREFIX}/bin && ${MV} mako-render mako-render${PYVERSSUFFIX} || ${TRUE} | |||
17 | ||||
15 | .include "../../lang/python/egg.mk" | 18 | .include "../../lang/python/egg.mk" | |
16 | .include "../../mk/bsd.pkg.mk" | 19 | .include "../../mk/bsd.pkg.mk" |
@@ -1,15 +1,15 @@ | @@ -1,15 +1,15 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.5 2016/08/18 14:53:24 richard Exp $ | 1 | @comment $NetBSD: PLIST,v 1.6 2017/07/26 17:10:15 adam Exp $ | |
2 | bin/mako-render | 2 | bin/mako-render${PYVERSSUFFIX} | |
3 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 3 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |
4 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 4 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |
5 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 5 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |
6 | ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt | 6 | ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt | |
7 | ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe | 7 | ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe | |
8 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | 8 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | |
9 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 9 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |
10 | ${PYSITELIB}/mako/__init__.py | 10 | ${PYSITELIB}/mako/__init__.py | |
11 | ${PYSITELIB}/mako/__init__.pyc | 11 | ${PYSITELIB}/mako/__init__.pyc | |
12 | ${PYSITELIB}/mako/__init__.pyo | 12 | ${PYSITELIB}/mako/__init__.pyo | |
13 | ${PYSITELIB}/mako/_ast_util.py | 13 | ${PYSITELIB}/mako/_ast_util.py | |
14 | ${PYSITELIB}/mako/_ast_util.pyc | 14 | ${PYSITELIB}/mako/_ast_util.pyc | |
15 | ${PYSITELIB}/mako/_ast_util.pyo | 15 | ${PYSITELIB}/mako/_ast_util.pyo |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.7 2016/08/18 14:53:24 richard Exp $ | 1 | $NetBSD: distinfo,v 1.8 2017/07/26 17:10:15 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (Mako-1.0.4.tar.gz) = 64f9cadffd5cc264ea91d81df6e24ce660a15836 | 3 | SHA1 (Mako-1.0.7.tar.gz) = bf0c1f4cdfca4dd37bc0c9f83e984a0558268b42 | |
4 | RMD160 (Mako-1.0.4.tar.gz) = e5a4ce6a05102ef031b66106d82cf01583cc243d | 4 | RMD160 (Mako-1.0.7.tar.gz) = 641bcab9ad3fc93ea0be1911b29082498819eb0e | |
5 | SHA512 (Mako-1.0.4.tar.gz) = 2494dba2a947e179f71b663b1efd534ef8edd4085a504c7d2e18670fd1a5d712bbd922433de97dbece3deacf4c8c20dc58408e15df68701cabc153dbcb501193 | 5 | SHA512 (Mako-1.0.7.tar.gz) = d67af6788bf8603010361ce8b6d0355b0191657c07f3b5845f9d5e91653c3e349a7b35d5b36aa9c7f291973c83911ce94075e1cad78e6935d0ed4ee9c6e2a571 | |
6 | Size (Mako-1.0.4.tar.gz) = 574213 bytes | 6 | Size (Mako-1.0.7.tar.gz) = 564418 bytes |