py-elephant: fix typo in dependency condition (#24060)

refers #23503

`spack audit` caught that the "docs" variant was not defined.
This commit is contained in:
Massimiliano Culpo 2021-06-01 16:10:38 +02:00 committed by GitHub
parent 379482b653
commit c015e84291
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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