# -*- 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-hcloud
version             2.9.0
revision            0

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

description         ${name} is a library for the Hetzner Cloud API.
long_description    {*}${description}
homepage            https://github.com/hetznercloud/hcloud-python

checksums           rmd160  bbe594804405f0cd2070aee728b3c1ffe19bc560 \
                    sha256  32462fa2351ddb47a1a6ceb084d70c8358518224e44b4e0197f2e5c0f67ad8ef \
                    size    136593

python.versions     39 310 311 312 313

if {${name} ne ${subport}} {
    depends_run-append \
                    port:py${python.version}-dateutil \
                    port:py${python.version}-future \
                    port:py${python.version}-requests

    depends_test-append \
                    port:py${python.version}-mock

    test.run        yes
}
