# -*- 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-discogs-client
python.rootname     python3-discogs-client
version             2.8
revision            0

categories-append   devel audio
license             BSD
platforms           {darwin any}
supported_archs     noarch
maintainers         nomaintainer

description         Continuation of the \"\"Official Python Client for the Discogs API\"
long_description    This is the continuation of the official \"Discogs API client for Python\", \
                    which was deprecated by discogs.com as of June 2020.

homepage            https://github.com/joalla/discogs_client

distname            python3_discogs_client-${version}

checksums           rmd160  c196bdd7ff41c709299d6e29f0cffdd09201cbc3 \
                    sha256  0f2c77f4ff491a6ef60fe892032028df899808e65efcd48249b4ecf21146b33b \
                    size    37416

python.versions     310 311 312 313

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-dateutil \
                    port:py${python.version}-oauthlib \
                    port:py${python.version}-requests

    test.run        yes
}
