summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/beakerlib/package.py
blob: 519d358d952a70e059019ce84615549c6737dc2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2013-2022 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 Beakerlib(MakefilePackage):
    """BeakerLib is a shell-level integration testing library, providing
    convenience functions which simplify writing, running and analysis
    of integration and blackbox tests."""

    homepage = "https://github.com/beakerlib/beakerlib"
    url      = "https://github.com/beakerlib/beakerlib/archive/1.20.tar.gz"

    version('1.20',   sha256='81f39a0b67adff4c3f4c051ffd26bcf45e19068dee7e81e3b00ee4698587f4e9')
    version('1.19',   sha256='4dcaddf70a057ea5810c967cf5194d11850c8b5263ca25533e9e381067288460')
    version('1.18.1', sha256='65e6f81f17fd87f9db783d0b7a7216387a337f4692d3d9e1c40ef427d977c3d5')

    def install(self, spec, prefix):
        make('DESTDIR={0}'.format(prefix), 'PKGDOCDIR=', 'install')