Files
macports-ports/python/py-xarray/Portfile
T
2025-10-02 13:05:07 -04:00

55 lines
1.8 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
version 2025.9.1
revision 0
categories-append science math
supported_archs noarch
platforms {darwin any}
license Apache-2
maintainers {petr @petrrr} openmaintainer
description Provides N-D labeled arrays and datasets in Python
long_description \
xarray (formerly xray) is an open source project and Python package that \
aims to bring the labeled data power of pandas to the physical sciences, \
by providing N-dimensional variants of the core pandas data structures.
homepage https://github.com/pydata/xarray
checksums rmd160 f4064b0bc7587c6c69e6bc15be9e9f5171cceaa4 \
sha256 f34a27a52c13d1f3cceb7b27276aeec47021558363617dd7ef4f4c8b379011c0 \
size 3057322
python.versions 39 310 311 312 313
if {${name} ne ${subport}} {
if {${python.version} == 39} {
version 2024.7.0
revision 1
checksums rmd160 31d8b1e907b2ceab9192a9f5c6c8b238e24e5a14 \
sha256 4cae512d121a8522d41e66d942fb06c526bc1fd32c2c181d5fe62fe65b671638 \
size 3728663
}
depends_build-append \
port:py${python.version}-setuptools_scm
depends_lib-append \
port:py${python.version}-numpy \
port:py${python.version}-packaging \
port:py${python.version}-pandas
test.run yes
depends_test-append \
port:py${python.version}-hypothesis \
port:py${python.version}-pytest-xdist
livecheck.type none
}