summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-multiqc/package.py
blob: 161d46cb3567835106f5a59e3ab37016e385d4ad (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# 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 PyMultiqc(PythonPackage):
    """MultiQC is a tool to aggregate bioinformatics results across many
    samples into a single report. It is written in Python and contains modules
    for a large number of common bioinformatics tools."""

    homepage = "https://multiqc.info"
    pypi = "multiqc/multiqc-1.0.tar.gz"

    license("GPL-3.0-only")

    version("1.15", sha256="ce5359a12226cf4ce372c6fdad142cfe2ae7501ffa97ac7aab544ced4db5ea3c")
    version("1.14", sha256="dcbba405f0c9521ed2bbd7e8f7a9200643047311c9619878b81d167300149362")
    version("1.13", sha256="0564fb0f894e6ca0822a0f860941b3ed2c33dce407395ac0c2103775d45cbfa0")
    version("1.7", sha256="02e6a7fac7cd9ed036dcc6c92b8f8bcacbd28983ba6be53afb35e08868bd2d68")
    version("1.5", sha256="fe0ffd2b0d1067365ba4e54ae8991f2f779c7c684b037549b617020ea883310a")
    version("1.3", sha256="cde17845680131e16521ace04235bb9496c78c44cdc7b5a0fb6fd93f4ad7a13b")
    version("1.0", sha256="1a49331a3d3f2e591a6e9902bc99b16e9205731f0cd2d6eaeee0da3d0f0664c9")

    depends_on("python@2.7:", when="@:1.7", type=("build", "run"))
    depends_on("python@3:", when="@1.9:", type=("build", "run"))
    depends_on("py-setuptools", type="build")
    depends_on("py-matplotlib@2.1.1:", type=("build", "run"), when="@1.13:")
    depends_on("py-matplotlib@2.1.1:2", type=("build", "run"), when="@1.7")
    depends_on("py-matplotlib@:2.1.0", type=("build", "run"), when="@1.5")
    depends_on("py-matplotlib", type=("build", "run"), when="@:1.3")
    depends_on("py-networkx@2.5.1:", type=("build", "run"), when="@1.13:")
    depends_on("py-networkx@:1", type=("build", "run"), when="@1.3")
    depends_on("py-numpy", type=("build", "run"))
    depends_on("py-click", type=("build", "run"))
    depends_on("py-coloredlogs", type=("build", "run"), when="@1.13:")
    depends_on("py-future@0.14.1:", type=("build", "run"))
    depends_on("py-jinja2@3.0.0:", type=("build", "run"), when="@1.14:")
    depends_on("py-jinja2@2.9:", type=("build", "run"), when="@:1.13")
    depends_on("py-lzstring", type=("build", "run"))
    depends_on("py-markdown", type=("build", "run"), when="@1.3:")
    depends_on("py-pyyaml", type=("build", "run"))
    depends_on("py-pyyaml@4:", type=("build", "run"), when="@1.13:")
    depends_on("py-requests", type=("build", "run"), when="@1.3:")
    depends_on("py-rich@10:", type=("build", "run"), when="@1.13:")
    depends_on("py-rich-click", type=("build", "run"), when="@1.13:")
    depends_on("py-simplejson", type=("build", "run"))
    depends_on("py-spectra@0.0.10:", type=("build", "run"), when="@1.5:")
    depends_on("py-spectra", type=("build", "run"))