Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 May 2026 15:58:41 +0000
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: d288b0fb09d0 - main - devel/py-optree: Add ATTRS and NUMPY options
Message-ID:  <69ff59b1.3475e.2f20d2f1@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

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

commit d288b0fb09d08a46c656b80560a3733fa7e190b9
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-05-09 15:55:56 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-05-09 15:56:18 +0000

    devel/py-optree: Add ATTRS and NUMPY options
---
 devel/py-optree/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/devel/py-optree/Makefile b/devel/py-optree/Makefile
index b4dd62aae5e3..2c4b85748c48 100644
--- a/devel/py-optree/Makefile
+++ b/devel/py-optree/Makefile
@@ -20,6 +20,12 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.6.0:devel/py-typing-ext
 USES=		cmake:indirect compiler:c++20-lang python
 USE_PYTHON=	autoplist concurrent pep517
 
+OPTIONS_DEFINE=	ATTRS NUMPY
+ATTRS_DESC=	Attrs integration
+
+ATTRS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}attrs>=0:devel/py-attrs@${PY_FLAVOR}
+NUMPY_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
+
 .include <bsd.port.pre.mk>
 
 .if ${PYTHON_REL} >= 31300


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69ff59b1.3475e.2f20d2f1>