summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Huebl <axel.huebl@plasma.ninja>2021-03-18 04:19:58 -0700
committerGitHub <noreply@github.com>2021-03-18 11:19:58 +0000
commitf901c61e684a251c4396221517ff492a741dd946 (patch)
tree1938de8484fc010299354ccf6260feebb2f03f1e
parent8cf6ad99170a64becb932c6e4c255c8adf4230c2 (diff)
downloadspack-f901c61e684a251c4396221517ff492a741dd946.tar.gz
spack-f901c61e684a251c4396221517ff492a741dd946.tar.bz2
spack-f901c61e684a251c4396221517ff492a741dd946.tar.xz
spack-f901c61e684a251c4396221517ff492a741dd946.zip
py-yt: 3.6.1 (#22329)
* py-yt: 3.6.1 The latest bugfix release of yt-project fixes issues with matplotlib version 3.3.0+. * py-yt: add many more version constrains
-rw-r--r--var/spack/repos/builtin/packages/py-yt/package.py25
1 files changed, 15 insertions, 10 deletions
diff --git a/var/spack/repos/builtin/packages/py-yt/package.py b/var/spack/repos/builtin/packages/py-yt/package.py
index 192cdc275c..9ec95aef2e 100644
--- a/var/spack/repos/builtin/packages/py-yt/package.py
+++ b/var/spack/repos/builtin/packages/py-yt/package.py
@@ -19,9 +19,13 @@ class PyYt(PythonPackage):
url = "https://github.com/yt-project/yt/archive/yt-3.5.0.tar.gz"
git = "https://github.com/yt-project/yt.git"
+ maintainers = ['qobilidop']
+
version("develop", branch="master")
version("develop-4.0", branch="yt-4.0")
+ version('3.6.1', sha256='a1be3ea7e18729d3cd86e9234dc4731bf23200dff3344fa756fe173ea36cc747')
+ version('3.6.0', sha256='4e3bab11766d5950477ba4d6c528a495e12cda1155227361b4579ac4ac0bf975')
version('3.5.1', sha256='cdc0ecb153e737d74820581f311d1be7b6f1a7ee065ad69706470939db88b041')
version('3.5.0', sha256='548598912adba72b782b7422d40d1d12a8c1a6cd064281a9a537fdb2a5af89fc')
version('3.4.1', sha256='b9a73ade3726a8163fc992999c8c1010ca89473131901fe4d48b820ab2ced486')
@@ -40,18 +44,19 @@ class PyYt(PythonPackage):
variant("scipy", default=True, description="enable scipy support")
variant("rockstar", default=False, description="enable rockstar support")
- depends_on("py-astropy", type=('build', 'run'), when="+astropy")
- depends_on("py-cython", type=('build', 'run'))
- depends_on("py-h5py", type=('build', 'run'), when="+h5py")
- depends_on("py-ipython", type=('build', 'run'))
+ depends_on("py-astropy@4.0.1:", type=('build', 'run'), when="+astropy")
+ depends_on("py-cython@0.24:", type=('build', 'run'))
+ depends_on("py-h5py@3.1:", type=('build', 'run'), when="+h5py")
+ depends_on("py-ipython@1.0:", type=('build', 'run'))
depends_on("py-ipython@:6.99", type=('build', 'run'), when="^python@:2.99")
- depends_on("py-matplotlib", type=('build', 'run'))
- depends_on("py-numpy", type=('build', 'run'))
- depends_on("py-scipy", type=('build', 'run'), when="+scipy")
- depends_on("py-setuptools", type=('build', 'run'))
- depends_on("py-sympy", type=('build', 'run'))
+ depends_on("py-matplotlib@1.5.3:", type=('build', 'run'))
+ depends_on("py-matplotlib@:3.2.2", type=('build', 'run'), when="@:3.6.0")
+ depends_on("py-numpy@1.10.4:", type=('build', 'run'))
+ depends_on("py-scipy@1.5.0:", type=('build', 'run'), when="+scipy")
+ depends_on("py-setuptools@19.6:", type=('build', 'run'))
+ depends_on("py-sympy@1.0:", type=('build', 'run'))
depends_on("rockstar@yt", type=('build', 'run'), when="+rockstar")
- depends_on("python@2.7:2.8,3.4:")
+ depends_on("python@2.7.0:2.7.99,3.5:", type=('build', 'run'))
@run_before('install')
def prep_yt(self):