From 568a535e3fd049e3f2cbc4c3b1502a94c8121be8 Mon Sep 17 00:00:00 2001 From: haralmha <47558670+haralmha@users.noreply.github.com> Date: Tue, 8 Mar 2022 17:10:56 +0100 Subject: apfel: depend on python also for ~python variant (#29395) --- var/spack/repos/builtin/packages/apfel/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/apfel/package.py b/var/spack/repos/builtin/packages/apfel/package.py index 137c2b141d..f7c12d744a 100644 --- a/var/spack/repos/builtin/packages/apfel/package.py +++ b/var/spack/repos/builtin/packages/apfel/package.py @@ -20,7 +20,7 @@ class Apfel(AutotoolsPackage): version('3.0.4', sha256='c7bfae7fe2dc0185981850f2fe6ae4842749339d064c25bf525b4ef412bbb224') depends_on('swig', when='+python') - depends_on('python', when='+python', type=('build', 'run')) + depends_on('python', type=('build', 'run')) depends_on('lhapdf', when='+lhapdf', type=('build', 'run')) variant('python', description='Build python wrapper', default=False) -- cgit v1.2.3-70-g09d2