summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJanne Blomqvist <blomqvist.janne@gmail.com>2019-09-05 17:09:37 +0300
committerAdam J. Stewart <ajstewart426@gmail.com>2019-09-05 09:09:37 -0500
commit30756a643b212a04776887bc8904acbee7004174 (patch)
tree2820e8b4d9ddb34f96a4a9fb707c6152710c9bbd /var
parente50dbe6f768c89e0af4b13e48e9e2624643210e7 (diff)
downloadspack-30756a643b212a04776887bc8904acbee7004174.tar.gz
spack-30756a643b212a04776887bc8904acbee7004174.tar.bz2
spack-30756a643b212a04776887bc8904acbee7004174.tar.xz
spack-30756a643b212a04776887bc8904acbee7004174.zip
py-ase: New version 3.18 (#12697)
* py-ase: New version 3.18 Add ASE version 3.18. ASE 3.18 has dropped support for python 2.x, hence add a dependency on python@3.5: for it. * Add more ASE dependencies Address review comments, add dependencies on py-scipy, py-matplotlib, py-flask, and also add type=('build', 'run') dependency specifiers.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-ase/package.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-ase/package.py b/var/spack/repos/builtin/packages/py-ase/package.py
index 612670d50e..b1f27979dd 100644
--- a/var/spack/repos/builtin/packages/py-ase/package.py
+++ b/var/spack/repos/builtin/packages/py-ase/package.py
@@ -14,8 +14,14 @@ class PyAse(PythonPackage):
homepage = "https://wiki.fysik.dtu.dk/ase/"
url = "https://pypi.io/packages/source/a/ase/ase-3.13.0.tar.gz"
+ version('3.18.0',
+ sha256='39d45f12def2669605bffc82926acfb13a0d0610e6d82740fa316aafa70f97f9')
version('3.15.0', '65a0143753517c2df157e53bd29a18e3')
version('3.13.0', 'e946a0addc5b61e5e2e75857e0f99b89')
- depends_on('python@2.6:')
+ depends_on('python@2.6:', type=('build', 'run'), when='@:3.15.0')
+ depends_on('python@3.5:', type=('build', 'run'), when='@3.18.0:')
depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-matplotlib', type=('build', 'run'))
+ depends_on('py-scipy', type=('build', 'run'))
+ depends_on('py-flask', type=('build', 'run'))