From eda8151fa0b7f29920c045eeca64149df7aa1232 Mon Sep 17 00:00:00 2001 From: Olivier Cessenat Date: Fri, 24 Dec 2021 15:12:47 +0100 Subject: [PATCH] banner: new package (#26743) --- .../repos/builtin/packages/banner/package.py | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 var/spack/repos/builtin/packages/banner/package.py diff --git a/var/spack/repos/builtin/packages/banner/package.py b/var/spack/repos/builtin/packages/banner/package.py new file mode 100644 index 0000000000..6a448d3a6a --- /dev/null +++ b/var/spack/repos/builtin/packages/banner/package.py @@ -0,0 +1,23 @@ +# 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 Banner(AutotoolsPackage): + """banner is a classic-style banner program similar to the one found + in Solaris or AIX in the late 1990s. + + The banner program prints a short string to the console in very large letters.""" + + homepage = "https://github.com/pronovic/banner" + url = "https://github.com/pronovic/banner/archive/refs/tags/BANNER_V1.3.5.tar.gz" + + maintainers = ['cessenat'] + + version('1.3.5', sha256='fb21c42620a0a668334b5732a6216b23b3990ca5d87cf3b15f0689dc617e7fdc') + + def url_for_version(self, version): + return "https://github.com/pronovic/banner/archive/refs/tags/BANNER_V{0}.tar.gz".format(version)