summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/ruby-zentest/package.py
blob: 8af96ba82d4bb69103cbba1942cbe4e4e292b5bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 2013-2023 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.package import *


class RubyZentest(RubyPackage):
    """ZenTest provides 4 different tools: zentest, unit_diff, autotest, and
    multiruby."""

    homepage = "https://github.com/seattlerb/zentest"
    url = "https://rubygems.org/downloads/ZenTest-4.12.0.gem"

    # Source code available at https://github.com/seattlerb/zentest
    # but I had trouble getting the Rakefile to build

    version(
        "4.12.0",
        sha256="5301757c3ab29dd2222795c1b076dd348f4d92fe0426e97a13ae56fea47a786e",
        expand=False,
    )

    depends_on("ruby@1.8:2", type=("build", "run"))