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>
This commit is contained in:
Andre Merzky 2022-12-22 04:07:35 +01:00 committed by GitHub
parent c74bbc6723
commit f116e6762a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 49 additions and 0 deletions

View File

@ -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"))

View File

@ -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")

View File

@ -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")