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:           Fri Aug  5 11:44:30 UTC 2022

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

Log Message:
py-werkzeug: updated to 2.2.1

Version 2.2.1
-------------
-   Fix router so that ``/path/`` will match a rule ``/path`` if strict
    slashes mode is disabled for the rule.
-   Fix router so that partial part matches are not allowed
    i.e. ``/2df`` does not match ``/<int>``.
-   Fix router static part weighting, so that simpler routes are matched
    before more complex ones.
-   Restore ``ValidationError`` to be importable from
    ``werkzeug.routing``.

Version 2.2.0
-------------
-   Deprecated ``get_script_name``, ``get_query_string``,
    ``peek_path_info``, ``pop_path_info``, and
    ``extract_path_info``.
-   Remove previously deprecated code.
-   Add MarkupSafe as a dependency and use it to escape values when
    rendering HTML.
-   Added the ``werkzeug.debug.preserve_context`` mechanism for
    restoring context-local data for a request when running code in the
    debug console.
-   Fix compatibility with Python 3.11 by ensuring that ``end_lineno``
    and ``end_col_offset`` are present on AST nodes.
-   Add a new faster matching router based on a state
    machine.
-   Names within options headers are always converted to lowercase. This
    matches :rfc:`6266` that the case is not relevant.
-   ``AnyConverter`` validates the value passed for it when building
    URLs.
-   The debugger shows enhanced error locations in tracebacks in Python
    3.11.
-   Added Sans-IO ``is_resource_modified`` and ``parse_cookie`` functions
    based on WSGI versions.
-   Added Sans-IO ``get_content_length`` function.
-   Don't assume a mimetype for test responses.
-   Type checking ``FileStorage`` accepts ``os.PathLike``.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/www/py-werkzeug/Makefile
cvs rdiff -u -r1.28 -r1.29 pkgsrc/www/py-werkzeug/Makefile.common \
    pkgsrc/www/py-werkzeug/distinfo
cvs rdiff -u -r1.11 -r1.12 pkgsrc/www/py-werkzeug/PLIST

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.21 pkgsrc/www/py-werkzeug/Makefile:1.22
--- pkgsrc/www/py-werkzeug/Makefile:1.21        Fri Apr 29 13:36:19 2022
+++ pkgsrc/www/py-werkzeug/Makefile     Fri Aug  5 11:44:30 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2022/04/29 13:36:19 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2022/08/05 11:44:30 adam Exp $
 
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 
@@ -6,6 +6,7 @@ COMMENT=        Python WSGI Utility Library
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+DEPENDS+=      ${PYPKGPREFIX}-markupsafe>=2.1.1:../../textproc/py-markupsafe
 # optional
 #DEPENDS+=     ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
 #DEPENDS+=     ${PYPKGPREFIX}-greenlet-[0-9]*:../../devel/py-greenlet
@@ -34,8 +35,6 @@ post-install:
 
 TEST_ENV+=     PYTHONPATH=${WRKSRC}/build/lib
 
-# as of 2.1.2
-# 18 failed, 804 passed, 8 errors
 do-test:
        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 

Index: pkgsrc/www/py-werkzeug/Makefile.common
diff -u pkgsrc/www/py-werkzeug/Makefile.common:1.28 pkgsrc/www/py-werkzeug/Makefile.common:1.29
--- pkgsrc/www/py-werkzeug/Makefile.common:1.28 Fri Apr 29 13:36:19 2022
+++ pkgsrc/www/py-werkzeug/Makefile.common      Fri Aug  5 11:44:30 2022
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.28 2022/04/29 13:36:19 wiz Exp $
+# $NetBSD: Makefile.common,v 1.29 2022/08/05 11:44:30 adam Exp $
 #
 # used by www/py-werkzeug/Makefile
 # used by www/py-werkzeug-docs/Makefile
 
-DISTNAME=      Werkzeug-2.1.2
+DISTNAME=      Werkzeug-2.2.1
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=W/Werkzeug/}
 
Index: pkgsrc/www/py-werkzeug/distinfo
diff -u pkgsrc/www/py-werkzeug/distinfo:1.28 pkgsrc/www/py-werkzeug/distinfo:1.29
--- pkgsrc/www/py-werkzeug/distinfo:1.28        Fri Apr 29 13:36:19 2022
+++ pkgsrc/www/py-werkzeug/distinfo     Fri Aug  5 11:44:30 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.28 2022/04/29 13:36:19 wiz Exp $
+$NetBSD: distinfo,v 1.29 2022/08/05 11:44:30 adam Exp $
 
