summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2024-07-26 21:04:58 +0200
committerGitHub <noreply@github.com>2024-07-26 12:04:58 -0700
commit3180b28d76d951eea44de1af6b6c8812b35962ab (patch)
treec00c4a68db7f403fbdaa7520195b6042469042bb
parentb47c31509d9c18c19561348dd289032faf415a72 (diff)
downloadspack-3180b28d76d951eea44de1af6b6c8812b35962ab.tar.gz
spack-3180b28d76d951eea44de1af6b6c8812b35962ab.tar.bz2
spack-3180b28d76d951eea44de1af6b6c8812b35962ab.tar.xz
spack-3180b28d76d951eea44de1af6b6c8812b35962ab.zip
py-mne: add v1.7.1 (#45400)
* py-mne: add v1.7.1 * fix style
-rw-r--r--var/spack/repos/builtin/packages/py-mne/package.py19
1 files changed, 12 insertions, 7 deletions
diff --git a/var/spack/repos/builtin/packages/py-mne/package.py b/var/spack/repos/builtin/packages/py-mne/package.py
index 53edb8c9a5..942680c8d7 100644
--- a/var/spack/repos/builtin/packages/py-mne/package.py
+++ b/var/spack/repos/builtin/packages/py-mne/package.py
@@ -17,6 +17,7 @@ class PyMne(PythonPackage):
license("BSD-3-Clause")
+ version("1.7.1", sha256="a87bbc998b792532d2c87add8b0f7bbf28a4d8cf5db1bdfb6d6e260791754498")
version("1.6.1", sha256="e4f5683d01cef675eddad788bdb6b44cc015dff0fb1ddfca3c4105edfb757ef8")
version("1.4.2", sha256="dd2bf35a90d951bef15ff3a651045b0373eff26018a821667109c727d55c7d63")
version("1.4.0", sha256="7834f5b79c2c9885ca601bbddd8db3c2b2f37c34443fc0caf0447751f6c37a2a")
@@ -30,10 +31,10 @@ class PyMne(PythonPackage):
variant("full", default=False, when="@:0.23", description="Enable full functionality.")
variant("hdf5", default=False, when="@1:", description="Enable hdf5 functionality.")
+ depends_on("python@3.9:", when="@1.7:", type=("build", "run"))
depends_on("python@3.8:", when="@1.4:", type=("build", "run"))
- depends_on("py-setuptools@45:", when="@1.4:", type="build")
- depends_on("py-setuptools", type="build")
- depends_on("py-setuptools-scm@6.2:", when="@1.4:", type="build")
+ depends_on("py-hatchling", when="@1.7:", type="build")
+ depends_on("py-hatch-vcs", when="@1.7:", type="build")
# requirements_base.txt with versions specified in README.rst (marked with *)
depends_on("py-numpy@1.21.2:", when="@1.6.1:", type=("build", "run"))
@@ -55,16 +56,20 @@ class PyMne(PythonPackage):
depends_on("py-decorator", when="@1:", type=("build", "run"))
depends_on("py-packaging", when="@1:", type=("build", "run"))
depends_on("py-jinja2", when="@1:", type=("build", "run"))
- depends_on(
- "py-importlib-resources@5.10.2:", when="@1.6.1: ^python@:3.9", type=("build", "run")
- )
- depends_on("py-importlib-resources@5.10.2:", when="@1.4: ^python@:3.8", type=("build", "run"))
depends_on("py-lazy-loader@0.3:", when="@1.6.1:", type=("build", "run"))
with when("+hdf5"):
depends_on("py-h5io", type=("build", "run"))
depends_on("py-pymatreader", type=("build", "run"))
+ # Historical dependencies
+ depends_on("py-setuptools@45:", when="@1.4:1.6", type="build")
+ depends_on("py-setuptools", when="@:1.6", type="build")
+ depends_on("py-setuptools-scm@6.2:", when="@1.4:1.6", type="build")
+ depends_on(
+ "py-importlib-resources@5.10.2:", when="@1.4:1.6 ^python@:3.9", type=("build", "run")
+ )
+
with when("+full"):
# requirements.txt with versions specified in README.rst (marked with *)
depends_on("py-matplotlib@3.0.3:", type=("build", "run")) # *