# -*- 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             25.12.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  dac6dfa07d868d4c5807ed9942d8212fc6e62437 \
                    sha256  d38a149c5f95bb0d529c3b5e5fa3200b26f5e938ec7c31d8bb01d87c1f634410 \
                    size    193698

python.versions     310 311 312 313 314

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
}
