summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)