# -*- 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-demucs
version             4.0.1
revision            0

categories-append   audio science
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         {pguyot @pguyot} openmaintainer

description         Music source separation in the waveform domain

long_description    Demucs is a state-of-the-art music source separation \
                    model from Meta AI Research that separates drums, \
                    bass, vocals, and other instruments from audio.

homepage            https://github.com/facebookresearch/demucs

checksums           rmd160  a2aae07dd533f82624f3e3b2f38337bb8f9a2966 \
                    sha256  e45a5a788bae79767c37bbf6e69aae03862ddcca05550fb79b926346a177d713 \
                    size    1212924

python.versions     313 314

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-dora-search \
                    port:py${python.version}-einops \
                    port:py${python.version}-julius \
                    port:py${python.version}-lameenc \
                    port:py${python.version}-openunmix \
                    port:py${python.version}-pytorch \
                    port:py${python.version}-torchaudio \
                    port:py${python.version}-tqdm \
                    port:py${python.version}-yaml
}
