spack/var/spack/repos/builtin/packages/py-xhistogram/package.py
Adam J. Stewart 98162aa2e1
py-earth2mip: add new package (#43062)
* py-earth2mip: add new package

* Fix audit tests

* Make things easier to concretize

* Make things easier to concretize

* Fix magics build

* Fix onnx build

* blacken

* cmake > py-cmake

* Fix onnxruntime build

* onnxruntime: remove unknown cmake vars

* Trick bazelisk into using Spack bazel

* Different deps for main

* protobuf: add v3.25.3

* Enforce upper bound on jaxlib version

* py-chex: add v0.1.85

* py-dm-haiku: add v0.0.12

* py-jax: add v0.4.25

* Older jaxlib doesn't build on ppc64le either
2024-03-11 12:28:03 -07:00

23 lines
772 B
Python

# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class PyXhistogram(PythonPackage):
"""Fast, flexible, label-aware histograms for numpy and xarray."""
homepage = "https://github.com/xgcm/xhistogram"
pypi = "xhistogram/xhistogram-0.3.2.tar.gz"
license("MIT")
version("0.3.2", sha256="56b0751e1469eaed81710f644c8ba5c574b51883baa2feee26a95f2f708f91a1")
depends_on("py-setuptools", type="build")
depends_on("py-xarray@0.12:", type=("build", "run"))
depends_on("py-dask@2.3:+array", type=("build", "run"))
depends_on("py-numpy@1.17:", type=("build", "run"))