py-pynrrd: new package (#35505)

This commit is contained in:
Erik Heeren 2023-02-17 05:52:52 +01:00 committed by GitHub
parent 9ff64b1627
commit b278a02406
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,20 @@
# Copyright 2013-2023 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 PyPynrrd(PythonPackage):
"""Python library for reading and writing NRRD files into and from numpy arrays"""
homepage = "https://github.com/mhe/pynrrd"
pypi = "pynrrd/pynrrd-0.4.0.tar.gz"
version("1.0.0", sha256="4eb4caba03fbca1b832114515e748336cb67bce70c7f3ae36bfa2e135fc990d2")
depends_on("py-setuptools", type="build")
depends_on("py-numpy@1.11.1:", type=("build", "run"))
depends_on("py-nptyping", type=("build", "run"))
depends_on("py-typing-extensions", type=("build", "run"))