Files
macports-ports/python/py-xarray-einstats/Portfile
T
2025-06-22 15:21:06 -04:00

42 lines
1.3 KiB
Tcl

# -*- 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-xarray-einstats
python.rootname xarray_einstats
version 0.9.1
revision 0
categories-append math
supported_archs noarch
platforms {darwin any}
license Apache-2
maintainers {reneeotten @reneeotten} openmaintainer
description Stats, linear algebra and einops for xarray
long_description {*}${description}
homepage https://github.com/arviz-devs/xarray-einstats
checksums rmd160 ac8b63ae41ca47a88117d727f34f5c3097b73f95 \
sha256 39b373deed43592c41d3fbf8863af62e19e01c1ae553ae5ff059a8df78d995c6 \
size 33327
python.versions 39 310 311 312 313
python.pep517_backend flit
if {${name} ne ${subport}} {
depends_lib-append \
port:py${python.version}-numpy \
port:py${python.version}-scipy \
port:py${python.version}-xarray
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.md \
LICENSE ${destroot}${docdir}
}
}