# -*- 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.5.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  954b92182eaeba7f5a47b65b379a450cdbdb53ad \
                    sha256  fa329cf7b730572cce3daeac6678bbeaf1cf0a7dd485bf2c666b5508d54c8d0f \
                    size    120463

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}-typing_extensions
}
