summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin.mock/packages/dependent-of-dev-build/package.py
blob: 9b86790a78ca6b40338425b2f5c9e77d490cbfc8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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)


class DependentOfDevBuild(Package):
    homepage = "example.com"
    url = "fake.com"

    version('0.0.0', sha256='0123456789abcdefgh')

    depends_on('dev-build-test-install')

    def install(self, spec, prefix):
        with open(prefix.filename, 'w') as f:
            f.write("This file is installed")