summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pyedr/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/py-pyedr/package.py')
-rw-r--r--var/spack/repos/builtin/packages/py-pyedr/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pyedr/package.py b/var/spack/repos/builtin/packages/py-pyedr/package.py
new file mode 100644
index 0000000000..c7efe5f859
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pyedr/package.py
@@ -0,0 +1,27 @@
+# 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 PyPyedr(PythonPackage):
+ """Pyedr provides a means of reading a Gromacs EDR binary XDR file and return
+ its contents as a dictionary of NumPy arrays"""
+
+ homepage = "https://github.com/MDAnalysis/panedr"
+ pypi = "pyedr/pyedr-0.7.1.tar.gz"
+
+ maintainers("RMeli")
+
+ version("0.7.1", sha256="ad7ccdeb739399acd11a25f2d2413ebb46a54223059a2b902ac604d29fabd767")
+
+ depends_on("python@3.6:", type=("build", "run"))
+
+ # Minimal NumPy version only specified in requirements.txt
+ depends_on("py-numpy@1.19.0:", type=("build", "run"))
+ depends_on("py-pbr", type=("build", "run"))
+ depends_on("py-tqdm", type=("build", "run"))
+
+ depends_on("py-setuptools", type="build")