summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-elephant/package.py62
1 files changed, 49 insertions, 13 deletions
diff --git a/var/spack/repos/builtin/packages/py-elephant/package.py b/var/spack/repos/builtin/packages/py-elephant/package.py
index 4531b2e269..95624f4bde 100644
--- a/var/spack/repos/builtin/packages/py-elephant/package.py
+++ b/var/spack/repos/builtin/packages/py-elephant/package.py
@@ -10,20 +10,56 @@ class PyElephant(PythonPackage):
"""Elephant is a package for analysis of electrophysiology data in Python
"""
- homepage = "https://neuralensemble.org/elephant"
- pypi = "elephant/elephant-0.3.0.tar.gz"
+ homepage = "http://neuralensemble.org/elephant/"
+ pypi = "elephant/elephant-0.11.0.tar.gz"
+ git = "https://github.com/NeuralEnsemble/elephant.git"
+ # list of GitHub accounts to notify when the package is updated.
+ maintainers = ['Moritz-Alexander-Kern']
+
+ version('0.11.1', sha256='d604a202583440fdf9d95d42cef50a410bd74fcaaa1a925b139435f27ab012ef')
+ version('0.11.0', sha256='7b547964dbd196361edc922db2c5a7c0c886ef1effcca6c6dc7adb06f966a3be')
+ version('0.10.0', sha256='7e69a113475e4db01b3563328953c037d37f1597d9f2edf0d51fb65e9aebf096')
+ version('0.9.0', sha256='3e3d4a8e45d708f48bdcadcc4933c66f757d1ede6a1e172af0c07331b64ca180')
+ version('0.8.0', sha256='f7c2649d5b7cfdbaa4442457c75f86af01cc8e7ce2c63f5b3d4687bb94e10af2')
+ version('0.7.0', sha256='76785fe10c40042504928fde2fc57182230bbe39cf0fb0dcaffaba76219b046a')
+ version('0.6.4', sha256='b8c5f2c00ad3249e1fe428d0b8a1dbcaee4a69464481f5f8fd55d2f7f22c45a3')
version('0.4.1', sha256='86b21a44cbacdc09a6ba6f51738dcd5b42ecd553d73acb29f71a0be7c82eac81')
version('0.3.0', sha256='747251ccfb5820bdead6391411b5faf205b4ddf3ababaefe865f50b16540cfef')
- variant('doc', default=False, description='Build the documentation')
- variant('pandas', default=True, description='Build with pandas')
-
- depends_on('py-setuptools', type='build')
- depends_on('py-neo@0.3.4:', type=('build', 'run')) # > 0.3.3 ?
- depends_on('py-numpy@1.8.2:', type=('build', 'run'))
- 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='+doc')
- depends_on('py-sphinx@1.2.2:', type=('build', 'run'), when='+doc')
+ variant('docs', default=False, description='Install documentation dependencies')
+ variant('pandas', default=False, description='Build with pandas', when='@0.3.0:0.4.1')
+ variant('extras', default=False, description='Build with extras for GPFA, ASSET', when='@0.6.4:')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('python@3.7:', type=('build', 'run'), when='@0.11.0:')
+ depends_on('py-neo@0.3.4:', type=('build', 'run'), when='@0.3.0:0.4.1')
+ depends_on('py-numpy@1.8.2:', type=('build', 'run'), when='@0.3.0:0.4.1')
+ depends_on('py-quantities@0.10.1:', type=('build', 'run'), when='@0.3.0:0.4.1')
+ depends_on('py-scipy@0.14.0:', type=('build', 'run'), when='@0.3.0:0.4.1')
+ depends_on('py-pandas@0.14.1:', type=('build', 'run'), when='+pandas')
+ depends_on('py-numpydoc@0.5:', type=('build', 'run'), when='@0.3.0:0.8.0+docs')
+ depends_on('py-numpydoc@1.1.0:', type=('build', 'run'), when='@0.9.0:+docs')
+ depends_on('py-sphinx@1.2.2:', type=('build', 'run'), when='@0.3.0:0.6.0+docs')
+ depends_on('py-sphinx@2.4.3:', type=('build', 'run'), when='@0.7.0:0.8.0+docs')
+ depends_on('py-sphinx@3.3.0:', type=('build', 'run'), when='@0.9.0:+docs')
+ depends_on('py-jupyter@1.0.0:', type=('build', 'run'), when='@0.7.0:+docs')
+ depends_on('py-nbsphinx@0.5.0:', type=('build', 'run'), when='@0.7.0:0.8.0+docs')
+ depends_on('py-nbsphinx@0.8.0:', type=('build', 'run'), when='@0.9.0:+docs')
+ depends_on('py-sphinxcontrib-bibtex@1.0.0', type=('build', 'run'), when='@0.7.0:+docs')
+ depends_on('py-sphinx-tabs@1.1.13:', type=('build', 'run'), when='@0.7.0:0.8.0+docs')
+ depends_on('py-sphinx-tabs@1.3.0:', type=('build', 'run'), when='@0.9.0:+docs')
+ depends_on('py-matplotlib@3.1.0:', type=('build', 'run'), when='@0.8.0+docs')
+ depends_on('py-matplotlib@3.3.2:', type=('build', 'run'), when='@0.9.0:+docs')
+ depends_on('py-pandas@0.18.0:', type=('build', 'run'), when='+extras')
+ depends_on('py-scikit-learn@0.23.2:', type=('build', 'run'), when='+extras')
+ depends_on('py-statsmodels@0.12.1:', type=('build', 'run'), when='+extras')
+ depends_on('py-jinja2@2.11.2:', type=('build', 'run'), when='+extras')
+ depends_on('py-neo@0.10.0:', type=('build', 'run'), when='@0.11.0:')
+ depends_on('py-neo@0.9.0', type=('build', 'run'), when='@0.9.0:0.10.0')
+ depends_on('py-neo@0.8.0', type=('build', 'run'), when='@0.6.4:0.8.0')
+ depends_on('py-numpy@1.18.1:', type=('build', 'run'), when='@0.6.4:')
+ depends_on('py-quantities@0.12.1:', type=('build', 'run'), when='@0.6.4:')
+ depends_on('py-scipy@1.5.4:', type=('build', 'run'), when='@0.6.4:')
+ depends_on('py-six@1.10.0:', type=('build', 'run'), when='@0.6.4:')
+ depends_on('py-tqdm', type=('build', 'run'), when='@0.6.4:')