apfel: depend on python also for ~python variant (#29395)

This commit is contained in:
haralmha
2022-03-08 17:10:56 +01:00
committed by GitHub
parent cd5e7579be
commit 568a535e3f

View File

@@ -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)