summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLydéric Debusschère <lyderic.de@gmail.com>2023-10-28 15:06:48 +0200
committerGitHub <noreply@github.com>2023-10-28 08:06:48 -0500
commit64ec6e7d8e0138d17eb93a2436edfe88ece07123 (patch)
treeed25b615c769d77e7396e528af6ec5e11d6ea0ee
parent9f95945cb518c16f8d910b0450b78ec2dc520398 (diff)
downloadspack-64ec6e7d8e0138d17eb93a2436edfe88ece07123.tar.gz
spack-64ec6e7d8e0138d17eb93a2436edfe88ece07123.tar.bz2
spack-64ec6e7d8e0138d17eb93a2436edfe88ece07123.tar.xz
spack-64ec6e7d8e0138d17eb93a2436edfe88ece07123.zip
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>
-rw-r--r--var/spack/repos/builtin/packages/py-moarchiving/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-moarchiving/package.py b/var/spack/repos/builtin/packages/py-moarchiving/package.py
new file mode 100644
index 0000000000..a43a9c9efa
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-moarchiving/package.py
@@ -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"))