# -*- 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-diffusers
version             0.37.0
revision            0
categories-append   science

license             Apache-2
maintainers         nomaintainer
platforms           {darwin any}
supported_archs     noarch

description         State-of-the-art diffusion models in PyTorch and JAX

long_description    Diffusers provides pretrained diffusion models \
                    across multiple modalities, such as vision and \
                    audio, and serves as a modular toolbox for \
                    inference and training of diffusion models. \
                    Includes Stable Diffusion, InstructPix2Pix, and \
                    many more.

homepage            https://huggingface.co/docs/diffusers/

python.versions     310 311 312 313 314

checksums           rmd160  9c2cb3fcc16524ed3fb3dc6cd89ff40a6ca95aa7 \
                    sha256  408789af73898585f525afd07ca72b3955affea4216a669558e9f59b5b1fe704 \
                    size    4141136

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-filelock \
                    port:py${python.version}-httpx \
                    port:py${python.version}-huggingface_hub \
                    port:py${python.version}-importlib-metadata \
                    port:py${python.version}-numpy \
                    port:py${python.version}-Pillow \
                    port:py${python.version}-regex \
                    port:py${python.version}-requests \
                    port:py${python.version}-safetensors
}
