# -*- 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.1
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  849fed2a088d09e2a5680191ec008d6c0da0cc03 \
                    sha256  5623e7ba9d8244a67fdbe803f7c6cf48e544a128da9ed1745236307fe33cc9d8 \
                    size    120500

python.versions     310 311 312 313 314

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
}
