# -*- 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-ansible-compat
version             24.10.0
revision            0

platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         {judaew @judaew} openmaintainer

description         \
    Functions that help interacting with various versions of Ansible
long_description    {*}${description}

homepage            https://pypi.python.org/pypi/ansible-compat
distname            ansible_compat-${version}

checksums           rmd160  d7f02c83fade368c757f9144dc4bbd5a87a9a5a4 \
                    sha256  0ad873e0dae8b2de79bc33ced813d6c92c716c4d7b82f9a4693e1fd57f43776e \
                    size    81818

python.versions     39 310 311 312 313

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-setuptools \
                        port:py${python.version}-setuptools_scm \
                        port:py${python.version}-setuptools_scm_git_archive \
                        port:py${python.version}-wheel

    depends_run-append  port:py${python.version}-jsonschema \
                        port:py${python.version}-packaging \
                        port:py${python.version}-subprocess-tee \
                        port:py${python.version}-yaml

    livecheck.type      none
}
