summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin.mock/packages/requires-virtual/package.py
blob: 00398c4caf58d66f6306cc52acff440861387ec1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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 RequiresVirtual(Package):
    """Package that requires a virtual dependency and is registered
    as an external.
    """

    homepage = "http://www.example.com"
    url = "http://www.example.com/a-1.0.tar.gz"

    version('2.0', '2.0_a_hash')

    depends_on('stuff')