# Copyright Spack Project Developers. See COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack_repo.builtin_mock.build_systems.generic import Package

from spack.package import *


class GitUrlSvnTopLevel(Package):
    """Mock package that uses git for fetching."""

    homepage = "http://www.git-fetch-example.com"

    # can't have two VCS fetchers.
    url = "https://example.com/some/tarball-1.0.tar.gz"
    git = "https://example.com/some/git/repo"
    svn = "https://example.com/some/svn/repo"

    version("2.0")
