pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-flask



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri May  5 11:47:38 UTC 2023

Modified Files:
        pkgsrc/www/py-flask: Makefile PLIST distinfo

Log Message:
py-flask: update to 2.3.1.

Version 2.3.1
-------------

Released 2023-04-25

-   Restore deprecated ``from flask import Markup``. :issue:`5084`

Version 2.3.0
-------------

Released 2023-04-25

-   Drop support for Python 3.7. :pr:`5072`
-   Update minimum requirements to the latest versions: Werkzeug>=2.3.0, Jinja2>3.1.2,
    itsdangerous>=2.1.2, click>=8.1.3.
-   Remove previously deprecated code. :pr:`4995`

    -   The ``push`` and ``pop`` methods of the deprecated ``_app_ctx_stack`` and
        ``_request_ctx_stack`` objects are removed. ``top`` still exists to give
        extensions more time to update, but it will be removed.
    -   The ``FLASK_ENV`` environment variable, ``ENV`` config key, and ``app.env``
        property are removed.
    -   The ``session_cookie_name``, ``send_file_max_age_default``, ``use_x_sendfile``,
        ``propagate_exceptions``, and ``templates_auto_reload`` properties on ``app``
        are removed.
    -   The ``JSON_AS_ASCII``, ``JSON_SORT_KEYS``, ``JSONIFY_MIMETYPE``, and
        ``JSONIFY_PRETTYPRINT_REGULAR`` config keys are removed.
    -   The ``app.before_first_request`` and ``bp.before_app_first_request`` decorators
        are removed.
    -   ``json_encoder`` and ``json_decoder`` attributes on app and blueprint, and the
        corresponding ``json.JSONEncoder`` and ``JSONDecoder`` classes, are removed.
    -   The ``json.htmlsafe_dumps`` and ``htmlsafe_dump`` functions are removed.
    -   Calling setup methods on blueprints after registration is an error instead of a
        warning. :pr:`4997`

-   Importing ``escape`` and ``Markup`` from ``flask`` is deprecated. Import them
    directly from ``markupsafe`` instead. :pr:`4996`
-   The ``app.got_first_request`` property is deprecated. :pr:`4997`
-   The ``locked_cached_property`` decorator is deprecated. Use a lock inside the
    decorated function if locking is needed. :issue:`4993`
-   Signals are always available. ``blinker>=1.6.2`` is a required dependency. The
    ``signals_available`` attribute is deprecated. :issue:`5056`
-   Signals support ``async`` subscriber functions. :pr:`5049`
-   Remove uses of locks that could cause requests to block each other very briefly.
    :issue:`4993`
-   Use modern packaging metadata with ``pyproject.toml`` instead of ``setup.cfg``.
    :pr:`4947`
-   Ensure subdomains are applied with nested blueprints. :issue:`4834`
-   ``config.from_file`` can use ``text=False`` to indicate that the parser wants a
    binary file instead. :issue:`4989`
-   If a blueprint is created with an empty name it raises a ``ValueError``.
    :issue:`5010`
-   ``SESSION_COOKIE_DOMAIN`` does not fall back to ``SERVER_NAME``. The default is not
    to set the domain, which modern browsers interpret as an exact match rather than
    a subdomain match. Warnings about ``localhost`` and IP addresses are also removed.
    :issue:`5051`
-   The ``routes`` command shows each rule's ``subdomain`` or ``host`` when domain
    matching is in use. :issue:`5004`
-   Use postponed evaluation of annotations. :pr:`5071`

Version 2.2.4
-------------

Released 2023-04-25

-   Update for compatibility with Werkzeug 2.3.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/www/py-flask/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/py-flask/PLIST
cvs rdiff -u -r1.17 -r1.18 pkgsrc/www/py-flask/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-flask/Makefile
diff -u pkgsrc/www/py-flask/Makefile:1.28 pkgsrc/www/py-flask/Makefile:1.29
--- pkgsrc/www/py-flask/Makefile:1.28   Wed Mar 29 09:34:15 2023
+++ pkgsrc/www/py-flask/Makefile        Fri May  5 11:47:38 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.28 2023/03/29 09:34:15 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2023/05/05 11:47:38 wiz Exp $
 
