
deptypes: allow for different queries For things like Python modules, they are required for the build and runtime, but rather than adding a new parameter for what to query across the dependency DAG, just expose the recursive query parameter.
18 lines
402 B
Python
18 lines
402 B
Python
from spack import *
|
|
|
|
|
|
class Dttop(Package):
|
|
"""Package with a complicated dependency tree"""
|
|
|
|
homepage = "http://www.example.com"
|
|
url = "http://www.example.com/dttop-1.0.tar.gz"
|
|
|
|
version('1.0', '0123456789abcdef0123456789abcdef')
|
|
|
|
depends_on('dtbuild1', type='build')
|
|
depends_on('dtlink1')
|
|
depends_on('dtrun1', type='run')
|
|
|
|
def install(self, spec, prefix):
|
|
pass
|