diff options
author | Rocco Meli <r.meli@bluemail.ch> | 2023-02-20 18:15:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-20 11:15:19 -0600 |
commit | aa708c89812711caaecb4033e2a66c98128a9d5a (patch) | |
tree | cea487231ae470f5018795ea5fcd5edd88980913 /var | |
parent | 712d358f7e213a664288189a7f31ba6e7d6f9573 (diff) | |
download | spack-aa708c89812711caaecb4033e2a66c98128a9d5a.tar.gz spack-aa708c89812711caaecb4033e2a66c98128a9d5a.tar.bz2 spack-aa708c89812711caaecb4033e2a66c98128a9d5a.tar.xz spack-aa708c89812711caaecb4033e2a66c98128a9d5a.zip |
Add pytng (#35575)
* add pytng
* black
* add setuptools
* fix
* Update var/spack/repos/builtin/packages/py-pytng/package.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Update var/spack/repos/builtin/packages/py-pytng/package.py
* Update var/spack/repos/builtin/packages/py-pytng/package.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
---------
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-pytng/package.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pytng/package.py b/var/spack/repos/builtin/packages/py-pytng/package.py new file mode 100644 index 0000000000..f7108cacef --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pytng/package.py @@ -0,0 +1,26 @@ +# 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 PyPytng(PythonPackage): + """Provides the TNGFileIterator object to allow simple Pythonic + access to data contained within TNG files. + """ + + homepage = "https://pypi.org/project/pytng/" + pypi = "pytng/pytng-0.3.0.tar.gz" + + maintainers("RMeli") + + version("0.3.0", sha256="f563f9ea260ca8c8e17b3bcf9458bae35aedd5c58e1c5ac4dfff77a1e036506e") + + depends_on("python@3.8:", type=("build", "run")) + + depends_on("py-cython@0.28:2", type="build") + depends_on("py-setuptools", type="build") + + depends_on("py-numpy@1.20.0:", type=("build", "run")) |