git: 4f1eac722199 - main - math/py-moarchiving: Add py-moarchiving 0.6.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 25 Mar 2022 13:42:29 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4f1eac7221994a696606199d4c26f3f2342a8e43

commit 4f1eac7221994a696606199d4c26f3f2342a8e43
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 12:45:40 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:36:38 +0000

    math/py-moarchiving: Add py-moarchiving 0.6.0
    
    The Python class moarchiving.BiobjectiveNondominatedSortedList implements a
    bi-objective non-dominated archive with list as parent class. It is heavily
    based on the bisect module. It provides easy and fast access to the overall
    hypervolume, the contributing hypervolume of each element, and to the uncrowded
    hypervolume improvement of any given point in objective space.
    
    WWW: https://github.com/CMA-ES/moarchiving
---
 math/Makefile                 |  1 +
 math/py-moarchiving/Makefile  | 19 +++++++++++++++++++
 math/py-moarchiving/distinfo  |  3 +++
 math/py-moarchiving/pkg-descr |  7 +++++++
 4 files changed, 30 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index bc05d30a78af..7b38c2c3de64 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -868,6 +868,7 @@
     SUBDIR += py-matplotlib2
     SUBDIR += py-mip
     SUBDIR += py-mixsimulator
+    SUBDIR += py-moarchiving
     SUBDIR += py-mpmath
     SUBDIR += py-munkres
     SUBDIR += py-munkres10
diff --git a/math/py-moarchiving/Makefile b/math/py-moarchiving/Makefile
new file mode 100644
index 000000000000..40c60fb5e2a7
--- /dev/null
+++ b/math/py-moarchiving/Makefile
@@ -0,0 +1,19 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	moarchiving
+PORTVERSION=	0.6.0
+CATEGORIES=	math python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Biobjective Archive class with hypervolume indicator and uncrowded hypervolume improvement computation
+
+LICENSE=	BSD3CLAUSE
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/math/py-moarchiving/distinfo b/math/py-moarchiving/distinfo
new file mode 100644
index 000000000000..f71517d957ea
--- /dev/null
+++ b/math/py-moarchiving/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1647264408
+SHA256 (moarchiving-0.6.0.tar.gz) = 705ded992d399bc1ac703e68391bded6f64e1bde81b2bb25061eaa6208b5b29a
+SIZE (moarchiving-0.6.0.tar.gz) = 14635
diff --git a/math/py-moarchiving/pkg-descr b/math/py-moarchiving/pkg-descr
new file mode 100644
index 000000000000..9f1b15ea66b7
--- /dev/null
+++ b/math/py-moarchiving/pkg-descr
@@ -0,0 +1,7 @@
+The Python class moarchiving.BiobjectiveNondominatedSortedList implements a
+bi-objective non-dominated archive with list as parent class. It is heavily
+based on the bisect module. It provides easy and fast access to the overall
+hypervolume, the contributing hypervolume of each element, and to the uncrowded
+hypervolume improvement of any given point in objective space.
+
+WWW: https://github.com/CMA-ES/moarchiving