# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup python 1.0 name py-flask version 3.0.0 revision 0 checksums rmd160 8baa51db4fc5d826c6ee775bbe893115790e34a9 \ sha256 cfadcdb638b609361d29ec22360d6070a77d7463dcb3ab08d2c2f2f168845f58 \ size 674171 python.versions 27 37 38 39 310 311 312 platforms {darwin any} maintainers nomaintainer license BSD supported_archs noarch description microframework for Python based on Werkzeug and Jinja2 long_description Flask is a {*}${description}, intended for small-scale applications homepage https://palletsprojects.com/p/flask/ python.pep517 yes python.pep517_backend \ flit if {${name} ne ${subport}} { # The last supported version for 37 # See: https://github.com/pallets/flask/blob/main/CHANGES.rst#version-230 if {${python.version} == 37} { python.rootname Flask version 2.2.4 revision 0 checksums rmd160 292144499de5f1a7d409c1646b61cb5010fc2922 \ sha256 77504c4c097f56ac5f29b00f9009213010cf9d2923a288c0e0564a5db2bb53d6 \ size 697568 python.pep517_backend setuptools } # The last supported version for 27 # See: https://github.com/pallets/flask/blob/main/CHANGES.rst#version-200 if {${python.version} == 27} { python.rootname Flask version 1.1.4 revision 0 checksums rmd160 03b23def022b1cf6afdcae01cb840f4623288c43 \ sha256 0fbeb6180d383a9186d0d6ed954e0042ad9f18e0e8de088b2b419d526927d196 \ size 635920 python.pep517 no depends_build-append \ port:py${python.version}-setuptools } depends_lib-append port:py${python.version}-jinja2 \ port:py${python.version}-werkzeug \ port:py${python.version}-itsdangerous \ port:py${python.version}-click if {${python.version} > 37} { depends_lib-append port:py${python.version}-blinker } if {${python.version} < 310} { depends_lib-append port:py${python.version}-importlib-metadata } # test before 2.x requires missed py-pathlib if {${python.version} > 27} { test.run yes } if {${python.version} > 37} { patchfiles-append disable-failing-tests.diff test.env-append PYTHONPATH=${worksrcpath}/src } livecheck.type none }