From 32ab6c81048c916042f365a4394cf2c4987306c0 Mon Sep 17 00:00:00 2001 From: adam Date: Sat, 3 Aug 2019 11:27:27 +0000 Subject: py-mako: updated to 1.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1.1.0 changed [changed] [setup] Removed the “python setup.py test” feature in favor of a straight run of “tox”. Per Pypa / pytest developers, “setup.py” commands are in general headed towards deprecation in favor of tox. The tox.ini script has been updated such that running “tox” with no arguments will perform a single run of the test suite against the default installed Python interpreter. [changed] [installer] [py3k] Mako 1.1 now supports Python versions: - 2.7 - 3.4 and higher This includes that setup.py no longer includes any conditionals, allowing for a pure Python wheel build, however this is not necessarily part of the Pypi release process as of yet. The test suite also raises for Python deprecation warnings. bug [bug] [py3k] [windows] Replaced usage of time.clock() on windows as well as time.time() elsewhere for microsecond timestamps with timeit.default_timer(), as time.clock() is being removed in Python 3.8. Pull request courtesy Christoph Reiter. [bug] [py3k] Replaced usage of inspect.getfullargspec() with the vendored version used by SQLAlchemy, Alembic to avoid future deprecation warnings. Also cleans up an additional version of the same function that’s apparently been floating around for some time. --- devel/py-mako/Makefile | 9 +++++++-- devel/py-mako/distinfo | 10 +++++----- 2 files changed, 12 insertions(+), 7 deletions(-) (limited to 'devel') diff --git a/devel/py-mako/Makefile b/devel/py-mako/Makefile index b4b95f5f46f..4202678d18a 100644 --- a/devel/py-mako/Makefile +++ b/devel/py-mako/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.16 2019/07/21 08:07:19 adam Exp $ +# $NetBSD: Makefile,v 1.17 2019/08/03 11:27:27 adam Exp $ -DISTNAME= Mako-1.0.14 +DISTNAME= Mako-1.1.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=M/Mako/} @@ -10,11 +10,16 @@ HOMEPAGE= http://www.makotemplates.org/ COMMENT= Hyperfast and lightweight templating for the Python platform LICENSE= mit +TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.1.0:../../devel/py-test + USE_LANGUAGES= # none 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 --git a/devel/py-mako/distinfo b/devel/py-mako/distinfo index d5c58b7333a..9b5eb1b421a 100644 --- a/devel/py-mako/distinfo +++ b/devel/py-mako/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.13 2019/07/21 08:07:19 adam Exp $ +$NetBSD: distinfo,v 1.14 2019/08/03 11:27:27 adam Exp $ -SHA1 (Mako-1.0.14.tar.gz) = 2bab25aeb6efaff2065b934202ceffcb3635396a -RMD160 (Mako-1.0.14.tar.gz) = d1cfdfa5d353afb9d9e752a9edadb8fed45d41ff -SHA512 (Mako-1.0.14.tar.gz) = e9a4840f4dddd77d55ad6d3b8724f0326937c04aa9c8c578ec385c70f897419b13ffc234cc673a316de2fa8cd7060fc837cf12f2317658181f8d2eb7dd4ac88f -Size (Mako-1.0.14.tar.gz) = 462343 bytes +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 -- cgit v1.2.3