summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-pynrrd/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pynrrd/package.py b/var/spack/repos/builtin/packages/py-pynrrd/package.py
new file mode 100644
index 0000000000..e6a5858153
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pynrrd/package.py
@@ -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"))