pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-werkzeug



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Apr 18 07:37:33 UTC 2018

Modified Files:
        pkgsrc/www/py-werkzeug: Makefile Makefile.common PLIST distinfo

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


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/www/py-werkzeug/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/www/py-werkzeug/Makefile.common
cvs rdiff -u -r1.7 -r1.8 pkgsrc/www/py-werkzeug/PLIST
cvs rdiff -u -r1.17 -r1.18 pkgsrc/www/py-werkzeug/distinfo

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

Modified files:

Index: pkgsrc/www/py-werkzeug/Makefile
diff -u pkgsrc/www/py-werkzeug/Makefile:1.13 pkgsrc/www/py-werkzeug/Makefile:1.14
--- pkgsrc/www/py-werkzeug/Makefile:1.13        Thu Aug 10 07:14:27 2017
+++ pkgsrc/www/py-werkzeug/Makefile     Wed Apr 18 07:37:33 2018
@@ -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"

Index: pkgsrc/www/py-werkzeug/Makefile.common
diff -u pkgsrc/www/py-werkzeug/Makefile.common:1.18 pkgsrc/www/py-werkzeug/Makefile.common:1.19
--- pkgsrc/www/py-werkzeug/Makefile.common:1.18 Wed May 31 08:24:38 2017
+++ pkgsrc/www/py-werkzeug/Makefile.common      Wed Apr 18 07:37:33 2018
@@ -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

Index: pkgsrc/www/py-werkzeug/PLIST
diff -u pkgsrc/www/py-werkzeug/PLIST:1.7 pkgsrc/www/py-werkzeug/PLIST:1.8
--- pkgsrc/www/py-werkzeug/PLIST:1.7    Wed May 31 08:24:38 2017
+++ pkgsrc/www/py-werkzeug/PLIST        Wed Apr 18 07:37:33 2018
@@ -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

Index: pkgsrc/www/py-werkzeug/distinfo
diff -u pkgsrc/www/py-werkzeug/distinfo:1.17 pkgsrc/www/py-werkzeug/distinfo:1.18
--- pkgsrc/www/py-werkzeug/distinfo:1.17        Wed May 31 08:24:38 2017
+++ pkgsrc/www/py-werkzeug/distinfo     Wed Apr 18 07:37:33 2018
@@ -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