summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorSinan <sbulutw@gmail.com>2020-07-02 00:14:39 -0700
committerGitHub <noreply@github.com>2020-07-02 09:14:39 +0200
commite133b44da63a30ac5aed5dd3bb8b6d18a288b52d (patch)
tree557f837e0ada37b428984ab699555e6a455e32f5 /var
parent5732d8de50a958ce2005c3cf567d884433f10544 (diff)
downloadspack-e133b44da63a30ac5aed5dd3bb8b6d18a288b52d.tar.gz
spack-e133b44da63a30ac5aed5dd3bb8b6d18a288b52d.tar.bz2
spack-e133b44da63a30ac5aed5dd3bb8b6d18a288b52d.tar.xz
spack-e133b44da63a30ac5aed5dd3bb8b6d18a288b52d.zip
py-opt-einsum: added v3.2.1, v3.2.0 and v2.3.2 (#17339)
Co-authored-by: Sinan81 <sbulut@3vgeomatics.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-opt-einsum/package.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-opt-einsum/package.py b/var/spack/repos/builtin/packages/py-opt-einsum/package.py
index 4de5712076..0f430c76f8 100644
--- a/var/spack/repos/builtin/packages/py-opt-einsum/package.py
+++ b/var/spack/repos/builtin/packages/py-opt-einsum/package.py
@@ -12,9 +12,13 @@ class PyOptEinsum(PythonPackage):
homepage = "https://github.com/dgasmith/opt_einsum"
url = "https://pypi.io/packages/source/o/opt_einsum/opt_einsum-3.1.0.tar.gz"
+ version('3.2.1', sha256='83b76a98d18ae6a5cc7a0d88955a7f74881f0e567a0f4c949d24c942753eb998')
+ version('3.2.0', sha256='738b0a1db1d3084d360081bb64d826f9db06d2df7cc0bf8e2c9356028da1fa31')
version('3.1.0', sha256='edfada4b1d0b3b782ace8bc14e80618ff629abf53143e1e6bbf9bd00b11ece77')
+ version('2.3.2', sha256='d3d464b4da7ef09e444c30e4003a27def37f85ff10ff2671e5f7d7813adac35b')
- depends_on('python@3.5:', type=('build', 'run'))
+ depends_on('python@:2', type=('build', 'run'), when='@2')
+ depends_on('python@3.5:', type=('build', 'run'), when='@3:')
depends_on('py-setuptools', type='build')
depends_on('py-numpy@1.7:', type=('build', 'run'))
depends_on('py-pytest', type='test')