py-getorganelle: rename to getorganelle and add version 1.7.7.0 (#35270)

* py-getorganelle: rename to getorganelle and add version 1.7.7.0

* py-getorganelle: deprecating package
This commit is contained in:
snehring 2023-02-02 13:13:32 -06:00 committed by GitHub
parent 1e1d1ec43b
commit defa4a2340
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 40 additions and 1 deletions

View file

@ -0,0 +1,34 @@
# 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 Getorganelle(PythonPackage):
"""Organelle Genome Assembly Toolkit (Chloroplast/Mitocondrial/ITS)"""
homepage = "https://github.com/Kinggerm/GetOrganelle"
url = "https://github.com/Kinggerm/GetOrganelle/archive/refs/tags/1.7.5.0.tar.gz"
maintainers = ["snehring"]
version("1.7.7.0", sha256="dd351b5cd33688adfcd8bff9794ae0cc0ce01a572dac2bcf6c9d7db77b3e4883")
version("1.7.5.0", sha256="c498196737726cb4c0158f23037bf301a069f5028ece729bb4d09c7d915df93d")
depends_on("py-setuptools", type="build")
depends_on("py-numpy@1.16.4:", type=("build", "run"))
depends_on("py-scipy@1.3.0:", type=("build", "run"))
depends_on("py-sympy@1.4:", type=("build", "run"))
depends_on("py-requests", type=("build", "run"))
depends_on("bowtie2", type="run")
depends_on("spades", type="run")
depends_on("blast-plus", type="run")
# Allow access to relevant runtime scripts
# I.e. get_organelle_config.py, get_organelle_from_reads.py, etc.
def setup_run_environment(self, env):
env.prepend_path("PATH", prefix)
env.prepend_path("PATH", prefix.Utilities)

View file

@ -14,7 +14,12 @@ class PyGetorganelle(PythonPackage):
maintainers("dorton21")
version("1.7.5.0", sha256="c498196737726cb4c0158f23037bf301a069f5028ece729bb4d09c7d915df93d")
# renamed to getorganelle
version(
"1.7.5.0",
sha256="c498196737726cb4c0158f23037bf301a069f5028ece729bb4d09c7d915df93d",
deprecated=True,
)
depends_on("py-setuptools", type="build")
depends_on("py-numpy@1.16.4:", type=("build", "run"))