spack/var/spack/repos/builtin.mock/packages/flatten-deps/package.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
462 B
Python
Raw Normal View History

# Copyright Spack Project Developers. See COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class FlattenDeps(Package):
"""Example install that flattens dependencies."""
homepage = "http://www.example.com"
url = "http://www.example.com/a-1.0.tar.gz"
version("1.0", md5="0123456789abcdef0123456789abcdef")
depends_on("dependency-install")
install = install_dependency_symlinks