# -*- 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-fastapi
version             0.136.3
revision            0

categories-append   devel
license             MIT
maintainers         nomaintainer
supported_archs     noarch
platforms           {darwin any}

description         FastAPI framework, high performance, easy to learn, \
                    fast to code, ready for production
long_description    FastAPI is a modern, fast (high-performance), web \
                    framework for building APIs with Python 3.6+ based \
                    on standard Python type hints.

homepage            https://github.com/fastapi/fastapi

checksums           rmd160  a3c141faa4048db6223fa8fe0e2ad6ea0419d926 \
                    sha256  e487fae93ad408e6f47641ee4dfe389864fd7bec92e547ea8498fc13f43e83ab \
                    size    396410

python.versions     310 311 312 313 314

python.pep517_backend pdm

if {${name} ne ${subport}} {
    depends_run-append \
                    port:py${python.version}-starlette \
                    port:py${python.version}-pydantic \
                    port:py${python.version}-typing_extensions \
                    port:py${python.version}-typing-inspection \
                    port:py${python.version}-annotated-doc
}
