# -*- 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-torchdiffeq
version             0.2.5
revision            0

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

description         Differentiable ODE solvers with full GPU support \
                    and adjoint backpropagation

long_description    torchdiffeq provides differentiable ODE solvers \
                    with full GPU support and O(1)-memory \
                    backpropagation using the adjoint method.

homepage            https://github.com/rtqichen/torchdiffeq

checksums           rmd160  8cfdafdfa9beffae2d832a539ded3039a66ce78a \
                    sha256  b50d3760d13fd138dcceac651f4b80396f44fefcebd037a033fecfeaa9cc12e7 \
                    size    31197

python.versions     313 314

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