diff options
author | Miranda Mundt <55767766+mrmundt@users.noreply.github.com> | 2020-10-18 22:06:18 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-18 23:06:18 -0500 |
commit | 29e2196340b53ec508413de76f55fd352c354c4a (patch) | |
tree | 3e199bdd265cdea0a196870db28e13de28ae7e4f | |
parent | e88e6466e2dd3af71bb74074b761d32cb676167d (diff) | |
download | spack-29e2196340b53ec508413de76f55fd352c354c4a.tar.gz spack-29e2196340b53ec508413de76f55fd352c354c4a.tar.bz2 spack-29e2196340b53ec508413de76f55fd352c354c4a.tar.xz spack-29e2196340b53ec508413de76f55fd352c354c4a.zip |
Add new package: vvtest (#18701)
* Adding vvtest to spack
* Fixing flake8 failures
* Adding suggestions
* Removing unnecessary import
* Incorporating suggested changes
-rwxr-xr-x | var/spack/repos/builtin/packages/vvtest/package.py | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/vvtest/package.py b/var/spack/repos/builtin/packages/vvtest/package.py new file mode 100755 index 0000000000..271b8d20b9 --- /dev/null +++ b/var/spack/repos/builtin/packages/vvtest/package.py @@ -0,0 +1,29 @@ +# 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 Vvtest(Package): + """Vvtest is a test harness originally authored by Richard Drake for the + Alegra-Emphasis project, written in pure Python, and designed for running + verification, validation, and regression type tests. Being a stand-alone + product, it can also be used by analysts to help manage sets of + simulations, especially useful on batch platforms.""" + + homepage = "https://github.com/rrdrake/vvtest" + url = "https://github.com/rrdrake/vvtest/archive/1.0.0.tar.gz" + git = "https://github.com/rrdrake/vvtest.git" + maintainers = ['mrmundt', 'rrdrake'] + + version('1.2.0', sha256='d6b2432a2e6c43fb0d87ffc0eaa34a74d2268a732f7709ebdcf1344fbcaee154') + version('1.1.0', sha256='674585f12d393ab9745a5ab26f59cb0f0e213f9c597b37467125979b5955ca79') + version('1.0.0', sha256='acd04e8e6635ed1b1725b793e8287a58831d6380759a81159142a6ff3397a8dd') + + depends_on('python@2.6.0:3', type=('build', 'run')) + + def install(self, spec, prefix): + python = spec['python'].command + python('install_vvtest', prefix.bin) |