# -*- 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-pylast
version             5.3.0
revision            0
platforms           {darwin any}
license             BSD
maintainers         nomaintainer
description         Python interface to Last.fm and Libre.fm
long_description    {*}${description}
supported_archs     noarch
homepage            https://github.com/pylast/pylast
checksums           rmd160  b103469da02b3d99b5f6ad735b3c469756584c76 \
                    sha256  637943b1b0e6045dd85ed7389db6071a1fea45cc7ff90dc6126fd509ca6fae2f \
                    size    41552

python.versions     39 310 311 312

python.pep517_backend   hatch

if {${name} ne ${subport}} {
    depends_build-append \
                    port:py${python.version}-hatch-vcs
    depends_lib-append \
                    port:py${python.version}-httpx
}
