summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-treelib/package.py
blob: 0185c21ab18a6d3ca53fca29a1607d01399efb92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2024 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 PyTreelib(PythonPackage):
    """A Python implementation of tree structure."""

    homepage = "https://github.com/caesar0301/treelib"
    pypi = "treelib/treelib-1.7.0.tar.gz"

    license("Apache-2.0")

    version("1.7.0", sha256="9bff1af416b9e642a6cd0e0431d15edf26a24b8d0c8ae68afbd3801b5e30fb61")

    depends_on("py-setuptools", type="build")
    depends_on("py-six", type=("build", "run"))