pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-mako



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Aug  3 11:27:27 UTC 2019

Modified Files:
        pkgsrc/devel/py-mako: Makefile distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/py-mako/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/py-mako/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-mako/Makefile
diff -u pkgsrc/devel/py-mako/Makefile:1.16 pkgsrc/devel/py-mako/Makefile:1.17
--- pkgsrc/devel/py-mako/Makefile:1.16  Sun Jul 21 08:07:19 2019
+++ pkgsrc/devel/py-mako/Makefile       Sat Aug  3 11:27:27 2019
@@ -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"

Index: pkgsrc/devel/py-mako/distinfo
diff -u pkgsrc/devel/py-mako/distinfo:1.13 pkgsrc/devel/py-mako/distinfo:1.14
--- pkgsrc/devel/py-mako/distinfo:1.13  Sun Jul 21 08:07:19 2019
+++ pkgsrc/devel/py-mako/distinfo       Sat Aug  3 11:27:27 2019
@@ -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