Update py-elephant (#39200)
* add elephant version v0.12.0 and 0.13.0 * update copyright * reformat according to black format errors * restore maintainers directive * Update var/spack/repos/builtin/packages/py-elephant/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * add dependency python 3.8+ * sorted dependencies * sort dependencies from newest to oldest * add deps for @master * removed dependency for master, since it is included in 0.12.0: * removed dependency for python 3.7+ , since 3.7+ is the lowest supported version anyway * removed specific deps for master, since master is always newer than all stable releases * updated numpy dependency for Elephant 0.12.0: * Update var/spack/repos/builtin/packages/py-elephant/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-elephant/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * removed upper bounds for py-quantities, omitting v0.14.0 * add elephant v0.14.0 * update required quantities version --------- Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
parent
063c28e559
commit
e8f09713be
@ -16,6 +16,10 @@ class PyElephant(PythonPackage):
|
||||
# list of GitHub accounts to notify when the package is updated.
|
||||
maintainers("Moritz-Alexander-Kern")
|
||||
|
||||
version("master", branch="master")
|
||||
version("0.14.0", sha256="02ce3b2a8d08dc19828f95384551339ea0946bc405c1db9aace54135417c2b0f")
|
||||
version("0.13.0", sha256="2c6463cf9ace41631f2af196c5b80b468bf1c4b264d3a6b1ea0fb587d9e7dd67")
|
||||
version("0.12.0", sha256="81f8d668f92d8688344bb7a9c5abaa8438d824560c935a411e6e36ddf7dc7c72")
|
||||
version("0.11.2", sha256="f8759fff0bbb136ae4ffc8d1eacadeea8ba56610d705c3bf207de87ada3ba240")
|
||||
version("0.11.1", sha256="d604a202583440fdf9d95d42cef50a410bd74fcaaa1a925b139435f27ab012ef")
|
||||
version("0.11.0", sha256="7b547964dbd196361edc922db2c5a7c0c886ef1effcca6c6dc7adb06f966a3be")
|
||||
@ -28,40 +32,44 @@ class PyElephant(PythonPackage):
|
||||
version("0.3.0", sha256="747251ccfb5820bdead6391411b5faf205b4ddf3ababaefe865f50b16540cfef")
|
||||
|
||||
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("python@3.8:", type=("build", "run"), when="@0.12.0:")
|
||||
|
||||
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-neo@0.3.4:", type=("build", "run"), when="@0.3.0:0.4.1")
|
||||
depends_on("py-numpy@1.19.5:", type=("build", "run"), when="@0.12.0:")
|
||||
depends_on("py-numpy@1.18.1:1.23.5", type=("build", "run"), when="@0.6.4:0.11.2")
|
||||
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-quantities@0.14.1:", type=("build", "run"), when="@0.14.0:")
|
||||
depends_on("py-quantities@0.12.1:0.13.0,0.14.1:", type=("build", "run"), when="@0.6.4:0.13.0")
|
||||
depends_on("py-quantities@0.10.1:0.13.0,0.14.1:", type=("build", "run"), when="@0.3.0:0.4.1")
|
||||
depends_on("py-scipy@1.5.4:", type=("build", "run"), when="@0.6.4:")
|
||||
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-six@1.10.0:", type=("build", "run"), when="@0.6.4:")
|
||||
depends_on("py-tqdm", type=("build", "run"), when="@0.6.4:")
|
||||
|
||||
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:")
|
||||
|
||||
depends_on("py-numpydoc@1.1.0:", type=("build", "run"), when="@0.9.0:+docs")
|
||||
depends_on("py-numpydoc@0.5:", type=("build", "run"), when="@0.3.0:0.8.0+docs")
|
||||
depends_on("py-jupyter@1.0.0:", type=("build", "run"), when="@0.7.0:+docs")
|
||||
depends_on("py-sphinx@3.3.0:", type=("build", "run"), when="@0.9.0:+docs")
|
||||
depends_on("py-sphinx@2.4.3:", type=("build", "run"), when="@0.7.0:0.8.0+docs")
|
||||
depends_on("py-sphinx@1.2.2:", type=("build", "run"), when="@0.3.0:0.6.0+docs")
|
||||
depends_on("py-nbsphinx@0.8.0:", type=("build", "run"), when="@0.9.0:+docs")
|
||||
depends_on("py-nbsphinx@0.5.0:", type=("build", "run"), when="@0.7.0:0.8.0+docs")
|
||||
depends_on("py-sphinxcontrib-bibtex@1.0.1:", type=("build", "run"), when="@0.7.0:+docs")
|
||||
depends_on("py-sphinx-tabs@1.3.0:", type=("build", "run"), when="@0.9.0:+docs")
|
||||
depends_on("py-sphinx-tabs@1.1.13:", type=("build", "run"), when="@0.7.0:0.8.0+docs")
|
||||
depends_on("py-matplotlib@3.3.2:", type=("build", "run"), when="@0.9.0:+docs")
|
||||
depends_on("py-matplotlib@3.1.0:", type=("build", "run"), when="@0.8.0+docs")
|
||||
|
Loading…
Reference in New Issue
Block a user