# -*- 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-app-model
python.rootname     app_model
version             0.4.0
revision            0
categories          python
license             BSD
maintainers         {mps @Schamschula} openmaintainer
description         Generic application schema implemented in python.
long_description    {*}${description} This is a schema for declarative organization of \
                    application data, such as menus, keybindings, actions/commands, etc...
homepage            https://pypi.org/project/app-model/

supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  59ee6fde4739294d76da1e93af3da960c2565a7f \
                    sha256  ccf667999f6c659e921ca3490b6da176971e67cf2f41abc34e33caa8cfa18573 \
                    size    120529

python.versions     39 310 311 312 313

python.pep517_backend \
                    hatch

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

    depends_lib-append  \
                    port:py${python.version}-in-n-out \
                    port:py${python.version}-psygnal \
                    port:py${python.version}-pydantic \
                    port:py${python.version}-pydantic-compat \
                    port:py${python.version}-typing_extensions
}
