banner: new package (#26743)

This commit is contained in:
Olivier Cessenat 2021-12-24 15:12:47 +01:00 committed by GitHub
parent edd55bc73d
commit eda8151fa0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)