# -*- 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-in-n-out
python.rootname     in_n_out
version             0.2.1
revision            0

license             BSD
maintainers         {mps @Schamschula} openmaintainer
description         Python dependency injection you can taste.
long_description    A lightweight dependency injection and result processing framework \
                    for Python using type hints. Emphasis is on simplicity, ease of use, \
                    and minimal impact on source code.
supported_archs     noarch
platforms           {darwin any}
homepage            https://github.com/napari/in-n-out

checksums           rmd160  9d8c6d5a0ad8bcb639dae895aa034a34018fef22 \
                    sha256  43cde2b7de981d41a6d70618a2b7bd989481095922a53ead4dc75f2bbd5dffea \
                    size    26026

python.versions     310 311 312 313

if {${name} ne ${subport}} {
    python.pep517_backend \
                    hatch

    depends_build-append \
                   port:py${python.version}-hatch-vcs
}
