summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-slepc4py/package.py23
1 files changed, 20 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/py-slepc4py/package.py b/var/spack/repos/builtin/packages/py-slepc4py/package.py
index 410c13fe3e..edf21aadf4 100644
--- a/var/spack/repos/builtin/packages/py-slepc4py/package.py
+++ b/var/spack/repos/builtin/packages/py-slepc4py/package.py
@@ -9,11 +9,28 @@ from spack import *
class PySlepc4py(PythonPackage):
"""This package provides Python bindings for the SLEPc package.
"""
- homepage = "https://pypi.python.org/pypi/slepc4py"
- url = "https://pypi.io/packages/source/s/slepc4py/slepc4py-3.7.0.tar.gz"
- version('3.7.0', 'c4775e88b0825c7313629c01de60ecb2')
+ homepage = "https://bitbucket.org/slepc/slepc4py"
+ url = "https://bitbucket.org/slepc/slepc4py/get/3.10.0.tar.gz"
+ git = "https://bitbucket.org/slepc/slepc4py.git"
+
+ version('3.10.0', sha256='6494959f44280d3b80e73978d7a6bf656c9bb04bb3aa395c668c7a58948db1c6')
+ version('3.9.0', sha256='84cab4216268c2cb7d01e7cdbb1204a3c3e13cdfcd7a78ea057095f96f68c3c0')
+ version('3.8.0', sha256='988815b3650b69373be9abbf2355df512dfd200aa74b1785b50a484d6dfee971')
+ version('3.7.0', sha256='139f8bb325dad00a0e8dbe5b3e054050c82547936c1b6e7812fb1a3171c9ad0b')
depends_on('py-setuptools', type='build')
+
depends_on('py-petsc4py', type=('build', 'run'))
+ depends_on('py-petsc4py@3.10:3.10.99', when='@3.10:3.10.99', type=('build', 'run'))
+ depends_on('py-petsc4py@3.9:3.9.99', when='@3.9:3.9.99', type=('build', 'run'))
+ depends_on('py-petsc4py@3.8:3.8.99', when='@3.8:3.8.99', type=('build', 'run'))
+ depends_on('py-petsc4py@3.7:3.7.99', when='@3.7:3.7.99', type=('build', 'run'))
+ depends_on('py-petsc4py@3.6:3.6.99', when='@3.6:3.6.99', type=('build', 'run'))
+
depends_on('slepc')
+ depends_on('slepc@3.10:3.10.99', when='@3.10:3.10.99')
+ depends_on('slepc@3.9:3.9.99', when='@3.9:3.9.99')
+ depends_on('slepc@3.8:3.8.99', when='@3.8:3.8.99')
+ depends_on('slepc@3.7:3.7.99', when='@3.7:3.7.99')
+ depends_on('slepc@3.6:3.6.99', when='@3.6:3.6.99')