# -*- 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.4.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  0b36278a5210e8c4bbfb9766449ad304f1b61070 \
                    sha256  50fd3db445caeb44b9f7763777ed49688c3cf4633da99d340c25b919496ba8b5 \
                    size    36594

python.versions     313 314

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

    test.run        yes
}
