1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 2013-2021 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 PyBigdft(PythonPackage):
"""BigDFT: the python interface of BigDFT for electronic structure calculation
based on Daubechies wavelets."""
homepage = "https://bigdft.org/"
url = "https://gitlab.com/l_sim/bigdft-suite/-/archive/1.9.2/bigdft-suite-1.9.2.tar.gz"
git = "https://gitlab.com/l_sim/bigdft-suite.git"
version('develop', branch='devel')
version('1.9.2', sha256='dc9e49b68f122a9886fa0ef09970f62e7ba21bb9ab1b86be9b7d7e22ed8fbe0f')
version('1.9.1', sha256='3c334da26d2a201b572579fc1a7f8caad1cbf971e848a3e10d83bc4dc8c82e41')
version('1.9.0', sha256='4500e505f5a29d213f678a91d00a10fef9dc00860ea4b3edf9280f33ed0d1ac8')
depends_on('python@:2.8', type=('build', 'run'), when="@:1.8.3")
depends_on('python@3.0:', type=('build', 'run'), when="@1.9.0:")
depends_on('python@3.0:', type=('build', 'run'), when="@develop")
depends_on('py-numpy')
depends_on('py-setuptools')
for vers in ['1.9.0', '1.9.1', '1.9.2', 'develop']:
depends_on('bigdft-futile@{0}'.format(vers), type='run', when='@{0}'.format(vers))
build_directory = "PyBigDFT"
|