Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2022 17:20:20 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 460f384b327c - main - math/py-moarchiving: Add ARBITRARY_PRECISION option
Message-ID:  <202203251720.22PHKKVo025213@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203251720.22PHKKVo025213>