| @@ -17,6 +17,7 @@ class PyMne(PythonPackage): | |||||||
| 
 | 
 | ||||||
|     license("BSD-3-Clause") |     license("BSD-3-Clause") | ||||||
| 
 | 
 | ||||||
|  |     version("1.7.1", sha256="a87bbc998b792532d2c87add8b0f7bbf28a4d8cf5db1bdfb6d6e260791754498") | ||||||
|     version("1.6.1", sha256="e4f5683d01cef675eddad788bdb6b44cc015dff0fb1ddfca3c4105edfb757ef8") |     version("1.6.1", sha256="e4f5683d01cef675eddad788bdb6b44cc015dff0fb1ddfca3c4105edfb757ef8") | ||||||
|     version("1.4.2", sha256="dd2bf35a90d951bef15ff3a651045b0373eff26018a821667109c727d55c7d63") |     version("1.4.2", sha256="dd2bf35a90d951bef15ff3a651045b0373eff26018a821667109c727d55c7d63") | ||||||
|     version("1.4.0", sha256="7834f5b79c2c9885ca601bbddd8db3c2b2f37c34443fc0caf0447751f6c37a2a") |     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("full", default=False, when="@:0.23", description="Enable full functionality.") | ||||||
|     variant("hdf5", default=False, when="@1:", description="Enable hdf5 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("python@3.8:", when="@1.4:", type=("build", "run")) | ||||||
|     depends_on("py-setuptools@45:", when="@1.4:", type="build") |     depends_on("py-hatchling", when="@1.7:", type="build") | ||||||
|     depends_on("py-setuptools", type="build") |     depends_on("py-hatch-vcs", when="@1.7:", type="build") | ||||||
|     depends_on("py-setuptools-scm@6.2:", when="@1.4:", type="build") |  | ||||||
| 
 | 
 | ||||||
|     # requirements_base.txt with versions specified in README.rst (marked with *) |     # 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")) |     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-decorator", when="@1:", type=("build", "run")) | ||||||
|     depends_on("py-packaging", 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-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")) |     depends_on("py-lazy-loader@0.3:", when="@1.6.1:", type=("build", "run")) | ||||||
| 
 | 
 | ||||||
|     with when("+hdf5"): |     with when("+hdf5"): | ||||||
|         depends_on("py-h5io", type=("build", "run")) |         depends_on("py-h5io", type=("build", "run")) | ||||||
|         depends_on("py-pymatreader", 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"): |     with when("+full"): | ||||||
|         # requirements.txt with versions specified in README.rst (marked with *) |         # requirements.txt with versions specified in README.rst (marked with *) | ||||||
|         depends_on("py-matplotlib@3.0.3:", type=("build", "run"))  # * |         depends_on("py-matplotlib@3.0.3:", type=("build", "run"))  # * | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Manuela Kuhn
					Manuela Kuhn