From c52e95d681658c6bd294bc5f8b7937300b6328d9 Mon Sep 17 00:00:00 2001 From: bryanherman <63422190+bryanherman@users.noreply.github.com> Date: Wed, 27 Jan 2021 10:26:26 -0500 Subject: [PATCH] cxxtest: added new package (#21323) --- .../repos/builtin/packages/cxxtest/package.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 var/spack/repos/builtin/packages/cxxtest/package.py diff --git a/var/spack/repos/builtin/packages/cxxtest/package.py b/var/spack/repos/builtin/packages/cxxtest/package.py new file mode 100644 index 0000000000..a8d9df2359 --- /dev/null +++ b/var/spack/repos/builtin/packages/cxxtest/package.py @@ -0,0 +1,18 @@ +# Copyright 2013-2021 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 Cxxtest(Package): + """C++ unit test system.""" + + homepage = "https://cxxtest.com/" + url = "https://sourceforge.net/projects/cxxtest/files/cxxtest/4.4/cxxtest-4.4.tar.gz/download" + + version('4.4', sha256='1c154fef91c65dbf1cd4519af7ade70a61d85a923b6e0c0b007dc7f4895cf7d8') + + def install(self, spec, prefix): + install_tree(self.stage.source_path, prefix)