summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin.mock/packages/non-existing-conditional-dep/package.py
blob: 634a661ebdfac7ba2e22c007882e3fdad9c16cd2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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 NonExistingConditionalDep(Package):
    """Simple package with no source and one dependency"""

    homepage = "http://www.example.com"

    version("2.0")
    version("1.0")

    depends_on("dep-with-variants@999", when="@2.0")