summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-toytree/package.py
blob: 8550075f7469e1da1e3d8976164d49d7037e3ed9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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 PyToytree(PythonPackage):
    """A minimalist tree manipulation and plotting library for use inside
    jupyter notebooks. Toytree combines a popular tree data structure
    based on the ete3 library with modern plotting tools based on the
    toyplot plotting library.
    """

    homepage = "https://github.com/eaton-lab/toytree"
    pypi = "toytree/toytree-2.0.1.tar.gz"

    maintainers("snehring")

    version("2.0.1", sha256="4f1452a76441857a13f72c99bf7d9f0a394cd8eae7fc02ee5349d946f2507101")

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

    depends_on("py-toyplot", type=("build", "run"))
    depends_on("py-numpy", type=("build", "run"))
    depends_on("py-requests", type=("build", "run"))
    depends_on("py-future", type=("build", "run"))