-DISTNAME=      Flask-2.2.3
+DISTNAME=      Flask-2.3.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=F/Flask/}
@@ -10,13 +10,16 @@ HOMEPAGE=   http://flask.pocoo.org/
 COMMENT=       Python web microframework
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-itsdangerous>=2.0:../../security/py-itsdangerous
-DEPENDS+=      ${PYPKGPREFIX}-click>=8.0:../../devel/py-click
-DEPENDS+=      ${PYPKGPREFIX}-jinja2>=3.0:../../textproc/py-jinja2
-DEPENDS+=      ${PYPKGPREFIX}-werkzeug>=2.2.2:../../www/py-werkzeug
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
+DEPENDS+=      ${PYPKGPREFIX}-blinker>=1.6.2:../../devel/py-blinker
+DEPENDS+=      ${PYPKGPREFIX}-itsdangerous>=2.1.2:../../security/py-itsdangerous
+DEPENDS+=      ${PYPKGPREFIX}-click>=8.1.3:../../devel/py-click
+DEPENDS+=      ${PYPKGPREFIX}-jinja2>=3.1.2:../../textproc/py-jinja2
+DEPENDS+=      ${PYPKGPREFIX}-werkzeug>=2.3.0:../../www/py-werkzeug
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
+PYTHON_VERSIONS_INCOMPATIBLE=  27 37
 
 .include "../../lang/python/pyversion.mk"
 
@@ -24,18 +27,15 @@ PYTHON_VERSIONS_INCOMPATIBLE=       27
 DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata>=3.6.0:../../devel/py-importlib-metadata
 .endif
 
-USE_PKG_RESOURCES=     yes
-
 USE_LANGUAGES= # none
 
-TEST_ENV+=     PYTHONPATH=${WRKSRC}/build/lib
-
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} flask flask-${PYVERSSUFFIX} || ${TRUE}
 
+TEST_ENV+=     PYTHONPATH=${WRKSRC}/build/lib
 do-test:
        cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-flask/PLIST
diff -u pkgsrc/www/py-flask/PLIST:1.8 pkgsrc/www/py-flask/PLIST:1.9
--- pkgsrc/www/py-flask/PLIST:1.8       Fri Aug  5 11:46:37 2022
+++ pkgsrc/www/py-flask/PLIST   Fri May  5 11:47:38 2023
@@ -1,75 +1,56 @@
-@comment $NetBSD: PLIST,v 1.8 2022/08/05 11:46:37 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2023/05/05 11:47:38 wiz Exp $
 bin/flask-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.rst
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/flask/__init__.py
 ${PYSITELIB}/flask/__init__.pyc
-${PYSITELIB}/flask/__init__.pyo
 ${PYSITELIB}/flask/__main__.py
 ${PYSITELIB}/flask/__main__.pyc
-${PYSITELIB}/flask/__main__.pyo
 ${PYSITELIB}/flask/app.py
 ${PYSITELIB}/flask/app.pyc
-${PYSITELIB}/flask/app.pyo
 ${PYSITELIB}/flask/blueprints.py
 ${PYSITELIB}/flask/blueprints.pyc
-${PYSITELIB}/flask/blueprints.pyo
 ${PYSITELIB}/flask/cli.py
 ${PYSITELIB}/flask/cli.pyc
-${PYSITELIB}/flask/cli.pyo
 ${PYSITELIB}/flask/config.py
 ${PYSITELIB}/flask/config.pyc
-${PYSITELIB}/flask/config.pyo
 ${PYSITELIB}/flask/ctx.py
 ${PYSITELIB}/flask/ctx.pyc
-${PYSITELIB}/flask/ctx.pyo
 ${PYSITELIB}/flask/debughelpers.py
 ${PYSITELIB}/flask/debughelpers.pyc
