summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-python-hostlist/package.py
blob: 4e8bbdaed3665377fa3529ec4fb102c1edfe4f06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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"

    license("GPL-2.0-only")

    version("master", branch="master")
    version("1.23.0", sha256="56e0156b501f792c078114f07324f34f37827041581ee5d1ffdce89cca533219")

    # build dependencies
    depends_on("py-setuptools", type=("build"))