summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin.mock/packages/hash-test4/package.py
blob: 2008fa143a148c9786e58b5ffa9d18d439affd85 (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 HashTest4(Package):
    """This package isn't compared with others, but it contains constructs
    that package hashing logic has tripped over in the past.
    """

    homepage = "http://www.hashtest4.org"
    url = "http://www.hashtest1.org/downloads/hashtest4-1.1.tar.bz2"

    version("1.1", md5="a" * 32)

    def install(self, spec, prefix):
        pass

    @staticmethod
    def examine_prefix(pkg):
        pass

    run_after("install")(examine_prefix)