diff options
author | mschouler <schouler.marc@gmail.com> | 2023-07-31 19:39:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-31 12:39:56 -0500 |
commit | d25f1059dd073f2777ac5043b43dab85b0e25a8e (patch) | |
tree | 15e47ab36473e699b1bd5f88afc3083cad102d6d | |
parent | 9394fa403e72fed833a74a38a8c8819b56875896 (diff) | |
download | spack-d25f1059dd073f2777ac5043b43dab85b0e25a8e.tar.gz spack-d25f1059dd073f2777ac5043b43dab85b0e25a8e.tar.bz2 spack-d25f1059dd073f2777ac5043b43dab85b0e25a8e.tar.xz spack-d25f1059dd073f2777ac5043b43dab85b0e25a8e.zip |
py-python-hostlist: package addition (#39035)
* Add recipe for py-hostlist
* Fix style
* Fix style
* Add homepage, fix version url and remove unnecessary dependency
* Fix version and remove url
* Rename package and fix git link
---------
Co-authored-by: Marc Schouler <marc.schouler@inria.fr>
-rw-r--r-- | var/spack/repos/builtin/packages/py-python-hostlist/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-python-hostlist/package.py b/var/spack/repos/builtin/packages/py-python-hostlist/package.py new file mode 100644 index 0000000000..3cd58dd781 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-python-hostlist/package.py @@ -0,0 +1,20 @@ +# 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 PyPythonHostlist(PythonPackage): + """The hostlist.py module knows how to expand and collect hostlist expressions.""" + + homepage = "https://www.nsc.liu.se/~kent/python-hostlist/" + pypi = "python-hostlist/python-hostlist-1.23.0.tar.gz" + git = "git://www.nsc.liu.se/~kent/python-hostlist.git" + + version("master", branch="master") + version("1.23.0", sha256="56e0156b501f792c078114f07324f34f37827041581ee5d1ffdce89cca533219") + + # build dependencies + depends_on("py-setuptools", type=("build")) |