2019-01-01 14:04:23 +08:00
|
|
|
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
|
2018-10-08 04:52:23 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
2017-02-21 07:43:33 +08:00
|
|
|
#
|
2018-10-08 04:52:23 +08:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2017-02-21 07:43:33 +08:00
|
|
|
from spack import *
|
|
|
|
|
|
|
|
|
|
|
|
class PySlepc4py(PythonPackage):
|
|
|
|
"""This package provides Python bindings for the SLEPc package.
|
|
|
|
"""
|
|
|
|
|
2019-01-02 22:58:45 +08:00
|
|
|
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')
|
2017-02-21 07:43:33 +08:00
|
|
|
|
|
|
|
depends_on('py-setuptools', type='build')
|
2019-01-02 22:58:45 +08:00
|
|
|
|
2017-02-21 07:43:33 +08:00
|
|
|
depends_on('py-petsc4py', type=('build', 'run'))
|
2019-01-02 22:58:45 +08:00
|
|
|
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'))
|
|
|
|
|
2017-06-25 13:22:55 +08:00
|
|
|
depends_on('slepc')
|
2019-01-02 22:58:45 +08:00
|
|
|
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')
|