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-12-02 02:01:08 +08:00
|
|
|
#
|
2018-10-08 04:52:23 +08:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2017-12-02 02:01:08 +08:00
|
|
|
|
|
|
|
from spack import *
|
|
|
|
|
|
|
|
|
|
|
|
class PyLibensemble(PythonPackage):
|
|
|
|
"""Library for managing ensemble-like collections of computations."""
|
|
|
|
|
|
|
|
homepage = "https://libensemble.readthedocs.io"
|
2019-07-12 23:36:44 +08:00
|
|
|
url = "https://pypi.io/packages/source/l/libensemble/libensemble-0.5.1.tar.gz"
|
2018-07-24 09:55:17 +08:00
|
|
|
git = "https://github.com/Libensemble/libensemble.git"
|
2017-12-02 02:01:08 +08:00
|
|
|
|
2019-05-25 04:11:57 +08:00
|
|
|
version('develop', branch='develop')
|
2019-07-12 23:36:44 +08:00
|
|
|
version('0.5.1', sha256='522e0cc086a3ed75a101b704c0fe01eae07f2684bd8d6da7bdfe9371d3187362')
|
2019-05-25 04:11:57 +08:00
|
|
|
version('0.5.0', sha256='c4623171dee049bfaa38a9c433609299a56b1afb774db8b71321247bc7556b8f')
|
2019-02-26 04:37:51 +08:00
|
|
|
version('0.4.1', sha256='282c32ffb79d84cc80b5cc7043c202d5f0b8ebff10f63924752f092e3938db5e')
|
|
|
|
version('0.4.0', sha256='9384aa3a58cbc20bbd1c6fddfadb5e6a943d593a3a81c8665f030dbc6d76e76e')
|
2018-09-15 08:15:31 +08:00
|
|
|
version('0.3.0', sha256='c8efdf45d0da0ef6299ee778cea1c285c95972af70d3a729ee6dc855e66f9294')
|
2018-06-30 03:51:30 +08:00
|
|
|
version('0.2.0', 'ee96047594a3f5a1533f24d3b1f365f9')
|
2017-12-02 02:01:08 +08:00
|
|
|
version('0.1.0', '0c3d45dd139429de1a5273e5bd8e46ec')
|
|
|
|
|
2019-05-25 04:11:57 +08:00
|
|
|
depends_on('python@3.4:', when='@0.5.0:')
|
|
|
|
depends_on('python@2.7:2.8,3.3:', when='@:0.4.1')
|
2017-12-02 02:01:08 +08:00
|
|
|
depends_on('py-setuptools', type='build')
|
|
|
|
depends_on('mpi')
|
|
|
|
depends_on('py-mpi4py@2.0:', type=('build', 'run'))
|
|
|
|
depends_on('py-numpy', type=('build', 'run'))
|
|
|
|
depends_on('py-scipy', type=('build', 'run'))
|
2019-02-26 04:37:51 +08:00
|
|
|
depends_on('py-petsc4py', type=('build', 'run'))
|
2019-02-07 23:06:31 +08:00
|
|
|
depends_on('py-petsc4py@develop', type=('build', 'run'), when='@develop')
|
2017-12-02 02:01:08 +08:00
|
|
|
depends_on('nlopt', type=('build', 'run'))
|