summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/vigra/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/vigra/package.py')
-rw-r--r--var/spack/repos/builtin/packages/vigra/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/vigra/package.py b/var/spack/repos/builtin/packages/vigra/package.py
index e5f026dc1c..f214402622 100644
--- a/var/spack/repos/builtin/packages/vigra/package.py
+++ b/var/spack/repos/builtin/packages/vigra/package.py
@@ -4,6 +4,7 @@
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
+from spack.pkg.builtin.boost import Boost
class Vigra(CMakePackage):
@@ -35,6 +36,11 @@ class Vigra(CMakePackage):
depends_on('openexr', when='+exr')
depends_on('py-numpy', type=('build', 'run'), when='+python')
depends_on('boost+python+numpy', when='+python')
+
+ # TODO: replace this with an explicit list of components of Boost,
+ # for instance depends_on('boost +filesystem')
+ # See https://github.com/spack/spack/pull/22303 for reference
+ depends_on(Boost.with_default_variants, when='+python')
depends_on('py-sphinx', type='build', when='+python')
depends_on('doxygen', type='build', when='+cxxdoc')
depends_on('python', type='build', when='+cxxdoc')