py-moarchiving: new package (#40558)
* [add] py-moarchiving: new package * py-moarchiving: update from review: description, variant default value is False, switch when and type --------- Co-authored-by: LydDeb <lyderic.debusschere@eolen.com>
This commit is contained in:
parent
9f95945cb5
commit
64ec6e7d8e
1 changed files with 25 additions and 0 deletions
25
var/spack/repos/builtin/packages/py-moarchiving/package.py
Normal file
25
var/spack/repos/builtin/packages/py-moarchiving/package.py
Normal file
|
@ -0,0 +1,25 @@
|
|||
# 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 PyMoarchiving(PythonPackage):
|
||||
"""
|
||||
Biobjective Archive class with hypervolume indicator and uncrowded
|
||||
hypervolume improvement computation.
|
||||
"""
|
||||
|
||||
homepage = "https://github.com/CMA-ES/moarchiving"
|
||||
pypi = "moarchiving/moarchiving-0.6.0.tar.gz"
|
||||
|
||||
maintainers("LydDeb")
|
||||
|
||||
version("0.6.0", sha256="705ded992d399bc1ac703e68391bded6f64e1bde81b2bb25061eaa6208b5b29a")
|
||||
|
||||
variant("arbitrary_precision", default=False, description="Build with Fraction support")
|
||||
|
||||
depends_on("py-setuptools", type="build")
|
||||
depends_on("py-fraction", when="+arbitrary_precision", type=("build", "run"))
|
Loading…
Reference in a new issue