
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.
19 lines
448 B
Python
19 lines
448 B
Python
from spack import *
|
|
|
|
|
|
class Dtbuild1(Package):
|
|
"""Package for use as a build tool for deptypes testing which has its own
|
|
deptree"""
|
|
|
|
homepage = "http://www.example.com"
|
|
url = "http://www.example.com/dtbuild1-1.0.tar.gz"
|
|
|
|
version('1.0', '0123456789abcdef0123456789abcdef')
|
|
|
|
depends_on('dtbuild2', type='build')
|
|
depends_on('dtlink2')
|
|
depends_on('dtrun2', type='run')
|
|
|
|
def install(self, spec, prefix):
|
|
pass
|