From 0f2a58127663ab58ee4416f1b57a2c380ef1ef71 Mon Sep 17 00:00:00 2001 From: Justin S <3630356+codeandkey@users.noreply.github.com> Date: Tue, 12 May 2020 17:05:19 -0500 Subject: [PATCH] velvetoptimiser: new package at 2.2.6 (#16611) --- .../packages/velvetoptimiser/package.py | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 var/spack/repos/builtin/packages/velvetoptimiser/package.py diff --git a/var/spack/repos/builtin/packages/velvetoptimiser/package.py b/var/spack/repos/builtin/packages/velvetoptimiser/package.py new file mode 100644 index 0000000000..8a71bb6ad0 --- /dev/null +++ b/var/spack/repos/builtin/packages/velvetoptimiser/package.py @@ -0,0 +1,22 @@ +# Copyright 2013-2020 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 import * + + +class Velvetoptimiser(Package): + """Automatically optimise three of Velvet's assembly parameters.""" + + homepage = "https://github.com/tseemann/VelvetOptimiser" + url = "https://github.com/tseemann/VelvetOptimiser/archive/2.2.6.tar.gz" + + version('2.2.6', sha256='b407db61b58ed983760b80a3a40c8f8a355851ecfab3e61a551bed29bf5b40b3') + + depends_on('velvet@1.1:', type='run') + depends_on('perl@5.8.8:', type='run') + depends_on('perl-bioperl@1.4:', type='run') + + def install(self, spec, prefix): + install_tree('.', prefix.bin)