-${PYSITELIB}/flask/debughelpers.pyo
 ${PYSITELIB}/flask/globals.py
 ${PYSITELIB}/flask/globals.pyc
-${PYSITELIB}/flask/globals.pyo
 ${PYSITELIB}/flask/helpers.py
 ${PYSITELIB}/flask/helpers.pyc
-${PYSITELIB}/flask/helpers.pyo
 ${PYSITELIB}/flask/json/__init__.py
 ${PYSITELIB}/flask/json/__init__.pyc
-${PYSITELIB}/flask/json/__init__.pyo
 ${PYSITELIB}/flask/json/provider.py
 ${PYSITELIB}/flask/json/provider.pyc
-${PYSITELIB}/flask/json/provider.pyo
 ${PYSITELIB}/flask/json/tag.py
 ${PYSITELIB}/flask/json/tag.pyc
-${PYSITELIB}/flask/json/tag.pyo
 ${PYSITELIB}/flask/logging.py
 ${PYSITELIB}/flask/logging.pyc
-${PYSITELIB}/flask/logging.pyo
 ${PYSITELIB}/flask/py.typed
 ${PYSITELIB}/flask/scaffold.py
 ${PYSITELIB}/flask/scaffold.pyc
-${PYSITELIB}/flask/scaffold.pyo
 ${PYSITELIB}/flask/sessions.py
 ${PYSITELIB}/flask/sessions.pyc
-${PYSITELIB}/flask/sessions.pyo
 ${PYSITELIB}/flask/signals.py
 ${PYSITELIB}/flask/signals.pyc
-${PYSITELIB}/flask/signals.pyo
 ${PYSITELIB}/flask/templating.py
 ${PYSITELIB}/flask/templating.pyc
-${PYSITELIB}/flask/templating.pyo
 ${PYSITELIB}/flask/testing.py
 ${PYSITELIB}/flask/testing.pyc
-${PYSITELIB}/flask/testing.pyo
 ${PYSITELIB}/flask/typing.py
 ${PYSITELIB}/flask/typing.pyc
-${PYSITELIB}/flask/typing.pyo
 ${PYSITELIB}/flask/views.py
 ${PYSITELIB}/flask/views.pyc
-${PYSITELIB}/flask/views.pyo
 ${PYSITELIB}/flask/wrappers.py
 ${PYSITELIB}/flask/wrappers.pyc
-${PYSITELIB}/flask/wrappers.pyo

Index: pkgsrc/www/py-flask/distinfo
diff -u pkgsrc/www/py-flask/distinfo:1.17 pkgsrc/www/py-flask/distinfo:1.18
--- pkgsrc/www/py-flask/distinfo:1.17   Thu Mar  2 12:42:47 2023
+++ pkgsrc/www/py-flask/distinfo        Fri May  5 11:47:38 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.17 2023/03/02 12:42:47 adam Exp $
+$NetBSD: distinfo,v 1.18 2023/05/05 11:47:38 wiz Exp $
 
-BLAKE2s (Flask-2.2.3.tar.gz) = dd6d238627bc584ab6ecc9db4e4d49a5bdb7f6e235f5e63e0d91d61e624f3c26
-SHA512 (Flask-2.2.3.tar.gz) = de119d032b04eef80a99cee9658cac12f934e9a66d7dbb8304588d0c1320a8a19a8b0a78f69134a20ca26aa408db8686436c5c108ecc39e16b1eca1a3dea2d2c
-Size (Flask-2.2.3.tar.gz) = 697599 bytes
+BLAKE2s (Flask-2.3.1.tar.gz) = bd93f8b99d25cf331190b6385c68cba47899e316d54666b3ab52d6742040fee7
+SHA512 (Flask-2.3.1.tar.gz) = 371d85a9af74484d7d77dab1747f9d331e797fa2bfeb3f2c72aa679091852efa505c56f37c197d7cb2f02a77a6e88ec2f1ee8efe35fc65d2c23afe5b24d6f4db
+Size (Flask-2.3.1.tar.gz) = 686211 bytes



Home | Main Index | Thread Index | Old Index