# -*- 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-acoustid
python.rootname     pyacoustid
version             1.3.1
revision            0

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

description         Chromaprint and Acoustid for Python
long_description    Chromaprint and its associated Acoustid Web service make up a high-quality, \
                    open-source acoustic fingerprinting system. This package provides Python bindings \
                    for both the fingerprinting algorithm library, which is written in C but portable, \
                    and the Web service, which provides fingerprint lookups.

homepage            https://github.com/beetbox/pyacoustid

checksums           rmd160  e3c0b0eadf78dced359b34a34d521754a2188982 \
                    sha256  bb0ecae40109c0aa80f709e33c66c83ec36b2fd84658f9fad056a34538f79e8a \
                    size    16424

python.versions     311 312 313 314 314 315
python.pep517_backend poetry

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

    depends_run-append \
                    port:chromaprint
}
