<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/744f0f83560c6124f2eb2ae013e6355df98fc179">https://github.com/macports/macports-ports/commit/744f0f83560c6124f2eb2ae013e6355df98fc179</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 744f0f83560 py-flask: update to 2.1.1
</span>744f0f83560 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 744f0f83560c6124f2eb2ae013e6355df98fc179
</span>Author: Kirill A. Korinsky <kirill@korins.ky>
AuthorDate: Sun Apr 24 20:19:49 2022 +0200
<span style='display:block; white-space:pre;color:#404040;'> py-flask: update to 2.1.1
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Also drop support of python 3.5 and 3.6 which can't be used because it
</span><span style='display:block; white-space:pre;color:#404040;'> hasn't got supported by py-werkzeug.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/64158
</span>---
python/py-flask/Portfile | 40 ++++++++++++++++++++++++++++++----------
1 file changed, 30 insertions(+), 10 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-flask/Portfile b/python/py-flask/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f7aa02caf14..3b99d1d1abf 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-flask/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-flask/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,16 +4,16 @@ PortSystem 1.0
</span> PortGroup python 1.0
name py-flask
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.0.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.1.1
</span> revision 0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 ca31637de5c5bbb1d514a62a2946ef27de9899eb \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 7b2fb8e934ddd50731893bdcdb00fc8c0315916f9fcd50d22c7cc1a95ab634e2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 628479
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 8f419a29ea56e60d989f8a36f557746df5534233 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 a8c9bd3e558ec99646d177a9739c41df1ded0629480b4c8d2975412f3c9519c8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 630996
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27 35 36 37 38 39 310
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 37 38 39 310
</span> platforms darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {@catap korins.ky:kirill} openmaintainer
</span> license BSD
supported_archs noarch
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,6 +26,16 @@ master_sites pypi:F/Flask/
</span> default distname {Flask-${version}}
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # The last supported version for 27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # See: https://github.com/pallets/flask/blob/main/CHANGES.rst#version-200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${python.version} <= 27} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 1.1.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 03b23def022b1cf6afdcae01cb840f4623288c43 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 0fbeb6180d383a9186d0d6ed954e0042ad9f18e0e8de088b2b419d526927d196 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 635920
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_build-append port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-jinja2 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,9 +43,19 @@ if {${name} ne ${subport}} {
</span> port:py${python.version}-itsdangerous \
port:py${python.version}-click
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${python.version} < 310} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:py${python.version}-importlib-metadata
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_test-append port:py${python.version}-pytest
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # test before 2.x requires missed py-pathlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${python.version} > 27} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.cmd py.test-${python.branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.target tests
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.env PYTHONPATH=${build.dir}/build/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.type none
<span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.url https://pypi.python.org/pypi/Flask/json
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.regex {Flask-(\d+(?:\.\d+)*)\.[tz]}
</span> }
</pre><pre style='margin:0'>
</pre>