git: 06bb002eb163 - main - math/py-cma: Add CONSTRAINED_SOLUTION_TRACKING option

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=06bb002eb163ac66ea8149e2bd8b38555ca41f8d

commit 06bb002eb163ac66ea8149e2bd8b38555ca41f8d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 17:15:30 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 17:19:24 +0000

    math/py-cma: Add CONSTRAINED_SOLUTION_TRACKING option
---
 math/py-cma/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/math/py-cma/Makefile b/math/py-cma/Makefile
index 8a1f9b3deb04..f26faf78266a 100644
--- a/math/py-cma/Makefile
+++ b/math/py-cma/Makefile
@@ -19,9 +19,11 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-OPTIONS_DEFINE=	PLOTTING
+OPTIONS_DEFINE=	CONSTRAINED_SOLUTION_TRACKING PLOTTING
+CONSTRAINED_SOLUTION_TRACKING_DESC=	Convergence tracking support
 PLOTTING_DESC=	Plotting support
 
+CONSTRAINED_SOLUTION_TRACKING_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}moarchiving>=0:math/py-moarchiving@${PY_FLAVOR}
 PLOTTING_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR}
 
 .include <bsd.port.mk>