summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin.mock/packages/hash-test4/package.py
blob: 465a9733d025977db7625dcae1844acc63df0d79 (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
27
# 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 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', 'a' * 32)

    def install(self, spec, prefix):
        pass

    @staticmethod
    def examine_prefix(pkg):
        pass

    run_after('install')(
        examine_prefix)