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.14.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1a7182bee489
branches:  trunk
changeset: 378977:1a7182bee489
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Apr 18 07:37:33 2018 +0000

description:
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:

 www/py-werkzeug/Makefile        |   7 +++++--
 www/py-werkzeug/Makefile.common |  10 +++++-----
 www/py-werkzeug/PLIST           |   8 ++++----
 www/py-werkzeug/distinfo        |  10 +++++-----
 4 files changed, 19 insertions(+), 16 deletions(-)

diffs (97 lines):

diff -r 8ea41e2f3b59 -r 1a7182bee489 www/py-werkzeug/Makefile
--- a/www/py-werkzeug/Makefile  Wed Apr 18 07:31:02 2018 +0000
+++ b/www/py-werkzeug/Makefile  Wed Apr 18 07:37:33 2018 +0000
@@ -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 @@
        ${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 8ea41e2f3b59 -r 1a7182bee489 www/py-werkzeug/Makefile.common
--- a/www/py-werkzeug/Makefile.common   Wed Apr 18 07:31:02 2018 +0000
+++ b/www/py-werkzeug/Makefile.common   Wed Apr 18 07:37:33 2018 +0000
@@ -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@localhost
+MAINTAINER?=   kleink%NetBSD.org@localhost
 HOMEPAGE=      http://werkzeug.pocoo.org/
 LICENSE=       modified-bsd
 
-USE_LANGUAGES=         # none
-USE_TOOLS+=            pax
+USE_LANGUAGES= # none
+USE_TOOLS+=    pax
diff -r 8ea41e2f3b59 -r 1a7182bee489 www/py-werkzeug/PLIST
--- a/www/py-werkzeug/PLIST     Wed Apr 18 07:31:02 2018 +0000
+++ b/www/py-werkzeug/PLIST     Wed Apr 18 07:37:33 2018 +0000
@@ -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/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/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 -r 8ea41e2f3b59 -r 1a7182bee489 www/py-werkzeug/distinfo
--- a/www/py-werkzeug/distinfo  Wed Apr 18 07:31:02 2018 +0000
+++ b/www/py-werkzeug/distinfo  Wed Apr 18 07:37:33 2018 +0000
@@ -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



Home | Main Index | Thread Index | Old Index