# -*- 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             26.3.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  fae9b7ae2ee5e325163dcc09dd005f9074751e97 \
                    sha256  15f0ea5ff6fcc5587b6b11a4a436fdeefd0fd4a46afe92d4e483c28370082ae0 \
                    size    216754

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
}
