spack/var/spack/repos/builtin/packages/py-sfepy/package.py
Todd Gamblin 62927654dd checksums: use sha256 checksums everywhere
We'd like to use a consistent checksum scheme everywhere so that we can:

    a) incorporate archive checksums into our specs and have a
       consistent hashing algorithm across all specs.

    b) index mirrors with a consistent type of checksum, and not one that
       is dependent on how spack packages are written.

- [x] convert existing md5, sha224, sha512, sha1 checksums to sha256
2019-10-12 07:19:43 -07:00

32 lines
1.2 KiB
Python

# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class PySfepy(PythonPackage):
"""SfePy (http://sfepy.org) is a software for solving systems of coupled
partial differential equations (PDEs) by the finite element method in 1D,
2D and 3D. It can be viewed both as black-box PDE solver, and as a Python
package which can be used for building custom applications.
"""
homepage = "http://sfepy.org"
url = "https://github.com/sfepy/sfepy/archive/release_2017.3.tar.gz"
version('2017.3', sha256='d13642b7abed63b83b7eaef4dfce6e84a5afc5798bc7ffa1c413e3e44b5e5996')
variant('petsc', default=False, description='Enable PETSc support')
depends_on('py-numpy', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-six', type='run')
depends_on('py-scipy', type='run')
depends_on('py-matplotlib', type='run')
depends_on('py-sympy', type='run')
depends_on('hdf5+hl', type='run')
depends_on('py-tables', type='run')
depends_on('py-petsc4py', type='run', when='+petsc')