-BLAKE2s (Werkzeug-2.1.2.tar.gz) = 4ce382b58eb0eaa390db010a310317675cbd50f75ec8d05b88ce2fab4b0c1701
-SHA512 (Werkzeug-2.1.2.tar.gz) = 83c8f930c1166c2228ad4cdacfb150e39f6e4476960fb24ab44d6ee65eca34bfc211c9d45e895e031f0c387fbe4d5c6cae1d3d0fd6b5671aaace50306b9593ed
-Size (Werkzeug-2.1.2.tar.gz) = 835169 bytes
+BLAKE2s (Werkzeug-2.2.1.tar.gz) = 08bdad489a21cfbd6648858939742df308974628ad9d6bc497900a645cb2adac
+SHA512 (Werkzeug-2.2.1.tar.gz) = b5e483b036c08a49cd594ef255069fe4941e0ce9dfe7b43e140687655cb3bfe03b645e471f2f847bfd4f699925e1e0383b468865ac4fe81be5ed6ccf17f9921f
+Size (Werkzeug-2.2.1.tar.gz) = 838993 bytes

Index: pkgsrc/www/py-werkzeug/PLIST
diff -u pkgsrc/www/py-werkzeug/PLIST:1.11 pkgsrc/www/py-werkzeug/PLIST:1.12
--- pkgsrc/www/py-werkzeug/PLIST:1.11   Fri Apr 29 13:36:19 2022
+++ pkgsrc/www/py-werkzeug/PLIST        Fri Aug  5 11:44:30 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2022/04/29 13:36:19 wiz Exp $
+@comment $NetBSD: PLIST,v 1.12 2022/08/05 11:44:30 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -69,12 +69,30 @@ ${PYSITELIB}/werkzeug/middleware/shared_
 ${PYSITELIB}/werkzeug/middleware/shared_data.pyc
 ${PYSITELIB}/werkzeug/middleware/shared_data.pyo
 ${PYSITELIB}/werkzeug/py.typed
-${PYSITELIB}/werkzeug/routing.py
-${PYSITELIB}/werkzeug/routing.pyc
-${PYSITELIB}/werkzeug/routing.pyo
+${PYSITELIB}/werkzeug/routing/__init__.py
+${PYSITELIB}/werkzeug/routing/__init__.pyc
+${PYSITELIB}/werkzeug/routing/__init__.pyo
+${PYSITELIB}/werkzeug/routing/converters.py
+${PYSITELIB}/werkzeug/routing/converters.pyc
+${PYSITELIB}/werkzeug/routing/converters.pyo
+${PYSITELIB}/werkzeug/routing/exceptions.py
+${PYSITELIB}/werkzeug/routing/exceptions.pyc
+${PYSITELIB}/werkzeug/routing/exceptions.pyo
+${PYSITELIB}/werkzeug/routing/map.py
+${PYSITELIB}/werkzeug/routing/map.pyc
+${PYSITELIB}/werkzeug/routing/map.pyo
+${PYSITELIB}/werkzeug/routing/matcher.py
+${PYSITELIB}/werkzeug/routing/matcher.pyc
+${PYSITELIB}/werkzeug/routing/matcher.pyo
+${PYSITELIB}/werkzeug/routing/rules.py
+${PYSITELIB}/werkzeug/routing/rules.pyc
+${PYSITELIB}/werkzeug/routing/rules.pyo
 ${PYSITELIB}/werkzeug/sansio/__init__.py
 ${PYSITELIB}/werkzeug/sansio/__init__.pyc
 ${PYSITELIB}/werkzeug/sansio/__init__.pyo
+${PYSITELIB}/werkzeug/sansio/http.py
+${PYSITELIB}/werkzeug/sansio/http.pyc
+${PYSITELIB}/werkzeug/sansio/http.pyo
 ${PYSITELIB}/werkzeug/sansio/multipart.py
 ${PYSITELIB}/werkzeug/sansio/multipart.pyc
 ${PYSITELIB}/werkzeug/sansio/multipart.pyo



Home | Main Index | Thread Index | Old Index