# -*- 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.15.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  577a58729c2faea37461e2f34ca21d07b4ecf1af \
                    sha256  fd8e668deaec997a3feade5edd37be059a53e4cbc14fb006097667502ef7ed4d \
                    size    153903

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
}
