From c015e84291c5aa96d9b6e29cbb07610580ebbaad Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Tue, 1 Jun 2021 16:10:38 +0200 Subject: py-elephant: fix typo in dependency condition (#24060) refers #23503 `spack audit` caught that the "docs" variant was not defined. --- var/spack/repos/builtin/packages/py-elephant/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-elephant/package.py b/var/spack/repos/builtin/packages/py-elephant/package.py index 7e5798aa20..3fe5a3fb3f 100644 --- a/var/spack/repos/builtin/packages/py-elephant/package.py +++ b/var/spack/repos/builtin/packages/py-elephant/package.py @@ -25,5 +25,5 @@ class PyElephant(PythonPackage): depends_on('py-quantities@0.10.1:', type=('build', 'run')) depends_on('py-scipy@0.14.0:', type=('build', 'run')) depends_on('py-pandas@0.14.1:', type=('build', 'run'), when='+pandas') - depends_on('py-numpydoc@0.5:', type=('build', 'run'), when='+docs') - depends_on('py-sphinx@1.2.2:', type=('build', 'run'), when='+docs') + depends_on('py-numpydoc@0.5:', type=('build', 'run'), when='+doc') + depends_on('py-sphinx@1.2.2:', type=('build', 'run'), when='+doc') -- cgit v1.2.3-70-g09d2