diff options
author | Dani <44979434+d-beltran@users.noreply.github.com> | 2024-02-11 19:56:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-11 12:56:31 -0600 |
commit | f0e49a54c063cf7fbda20cdb69d1a7c2aff5bbe4 (patch) | |
tree | b8367d77ce556e3a6a7a8a42c4735f897fb41a3b | |
parent | 2c6757172608a4444f9ba9ba856bb3c932c7a6d5 (diff) | |
download | spack-f0e49a54c063cf7fbda20cdb69d1a7c2aff5bbe4.tar.gz spack-f0e49a54c063cf7fbda20cdb69d1a7c2aff5bbe4.tar.bz2 spack-f0e49a54c063cf7fbda20cdb69d1a7c2aff5bbe4.tar.xz spack-f0e49a54c063cf7fbda20cdb69d1a7c2aff5bbe4.zip |
new builtin package: py-simpletraj (#42460)
* new builtin package: py-simpletraj
* long line splitted in two for the style test
* removed trailing whitespace for the style test
-rw-r--r-- | var/spack/repos/builtin/packages/py-simpletraj/package.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-simpletraj/package.py b/var/spack/repos/builtin/packages/py-simpletraj/package.py new file mode 100644 index 0000000000..8a9310196a --- /dev/null +++ b/var/spack/repos/builtin/packages/py-simpletraj/package.py @@ -0,0 +1,23 @@ +# 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 PySimpletraj(PythonPackage): + """Lightweight coordinate-only trajectory reader based on code + from GROMACS, MDAnalysis and VMD.""" + + pypi = "simpletraj/simpletraj-0.5.tar.gz" + + maintainers("d-beltran") + + # Versions + version("0.5", sha256="860ccba82e7a6085ef1cbff74eb2db53df65fd58edabae3c45b8c45a219b8a3b") + + # Dependencies + depends_on("py-setuptools", type="build") + depends_on("python@3.8:", type=("build", "run")) + depends_on("py-numpy", type=("build", "run")) |