# -*- 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.0
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  1fcc48629d60e2954bf016326db6594ad59e6660 \
                    sha256  5f4f487191c19ebb908270b1b7b5297f132da332b1568b96a914574c079ed177 \
                    size    17369

python.versions     310 311 312 313

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

    depends_run-append \
                    port:chromaprint
}
