summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2022-08-03 13:13:25 -0400
committerGitHub <noreply@github.com>2022-08-03 10:13:25 -0700
commit43be9a1ac1b22b1cd8af00fc6fbe7cf115d1bc45 (patch)
tree9de27eff5feaf9f0901f3b581e084f2f54fff5c2
parent849f01df86d17706d37cb709017a8742c0d48748 (diff)
downloadspack-43be9a1ac1b22b1cd8af00fc6fbe7cf115d1bc45.tar.gz
spack-43be9a1ac1b22b1cd8af00fc6fbe7cf115d1bc45.tar.bz2
spack-43be9a1ac1b22b1cd8af00fc6fbe7cf115d1bc45.tar.xz
spack-43be9a1ac1b22b1cd8af00fc6fbe7cf115d1bc45.zip
New package: py-glymur (#31875)
* [py-glymur] New Package: py-glymur * [py-glymur] fixed copyright line * [py-glumur] update import ine * [@spackbot] updating style on behalf of qwertos Co-authored-by: James A Zilberman <jazrc@rit.edu> Co-authored-by: qwertos <qwertos@users.noreply.github.com>
-rw-r--r--var/spack/repos/builtin/packages/py-glymur/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-glymur/package.py b/var/spack/repos/builtin/packages/py-glymur/package.py
new file mode 100644
index 0000000000..21cfbec366
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-glymur/package.py
@@ -0,0 +1,24 @@
+# Copyright 2013-2022 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 PyGlymur(PythonPackage):
+ """glymur contains a Python interface to the OpenJPEG
+ library which allows one to read and write JPEG 2000 files.
+ glymur works on Python 3.7, 3.8, 3.9, and 3.10."""
+
+ homepage = "https://github.com/quintusdias/glymur"
+ pypi = "Glymur/Glymur-0.9.9.tar.gz"
+
+ version("0.9.9", sha256="25b8a6ac07892c98b4613f959295ada9ca5e76b27bfa25069ab0a8a5bb4048f4")
+
+ depends_on("python@3.7:", type=("build", "run"))
+ depends_on("py-numpy", type=("build", "run"))
+ depends_on("py-lxml", type=("build", "run"))
+ depends_on("py-packaging", type=("build", "run"))
+ depends_on("py-setuptools", type="build")