# -*- 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.127.0
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  cf252d91326baa7bc1c3ba6a35dbad9b455b43db \
                    sha256  5a9246e03dcd1fdb19f1396db30894867c1d630f5107dc167dcbc5ed1ea7d259 \
                    size    369269

python.versions     310 311 312 313

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
}
