diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/py-pybobyqa/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-pybobyqa/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pybobyqa/package.py b/var/spack/repos/builtin/packages/py-pybobyqa/package.py new file mode 100644 index 0000000000..044458ae6d --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pybobyqa/package.py @@ -0,0 +1,21 @@ +# Copyright 2013-2022 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 PyPybobyqa(PythonPackage): + """Py-BOBYQA is a flexible package for solving bound-constrained general + objective minimization, without requiring derivatives of the objective.""" + + homepage = "https://github.com/numericalalgorithmsgroup/pybobyqa/" + pypi = "Py-BOBYQA/Py-BOBYQA-1.3.tar.gz" + + version('1.3', sha256='7b0b27b7b9a7cfef94557c8832c0c30757e86764e32878677427381f0691a8fb') + + depends_on('py-setuptools', type='build') + depends_on('py-scipy@0.17:', type=('build', 'run')) + depends_on('py-pandas@0.17:', type=('build', 'run')) + depends_on('py-numpy@1.11:', type=('build', 'run')) |