# -*- 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-soco
version             0.30.10
revision            0

platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         nomaintainer

description         SoCo (Sonos Controller) is a simple library to control Sonos speakers.
long_description    {*}${description}

homepage            https://github.com/SoCo/SoCo

checksums           rmd160  4cd6a8798969a312d5b0bed48a8a7f2211e30db6 \
                    sha256  a9c8ddb53836d18a0bbb881224cc6818e1ef1b28791637378ab25ff1eb1a87c3 \
                    size    733717

python.versions     39 310 311 312 313

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-appdirs \
                    port:py${python.version}-ifaddr \
                    port:py${python.version}-lxml \
                    port:py${python.version}-requests \
                    port:py${python.version}-xmltodict

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

    test.run        yes
    test.args-append \
                    -m 'not integration'
}
