summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorharalmha <47558670+haralmha@users.noreply.github.com>2022-03-08 17:10:56 +0100
committerGitHub <noreply@github.com>2022-03-08 17:10:56 +0100
commit568a535e3fd049e3f2cbc4c3b1502a94c8121be8 (patch)
tree36fde07c6515f91a02f17baa01bfbb73a6ae8432
parentcd5e7579be9358bc7bf624eea299b7ea9a035090 (diff)
downloadspack-568a535e3fd049e3f2cbc4c3b1502a94c8121be8.tar.gz
spack-568a535e3fd049e3f2cbc4c3b1502a94c8121be8.tar.bz2
spack-568a535e3fd049e3f2cbc4c3b1502a94c8121be8.tar.xz
spack-568a535e3fd049e3f2cbc4c3b1502a94c8121be8.zip
apfel: depend on python also for ~python variant (#29395)
-rw-r--r--var/spack/repos/builtin/packages/apfel/package.py2
1 files changed, 1 insertions, 1 deletions
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)