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.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/f0f40d168659
branches: trunk
changeset: 399132:f0f40d168659
user: adam <adam%pkgsrc.org@localhost>
date: Sat Aug 03 11:27:27 2019 +0000
description:
py-mako: updated to 1.1.0
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.
diffstat:
devel/py-mako/Makefile | 9 +++++++--
devel/py-mako/distinfo | 10 +++++-----
2 files changed, 12 insertions(+), 7 deletions(-)
diffs (44 lines):
diff -r e87381c91f44 -r f0f40d168659 devel/py-mako/Makefile
--- a/devel/py-mako/Makefile Sat Aug 03 11:23:09 2019 +0000
+++ b/devel/py-mako/Makefile Sat Aug 03 11:27:27 2019 +0000
@@ -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 @@
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 -r e87381c91f44 -r f0f40d168659 devel/py-mako/distinfo
--- a/devel/py-mako/distinfo Sat Aug 03 11:23:09 2019 +0000
+++ b/devel/py-mako/distinfo Sat Aug 03 11:27:27 2019 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index