From 650c63a0fdc7421226304c9e8a6761df0cc1d80a Mon Sep 17 00:00:00 2001 From: Sid Pendelberry Date: Wed, 5 Jan 2022 10:09:48 -0500 Subject: [PATCH] renamed package to align with usage --- .../builtin/packages/py-pybobyqa/package.py | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-pybobyqa/package.py 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 0000000000000..044458ae6d8a0 --- /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'))