# -*- 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           R 1.0

R.setup             github mlverse safetensors 0.2.0 v
revision            1
categories-append   devel
platforms           {darwin any}
maintainers         nomaintainer
license             MIT
description         Safetensors file format
long_description    {*}${description}
homepage            https://mlverse.github.io/safetensors
checksums           rmd160  2b200ca9f16ec0462d3a4698ec260b4aeb4a58ce \
                    sha256  77491d3cd1aaf629ed02b1c57f787664e05ddf491536168b955da552bf601dc7 \
                    size    9843
github.tarball_from archive
supported_archs     noarch

depends_lib-append  port:R-cli \
                    port:R-jsonlite \
                    port:R-R6 \
                    port:R-rlang

patchfiles          patch-no-torch.diff

depends_test-append port:R-testthat

test.run            yes
