diff options
author | snehring <7978778+snehring@users.noreply.github.com> | 2023-06-05 15:44:51 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-05 16:44:51 -0400 |
commit | 7c11faceb080900e5ab52cf09ce0192a59b4310f (patch) | |
tree | 5483745a7c1e2c848249c644057e366e787d3cae | |
parent | 053550e28aaf3dedbc0d0f633f28997de89fc579 (diff) | |
download | spack-7c11faceb080900e5ab52cf09ce0192a59b4310f.tar.gz spack-7c11faceb080900e5ab52cf09ce0192a59b4310f.tar.bz2 spack-7c11faceb080900e5ab52cf09ce0192a59b4310f.tar.xz spack-7c11faceb080900e5ab52cf09ce0192a59b4310f.zip |
ninja-phylogeny: adding new package ninja-phylogeny (#38182)
-rw-r--r-- | var/spack/repos/builtin/packages/ninja-phylogeny/package.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ninja-phylogeny/package.py b/var/spack/repos/builtin/packages/ninja-phylogeny/package.py new file mode 100644 index 0000000000..bfbe660a55 --- /dev/null +++ b/var/spack/repos/builtin/packages/ninja-phylogeny/package.py @@ -0,0 +1,28 @@ +# 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 NinjaPhylogeny(MakefilePackage): + """NINJA is software for inferring large-scale neighbor-joining phylogenies.""" + + homepage = "https://wheelerlab.org/software/ninja/" + url = "https://github.com/TravisWheelerLab/NINJA/archive/refs/tags/0.98-cluster_only.tar.gz" + + maintainers("snehring") + + version("0.98", sha256="55675e1a9d51eddb3decc9a7570b6bcddb12e8a922cf1ca0a1ea43995793c9db") + + build_directory = "NINJA" + + def edit(self, spec, prefix): + with working_dir("NINJA"): + filter_file(r"^CXX = g\+\+.*$", "", "Makefile") + + def install(self, spec, prefix): + mkdirp(prefix.bin) + with working_dir("NINJA"): + install("Ninja", prefix.bin) |