pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-werkzeug py-werkzeug: updated to 0.16.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e5a7410f704f
branches:  trunk
changeset: 342003:e5a7410f704f
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Oct 11 16:29:17 2019 +0000

description:
py-werkzeug: updated to 0.16.0

Version 0.16.0

Deprecate most top-level attributes provided by the werkzeug module in favor of direct imports. The deprecated imports will be removed in version 1.0.

For example, instead of import werkzeug; werkzeug.url_quote, do from werkzeug.urls import url_quote. A deprecation warning will show the correct import to use. werkzeug.exceptions and 
werkzeug.routing should also be imported instead of accessed, but for technical reasons can?t show a warning.

diffstat:

 www/py-werkzeug/Makefile        |   8 ++++----
 www/py-werkzeug/Makefile.common |   4 ++--
 www/py-werkzeug/distinfo        |  10 +++++-----
 3 files changed, 11 insertions(+), 11 deletions(-)

diffs (64 lines):

diff -r e715f225961f -r e5a7410f704f www/py-werkzeug/Makefile
--- a/www/py-werkzeug/Makefile  Fri Oct 11 16:28:39 2019 +0000
+++ b/www/py-werkzeug/Makefile  Fri Oct 11 16:29:17 2019 +0000
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.15 2019/05/23 12:00:48 adam Exp $
+# $NetBSD: Makefile,v 1.16 2019/10/11 16:29:17 adam Exp $
 
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 
 COMMENT=       Python WSGI Utility Library
 
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 
 REPLACE_PYTHON=                examples/cookieauth.py
 REPLACE_PYTHON+=       examples/manage-coolmagic.py
@@ -19,6 +20,8 @@
 REPLACE_PYTHON+=       examples/contrib/sessions.py
 REPLACE_PYTHON+=       tests/multipart/test_collect.py
 
+PYSETUPTESTTARGET=     pytest
+
 EGDIR=         share/examples/${PKGBASE}
 
 PLIST_SUBST+=  EGDIR=${EGDIR}
@@ -40,9 +43,6 @@
        ${CHMOD} ${SHAREMODE} ${DESTDIR}${PREFIX}/${EGDIR}/cupoftee/shared/${i}
 .endfor
 
-do-test:
-       cd ${WRKSRC}/tests && pytest-${PYVERSSUFFIX}
-
 .include "../../www/py-werkzeug/Makefile.common"
 
 .include "../../lang/python/application.mk"
diff -r e715f225961f -r e5a7410f704f www/py-werkzeug/Makefile.common
--- a/www/py-werkzeug/Makefile.common   Fri Oct 11 16:28:39 2019 +0000
+++ b/www/py-werkzeug/Makefile.common   Fri Oct 11 16:29:17 2019 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile.common,v 1.23 2019/09/07 07:25:03 adam Exp $
+# $NetBSD: Makefile.common,v 1.24 2019/10/11 16:29:17 adam Exp $
 # used by www/py-werkzeug/Makefile
 # used by www/py-werkzeug-docs/Makefile
 
-DISTNAME=      Werkzeug-0.15.6
+DISTNAME=      Werkzeug-0.16.0
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=W/Werkzeug/}
 
diff -r e715f225961f -r e5a7410f704f www/py-werkzeug/distinfo
--- a/www/py-werkzeug/distinfo  Fri Oct 11 16:28:39 2019 +0000
+++ b/www/py-werkzeug/distinfo  Fri Oct 11 16:29:17 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.22 2019/09/07 07:25:03 adam Exp $
+$NetBSD: distinfo,v 1.23 2019/10/11 16:29:17 adam Exp $
 
-SHA1 (Werkzeug-0.15.6.tar.gz) = 4de3d851244c824bac509861d85cf243167c22aa
-RMD160 (Werkzeug-0.15.6.tar.gz) = 80bfcf620425e4e7bb9787d30123eb64c7e3501b
-SHA512 (Werkzeug-0.15.6.tar.gz) = 5530002c3da348cdc6bc8954d499338ca3730d46221b0ce93feffa03fa7188ca9458a5102dcf90592b35004583b7a06af70f3d8ce7ff35515506366f327c68af
-Size (Werkzeug-0.15.6.tar.gz) = 926705 bytes
+SHA1 (Werkzeug-0.16.0.tar.gz) = d422fb58b25098bc5f1c73705a2112daef7bf3d8
+RMD160 (Werkzeug-0.16.0.tar.gz) = f6201a8dd0110666e4e51cabd38855323b5ee7c7
+SHA512 (Werkzeug-0.16.0.tar.gz) = cf36674621b9127824c2a1be60361f48138fd6dd80ae67feb450b5feef4177c57d0ffb1fe211bbd06e1689692547c32900abe468fb33e413b7b7c6e22af0463f
+Size (Werkzeug-0.16.0.tar.gz) = 925717 bytes



Home | Main Index | Thread Index | Old Index