# -*- 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.16.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  3f4c9f19e22e7791321f91fb86f2c108c0bb6429 \
                    sha256  eb1acb3115bc0b356b450ad23256873b58311b357a49625a8fe0cbaba2db509b \
                    size    153827

python.versions     310 311 312 313 314

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
}
