# -*- 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-falcon
version             3.0.1
revision            1
categories-append   devel
license             Apache-2

python.versions     38 39

maintainers         nomaintainer

description         An unladen web framework for building APIs and app backends.

long_description    Falcon is a reliable, high-performance Python web \
                    framework for building large-scale app backends \
                    and microservices. It encourages the REST \
                    architectural style, and tries to do as little as \
                    possible while remaining highly effective.

homepage            https://falconframework.org/

checksums           rmd160  3603babac259c722e9cc78dd739b4923443929c4 \
                    sha256  c41d84db325881a870e8b7129d5ecfd972fa4323cf77b7119a1d2a21966ee681 \
                    size    637593

if {${name} ne ${subport}} {
    depends_build-append    port:py${python.version}-cython

    depends_lib-append \
                    port:py${python.version}-setuptools

    depends_test-append \
                    port:py${python.version}-cbor2 \
                    port:py${python.version}-httpx \
                    port:py${python.version}-mimeparse \
                    port:py${python.version}-mujson \
                    port:py${python.version}-pytest \
                    port:py${python.version}-pytest-runner \
                    port:py${python.version}-requests \
                    port:py${python.version}-testtools \
                    port:py${python.version}-ujson \
                    port:py${python.version}-websockets \
                    port:py${python.version}-yaml

    test.run        yes
}
