pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-mako py-mako: updated to 1.1.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f2967fb39c6
branches:  trunk
changeset: 412239:0f2967fb39c6
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Mar 02 10:34:12 2020 +0000

description:
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.

diffstat:

 devel/py-mako/Makefile |  11 +++++------
 devel/py-mako/distinfo |  10 +++++-----
 2 files changed, 10 insertions(+), 11 deletions(-)

diffs (47 lines):

diff -r b47aa4e209f7 -r 0f2967fb39c6 devel/py-mako/Makefile
--- a/devel/py-mako/Makefile    Mon Mar 02 10:29:57 2020 +0000
+++ b/devel/py-mako/Makefile    Mon Mar 02 10:34:12 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2020/01/26 17:31:03 rillig Exp $
+# $NetBSD: Makefile,v 1.19 2020/03/02 10:34:12 adam Exp $
 
-DISTNAME=      Mako-1.1.0
+DISTNAME=      Mako-1.1.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=M/Mako/}
@@ -10,16 +10,15 @@
 COMMENT=       Hyperfast and lightweight templating for the Python platform
 LICENSE=       mit
 
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.1.0:../../devel/py-test
+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}
 
-do-test:
-       cd ${WRKSRC} && pytest-${PYVERSSUFFIX} test
-
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r b47aa4e209f7 -r 0f2967fb39c6 devel/py-mako/distinfo
--- a/devel/py-mako/distinfo    Mon Mar 02 10:29:57 2020 +0000
+++ b/devel/py-mako/distinfo    Mon Mar 02 10:34:12 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.14 2019/08/03 11:27:27 adam Exp $
+$NetBSD: distinfo,v 1.15 2020/03/02 10:34:12 adam Exp $
 
-SHA1 (Mako-1.1.0.tar.gz) = 2b1158ba4e086257f23aa25f82f052644f316b7c
-RMD160 (Mako-1.1.0.tar.gz) = 8cfac09fc9ca66cfff9954bf85d22ca24bc9406b
-SHA512 (Mako-1.1.0.tar.gz) = acb0f53a22ae152c359c38391f508eca706efcc52916a6e87f2702517dd48b5ffd26eef0f2f9172046f1abd0aea1f47328354ff622938886aa00f950a261e8d4
-Size (Mako-1.1.0.tar.gz) = 463945 bytes
+SHA1 (Mako-1.1.2.tar.gz) = 4f9dd6e28a4a63691e1c03c1e078ae17dba49fe9
+RMD160 (Mako-1.1.2.tar.gz) = 441736b7c39f3487c08a71166b8194a0a86a4577
+SHA512 (Mako-1.1.2.tar.gz) = 73b7a32ceb6e39dc2491734546c83a752bf0c8bc7546bb236801c02a5bccc5b59f2440333a328ff747eee936612dd12279f08d27d76f065fd589081d232692a8
+Size (Mako-1.1.2.tar.gz) = 469385 bytes



Home | Main Index | Thread Index | Old Index