# -*- 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-julius
version             0.2.8
revision            0

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

description         Digital Signal Processing algorithms in PyTorch

long_description    julius provides efficient DSP algorithms implemented \
                    with PyTorch, including resampling, FIR filters, and \
                    FFT convolutions.

homepage            https://github.com/adefossez/julius

checksums           rmd160  2cbf9e100e3e363392a8278bbc0537c6f2f4c495 \
                    sha256  d691e651200930affea4f6c849c26e95fec846087281ae3d1a7757eac90253d5 \
                    size    48081

python.versions     313 314

python.pep517_backend   hatch

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