git: 460f384b327c - main - math/py-moarchiving: Add ARBITRARY_PRECISION option

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=460f384b327c19c49bd13ee709a72b23d009600c

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

    math/py-moarchiving: Add ARBITRARY_PRECISION option
---
 math/py-moarchiving/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/math/py-moarchiving/Makefile b/math/py-moarchiving/Makefile
index 40c60fb5e2a7..e81d13dbd0b9 100644
--- a/math/py-moarchiving/Makefile
+++ b/math/py-moarchiving/Makefile
@@ -16,4 +16,9 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	ARBITRARY_PRECISION
+ARBITRARY_PRECISION_DESC=	Arbitrary precision hypervolume computation support
+
+ARBITRARY_PRECISION_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}fraction>=0:math/py-fraction@${PY_FLAVOR}
+
 .include <bsd.port.mk>