diff options
-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")) |