py-sfepy: add v2021.3 (#26865)

This commit is contained in:
Robert Cimrman 2021-10-22 01:50:38 +02:00 committed by GitHub
parent dbe1060420
commit 9b28f99dd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,11 +14,16 @@ class PySfepy(PythonPackage):
"""
homepage = "https://sfepy.org"
url = "https://github.com/sfepy/sfepy/archive/release_2017.3.tar.gz"
url = "https://github.com/sfepy/sfepy/archive/release_2021.3.tar.gz"
git = "https://github.com/sfepy/sfepy.git"
version('2017.3', sha256='d13642b7abed63b83b7eaef4dfce6e84a5afc5798bc7ffa1c413e3e44b5e5996')
version('2021.3', sha256='822407595e0af5aeaca6ca50e88e46658b5021e177244cbb763dd260e94eda81')
version('2017.3', sha256='d13642b7abed63b83b7eaef4dfce6e84a5afc5798bc7ffa1c413e3e44b5e5996', deprecated=True)
variant('petsc', default=False, description='Enable PETSc support')
variant('slepc', default=False, description='Enable SLEPc support')
variant('pyamg', default=False, description='Enable PyAMG support')
variant('mumps', default=False, description='Enable MUMPS support')
depends_on('py-numpy', type=('build', 'run'))
depends_on('py-setuptools', type='build')
@ -28,4 +33,12 @@ class PySfepy(PythonPackage):
depends_on('py-sympy', type='run')
depends_on('hdf5+hl', type='run')
depends_on('py-tables', type='run')
depends_on('py-meshio', type='run', when='@2021.3')
depends_on('py-psutil', type='run', when='@2021.3')
depends_on('py-pyvista', type='run', when='@2021.3')
depends_on('py-opt-einsum', type='run', when='@2021.3')
depends_on('py-dask', type='run', when='@2021.3')
depends_on('py-petsc4py', type='run', when='+petsc')
depends_on('py-slepc4py', type='run', when='+slepc @2021.3')
depends_on('py-pyamg', type='run', when='+pyamg @2021.3')
depends_on('mumps', type='run', when='+mumps @2021.3')