py-anvio and py-rich-argparse: new packages (#45367)

This commit is contained in:
Alex Leute 2024-08-06 11:52:18 -04:00 committed by GitHub
parent 82752ad0b7
commit 51ac4686b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 78 additions and 0 deletions

View File

@ -0,0 +1,55 @@
# 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 PyAnvio(PythonPackage):
"""Anvio is a comprehensive platform that brings together many aspects of
todays cutting-edge computational strategies of data-enabled microbiology,
including genomics, metagenomics, metatranscriptomics, pangenomics,
metapangenomics, phylogenomics, and microbial population genetics in an
integrated and easy-to-use fashion through extensive interactive
visualization capabilities."""
homepage = "https://anvio.org/"
# Not available on pypi
url = "https://github.com/merenlab/anvio/releases/download/v8/anvio-8.tar.gz"
maintainers("alex391", "meren")
version("8", sha256="4ced91773648d9ca27a20b725ab64bc213d80b33726940f5f818240033912c04")
depends_on("py-setuptools", type="build")
depends_on("py-numpy@:1.24", type=("build", "run"))
depends_on("py-scipy", type=("build", "run"))
depends_on("py-bottle", type=("build", "run"))
depends_on("py-pysam", type=("build", "run"))
depends_on("py-ete3", type=("build", "run"))
depends_on("py-scikit-learn@1.2.2", type=("build", "run"))
depends_on("py-django", type=("build", "run"))
depends_on("py-requests", type=("build", "run"))
depends_on("py-mistune", type=("build", "run"))
depends_on("py-six", type=("build", "run"))
depends_on("py-matplotlib", type=("build", "run"))
depends_on("py-statsmodels", type=("build", "run"))
# Needs a version of py-colored newer than 1.4.2 (not listed in
# requirements.txt)
depends_on("py-colored@2:", type=("build", "run"))
depends_on("py-illumina-utils", type=("build", "run"))
depends_on("py-tabulate", type=("build", "run"))
depends_on("py-rich-argparse", type=("build", "run"))
depends_on("py-numba", type=("build", "run"))
depends_on("py-paste", type=("build", "run"))
depends_on("py-pyani", type=("build", "run"))
depends_on("py-psutil", type=("build", "run"))
depends_on("py-pandas@1.4.4", type=("build", "run"))
depends_on("snakemake", type=("build", "run"))
depends_on("py-multiprocess", type=("build", "run"))
depends_on("py-plotext", type=("build", "run"))
depends_on("py-networkx", type=("build", "run"))

View File

@ -0,0 +1,23 @@
# 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 PyRichArgparse(PythonPackage):
"""rich-argparse improves the look and readability of argparse's help while
requiring minimal changes to the code."""
homepage = "https://github.com/hamdanal/rich-argparse"
pypi = "rich_argparse/rich_argparse-1.4.0.tar.gz"
version("1.4.0", sha256="c275f34ea3afe36aec6342c2a2298893104b5650528941fb53c21067276dba19")
depends_on("python@3.7:", type=("build", "run"))
depends_on("py-hatchling@1.11.0:", type="build")
depends_on("py-rich@11.0.0:", type=("build", "run"))