summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2021-06-01 16:10:38 +0200
committerGitHub <noreply@github.com>2021-06-01 08:10:38 -0600
commitc015e84291c5aa96d9b6e29cbb07610580ebbaad (patch)
tree40bd582dff6e04fbc56f9b1ec668a8a38013e285
parent379482b653ab311ea1adf14c0e0cf31efbbdbe62 (diff)
downloadspack-c015e84291c5aa96d9b6e29cbb07610580ebbaad.tar.gz
spack-c015e84291c5aa96d9b6e29cbb07610580ebbaad.tar.bz2
spack-c015e84291c5aa96d9b6e29cbb07610580ebbaad.tar.xz
spack-c015e84291c5aa96d9b6e29cbb07610580ebbaad.zip
py-elephant: fix typo in dependency condition (#24060)
refers #23503 `spack audit` caught that the "docs" variant was not defined.
-rw-r--r--var/spack/repos/builtin/packages/py-elephant/package.py4
1 files 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')