From 6fdb8b268247af7254ff45136e54cc7950b662b1 Mon Sep 17 00:00:00 2001 From: Luke Diorio-Toth Date: Fri, 21 Oct 2022 14:54:23 -0500 Subject: py-instrain: added required + optional dependency (#33465) * added py-instrain dependencies * fixed style * removed coverm dep until I have a working coverm package * added dep documentation --- var/spack/repos/builtin/packages/py-instrain/package.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-instrain/package.py b/var/spack/repos/builtin/packages/py-instrain/package.py index 90887508fe..962ee78f7a 100644 --- a/var/spack/repos/builtin/packages/py-instrain/package.py +++ b/var/spack/repos/builtin/packages/py-instrain/package.py @@ -17,6 +17,8 @@ class PyInstrain(PythonPackage): homepage = "https://github.com/MrOlm/instrain" pypi = "inStrain/inStrain-1.5.7.tar.gz" + variant("prodigal", default=False, description="Enables profiling on a gene by gene level") + version("1.5.7", sha256="c5dcb01dae244927fe987b5f0695d895ccf521c9dfd87a2cb59057ad50bd9bfa") depends_on("python@3.4.0:", type=("build", "run")) @@ -35,3 +37,9 @@ class PyInstrain(PythonPackage): depends_on("py-psutil", type=("build", "run")) depends_on("py-lmfit", type=("build", "run")) depends_on("py-numba", type=("build", "run")) + # non-python dependencies + # https://instrain.readthedocs.io/en/latest/installation.html#dependencies + # Essential dependencies + depends_on("samtools", type=("build", "run")) + # Optional dependencies + depends_on("prodigal", type=("build", "run"), when="+prodigal") -- cgit v1.2.3-70-g09d2