summaryrefslogtreecommitdiff
path: root/www/py-werkzeug
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-10-11 16:29:17 +0000
committeradam <adam@pkgsrc.org>2019-10-11 16:29:17 +0000
commitbe7aa6062010b1087b9a77be1d8ffedfaca47c3c (patch)
tree2382c844309846af793979b4d691875db44d28b7 /www/py-werkzeug
parent9705f20f8a99ce4f6f49d248e3383c66ed4f4711 (diff)
downloadpkgsrc-be7aa6062010b1087b9a77be1d8ffedfaca47c3c.tar.gz
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 (limited to 'www/py-werkzeug')
-rw-r--r--www/py-werkzeug/Makefile8
-rw-r--r--www/py-werkzeug/Makefile.common4
-rw-r--r--www/py-werkzeug/distinfo10
3 files changed, 11 insertions, 11 deletions
diff --git a/www/py-werkzeug/Makefile b/www/py-werkzeug/Makefile
index ed0396c0217..3e4c2693ccf 100644
--- a/www/py-werkzeug/Makefile
+++ b/www/py-werkzeug/Makefile
@@ -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/upload.py
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 @@ post-install:
${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 --git a/www/py-werkzeug/Makefile.common b/www/py-werkzeug/Makefile.common
index 8be5e063a72..a17b8e69468 100644
--- a/www/py-werkzeug/Makefile.common
+++ b/www/py-werkzeug/Makefile.common
@@ -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 --git a/www/py-werkzeug/distinfo b/www/py-werkzeug/distinfo
index ef3664f61c9..54989e43c78 100644
--- a/www/py-werkzeug/distinfo
+++ b/www/py-werkzeug/distinfo
@@ -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