# -*- 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.13.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  5fb9da9ebc64baa6a3dc8634416ebdef56ea3adb \
                    sha256  974b22a36c347e113ff8b25abd2cd3868011288485192b562729dba6b22375e1 \
                    size    153639

python.versions     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
}
