summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pastml/package.py
blob: e33649daa2ee38085355ad0b20ba7980b2b99e14 (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
29
30
31
32
33
34
# 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 PyPastml(PythonPackage):
    """Ancestral character reconstruction and visualisation for rooted
    phylogenetic trees.
    """

    homepage = "https://github.com/evolbioinfo/pastml"
    pypi = "pastml/pastml-1.9.40.tar.gz"

    maintainers("snehring")

    license("GPL-3.0-or-later")

    version("1.9.40", sha256="5334bc8de70a968117240b90d90878ac935be18de6e6e485fb1a8f90cd539fea")
    version("1.9.38", sha256="43bf7d2a3a9b9b67da7c5881ecdeb2ee9cccd1585b8f65700e53761609945cc6")

    depends_on("python@3.8:", type=("build", "run"))
    depends_on("py-setuptools", type="build")

    depends_on("py-ete3@3.1.1:", type=("build", "run"))
    depends_on("py-pandas@1.0.0:", type=("build", "run"))
    depends_on("py-numpy@1.19.0:", type=("build", "run"), when="@1.9.38")
    depends_on("py-numpy@1.22:", type=("build", "run"), when="@1.9.40")
    depends_on("py-jinja2@2.11.0:", type=("build", "run"))
    depends_on("py-scipy@1.5.0:", type=("build", "run"))
    depends_on("py-itolapi@4.0.0:", type=("build", "run"))
    depends_on("py-biopython@1.70:", type=("build", "run"))