# -*- 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-discid
version             1.3.0
categories-append   audio devel
license             LGPL-3+
platforms           {darwin any}
supported_archs     noarch

description         Python bindings for libdiscid by MusicBrainz.
long_description    The main purpose is the calculation of an identifier for \
                    audio discs (Disc ID) to use for the MusicBrainz database. \
                    Additionally the disc MCN and track ISRCs can be extracted.
homepage            https://pypi.org/project/discid/

maintainers         nomaintainer

checksums           rmd160  f18d0a0add632789567962878835fcec24ecfe70 \
                    sha256  7160a1211ac3d6a6d8213fb88dd3d73e32abe5e01336a5a4c985b082a97d4335 \
                    size    34393

python.versions     313

if {${name} ne ${subport}} {
    depends_lib-append \
                    path:lib/libdiscid.0.dylib:libdiscid

    test.run        yes
}
