summaryrefslogtreecommitdiff
path: root/www/py-werkzeug
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-04-18 07:37:33 +0000
committeradam <adam@pkgsrc.org>2018-04-18 07:37:33 +0000
commit999b317898a7037fb8bd0dbd45cc0407a89185ba (patch)
tree32cca8fc8a6758780aef2f1e36de646d2b77c25f /www/py-werkzeug
parent661972f70819f3de06741becc12d4ae5bbee71d8 (diff)
downloadpkgsrc-999b317898a7037fb8bd0dbd45cc0407a89185ba.tar.gz
py-werkzeug: updated to 0.14.1
Version 0.14.1 Resolved a regression with status code handling in the integrated development server. Version 0.14 HTTP exceptions are now automatically caught by Request.application. Added support for edge as browser. Added support for platforms that lack SpooledTemporaryFile. Add support for etag handling through if-match Added support for the SameSite cookie attribute. Added werkzeug.wsgi.ProxyMiddleware Implemented has for NullCache get_multi on cache clients now returns lists all the time. Improved the watchdog observer shutdown for the reloader to not crash on exit on older Python versions. Added support for filename* filename attributes according to RFC 2231 Resolved an issue where machine ID for the reloader PIN was not read accurately on windows. Added a workaround for syntax errors in init files in the reloader. Added support for using the reloader with console scripts on windows. The built-in HTTP server will no longer close a connection in cases where no HTTP body is expected (204, 204, HEAD requests etc.) The EnvironHeaders object now skips over empty content type and lengths if they are set to falsy values. Werkzeug will no longer send the content-length header on 1xx or 204/304 responses. Cookie values are now also permitted to include slashes and equal signs without quoting. Relaxed the regex for the routing converter arguments. If cookies are sent without values they are now assumed to have an empty value and the parser accepts this. Previously this could have corrupted cookies that followed the value. The test Client and EnvironBuilder now support mimetypes like the request object does. Added support for static weights in URL rules. Better handle some more complex reloader scenarios where sys.path contained non directory paths. EnvironHeaders no longer raises weird errors if non string keys are passed to it.
Diffstat (limited to 'www/py-werkzeug')
-rw-r--r--www/py-werkzeug/Makefile7
-rw-r--r--www/py-werkzeug/Makefile.common10
-rw-r--r--www/py-werkzeug/PLIST8
-rw-r--r--www/py-werkzeug/distinfo10
4 files changed, 19 insertions, 16 deletions
diff --git a/www/py-werkzeug/Makefile b/www/py-werkzeug/Makefile
index 1a3a76850dc..6fa4decba64 100644
--- a/www/py-werkzeug/Makefile
+++ b/www/py-werkzeug/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.13 2017/08/10 07:14:27 jperkin Exp $
+# $NetBSD: Makefile,v 1.14 2018/04/18 07:37:33 adam Exp $
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
COMMENT= Python WSGI Utility Library
-BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
REPLACE_PYTHON= examples/cookieauth.py
REPLACE_PYTHON+= examples/manage-coolmagic.py
@@ -40,6 +40,9 @@ 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 34a59d1f4d2..9ae72c6888c 100644
--- a/www/py-werkzeug/Makefile.common
+++ b/www/py-werkzeug/Makefile.common
@@ -1,17 +1,17 @@
-# $NetBSD: Makefile.common,v 1.18 2017/05/31 08:24:38 adam Exp $
+# $NetBSD: Makefile.common,v 1.19 2018/04/18 07:37:33 adam Exp $
# used by www/py-werkzeug/Makefile
# used by www/py-werkzeug-docs/Makefile
-DISTNAME= Werkzeug-0.12.2
+DISTNAME= Werkzeug-0.14.1
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=W/Werkzeug/}
DISTINFO_FILE= ${.CURDIR}/../../www/py-werkzeug/distinfo
PATCHDIR= ${.CURDIR}/../../www/py-werkzeug/patches
-MAINTAINER= kleink@NetBSD.org
+MAINTAINER?= kleink@NetBSD.org
HOMEPAGE= http://werkzeug.pocoo.org/
LICENSE= modified-bsd
-USE_LANGUAGES= # none
-USE_TOOLS+= pax
+USE_LANGUAGES= # none
+USE_TOOLS+= pax
diff --git a/www/py-werkzeug/PLIST b/www/py-werkzeug/PLIST
index ec234878059..e10bd74d3fe 100644
--- a/www/py-werkzeug/PLIST
+++ b/www/py-werkzeug/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2017/05/31 08:24:38 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2018/04/18 07:37:33 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -101,9 +101,6 @@ ${PYSITELIB}/werkzeug/posixemulation.pyo
${PYSITELIB}/werkzeug/routing.py
${PYSITELIB}/werkzeug/routing.pyc
${PYSITELIB}/werkzeug/routing.pyo
-${PYSITELIB}/werkzeug/script.py
-${PYSITELIB}/werkzeug/script.pyc
-${PYSITELIB}/werkzeug/script.pyo
${PYSITELIB}/werkzeug/security.py
${PYSITELIB}/werkzeug/security.pyc
${PYSITELIB}/werkzeug/security.pyo
@@ -125,6 +122,9 @@ ${PYSITELIB}/werkzeug/useragents.pyo
${PYSITELIB}/werkzeug/utils.py
${PYSITELIB}/werkzeug/utils.pyc
${PYSITELIB}/werkzeug/utils.pyo
+${PYSITELIB}/werkzeug/websocket.py
+${PYSITELIB}/werkzeug/websocket.pyc
+${PYSITELIB}/werkzeug/websocket.pyo
${PYSITELIB}/werkzeug/wrappers.py
${PYSITELIB}/werkzeug/wrappers.pyc
${PYSITELIB}/werkzeug/wrappers.pyo
diff --git a/www/py-werkzeug/distinfo b/www/py-werkzeug/distinfo
index 1b1d0b8a3ff..1a5e4899f75 100644
--- a/www/py-werkzeug/distinfo
+++ b/www/py-werkzeug/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.17 2017/05/31 08:24:38 adam Exp $
+$NetBSD: distinfo,v 1.18 2018/04/18 07:37:33 adam Exp $
-SHA1 (Werkzeug-0.12.2.tar.gz) = fe5c3e287ae54cfefc25fd3eec800599b8026b49
-RMD160 (Werkzeug-0.12.2.tar.gz) = 939a81e6857500b8627c39e0994256a754b443c9
-SHA512 (Werkzeug-0.12.2.tar.gz) = 9ff45aeb51a71fd5115e8cdee40a7b2fddfa0574c356686050cb1bdced5c6c18f672b601ca2637010c7f59be75c66ee558efb4ea05052c550ec7da3644b88e0a
-Size (Werkzeug-0.12.2.tar.gz) = 1169770 bytes
+SHA1 (Werkzeug-0.14.1.tar.gz) = 4b979fb960c5b5507ccb8a705931fa217013483d
+RMD160 (Werkzeug-0.14.1.tar.gz) = 4bbd15a8b0a228c24b4876a15242e5fac7f17ea7
+SHA512 (Werkzeug-0.14.1.tar.gz) = 64976cc46c1cee2203112c50aba6f9404d4e48d4a90f8b11837148b5415a28572b7e706095586045a46879e853fc5a80c63e7bf0c13eda29d564a37b4a554c0b
+Size (Werkzeug-0.14.1.tar.gz) = 1185546 bytes
SHA1 (patch-docs_conf.py) = bdf45da4ba350a35e423f447eb8dc778670ada21