# -*- 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                pyinfra
version             3.6
revision            0

homepage            https://pyinfra.com

description         pyinfra automates infrastructure super fast at massive \
                    scale.

long_description    {*}${description}  It can be used for ad-hoc command \
                    execution, service deployment, configuration management \
                    and more. Core design features include super fast \
                    execution over thousands of hosts with predictable \
                    performance, agentless execution against \
                    SSH/Docker/subprocess/winrm hosts, extendable with any \
                    Python package as configured & written in standard \
                    Python, and integrated with Docker, Vagrant/Mech & \
                    Ansible out of the box.

categories          sysutils python
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer
supported_archs     noarch
platforms           {darwin any}

checksums           rmd160  ed5e8fe49be3690191a331d6e8a23d3707b935d7 \
                    sha256  4ce84ec94c8d8915eaad108f183aa4eabf58687679f14f78aad44414bc79a4cd \
                    size    493500

python.default_version  314
python.pep517_backend   hatch

depends_build-append \
                    port:py${python.version}-uv-dynamic-versioning

depends_run-append  port:py${python.version}-click          \
                    port:py${python.version}-dateutil       \
                    port:py${python.version}-distro         \
                    port:py${python.version}-gevent         \
                    port:py${python.version}-jinja2         \
                    port:py${python.version}-packaging      \
                    port:py${python.version}-paramiko       \
                    port:py${python.version}-pydantic       \
                    port:py${python.version}-typeguard

test.run            yes
python.test_framework

test.cmd            ${python.bin}
test.pre_args       -m ${name}
test.args           --help
