diff options
author | Andre Merzky <andre@merzky.net> | 2022-12-22 04:07:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-21 20:07:35 -0700 |
commit | f116e6762a136df0681a60dc5f495721d4949a26 (patch) | |
tree | 78f17687630e80b62ef6b1e972f14137037acbf5 /var | |
parent | c74bbc67237d14dc1dfef103828f50ce25b5d02f (diff) | |
download | spack-f116e6762a136df0681a60dc5f495721d4949a26.tar.gz spack-f116e6762a136df0681a60dc5f495721d4949a26.tar.bz2 spack-f116e6762a136df0681a60dc5f495721d4949a26.tar.xz spack-f116e6762a136df0681a60dc5f495721d4949a26.zip |
add py-psij-python and py-pystache packages (#34357)
* add psij package and deps
* update hashes, URLs
* linting
* Update var/spack/repos/builtin/packages/py-psij-python/package.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Update var/spack/repos/builtin/packages/py-pystache/package.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Update var/spack/repos/builtin/packages/py-pystache/package.py
Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
* Update package.py
apply suggested change
* Update package.py
apply suggested change
* Update package.py
ensure maintainer inheritance
* add psij to exaworks meta-package
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
Diffstat (limited to 'var')
3 files changed, 49 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/exaworks/package.py b/var/spack/repos/builtin/packages/exaworks/package.py index d10f3f987e..2c2485f3ce 100644 --- a/var/spack/repos/builtin/packages/exaworks/package.py +++ b/var/spack/repos/builtin/packages/exaworks/package.py @@ -28,3 +28,5 @@ class Exaworks(BundlePackage): depends_on("py-radical-saga", type=("build", "run")) depends_on("py-radical-pilot", type=("build", "run")) depends_on("py-radical-entk", type=("build", "run")) + + depends_on("py-psij-python", type=("build", "run")) diff --git a/var/spack/repos/builtin/packages/py-psij-python/package.py b/var/spack/repos/builtin/packages/py-psij-python/package.py new file mode 100644 index 0000000000..7fc82ed24a --- /dev/null +++ b/var/spack/repos/builtin/packages/py-psij-python/package.py @@ -0,0 +1,27 @@ +# 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 PyPsijPython(PythonPackage): + """PSI/J is an abstraction layer over cluster schedulers to write scheduler + agnostic HPC applications.""" + + homepage = "https://www.exaworks.org/" + git = "https://github.com/exaworks/psij-python.git" + pypi = "psij-python/psij-python-0.1.0.post2.tar.gz" + + maintainers = ["andre-merzky"] + + version( + "0.1.0.post2", sha256="78f4fb147248be479aa6128b583dff9052698c49f36c6e9811b4c3f9db326043" + ) + + depends_on("python@3.7:", type=("build", "run")) + depends_on("py-filelock", type=("build", "run")) + depends_on("py-psutil", type=("build", "run")) + depends_on("py-pystache", type=("build", "run")) + depends_on("py-setuptools", type="build") diff --git a/var/spack/repos/builtin/packages/py-pystache/package.py b/var/spack/repos/builtin/packages/py-pystache/package.py new file mode 100644 index 0000000000..ac790cdd57 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pystache/package.py @@ -0,0 +1,20 @@ +# 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 PyPystache(PythonPackage): + """Pystache is a Python implementation of Mustache. Mustache is a + framework-agnostic, logic-free templating system inspired by ctemplate and + et.""" + + homepage = "https://github.com/sarnold/pystache" + git = "https://github.com/sarnold/pystache" + pypi = "pystache/pystache-0.6.0.tar.gz" + + version("0.6.0", sha256="93bf92b2149a4c4b58d12142e2c4c6dd5c08d89e4c95afccd4b6efe2ee1d470d") + + depends_on("py-setuptools@40.8:", type="build") |