diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/py-cmaes/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-cmaes/package.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-cmaes/package.py b/var/spack/repos/builtin/packages/py-cmaes/package.py new file mode 100644 index 0000000000..26730ea43d --- /dev/null +++ b/var/spack/repos/builtin/packages/py-cmaes/package.py @@ -0,0 +1,22 @@ +# Copyright 2013-2023 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.package import * + + +class PyCmaes(PythonPackage): + """Lightweight Covariance Matrix Adaptation Evolution Strategy (CMA-ES) implementation.""" + + homepage = "https://github.com/CyberAgentAILab/cmaes" + pypi = "cmaes/cmaes-0.10.0.tar.gz" + + maintainers("eugeneswalker") + + version("0.10.0", sha256="48afc70df027114739872b50489ae6b32461c307b92d084a63c7090a9742faf9") + + depends_on("py-setuptools@61:", type="build") + + depends_on("py-numpy", type=("build", "run")) |