git: e23288922d38 - main - devel/py-uproot: Add HTTP, S3 and XROOTD options

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 21 Jul 2024 12:22:58 UTC
The branch main has been updated by sunpoet:

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

commit e23288922d38bde28151b867a92c1dbec146cffb
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-21 12:21:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-21 12:22:36 +0000

    devel/py-uproot: Add HTTP, S3 and XROOTD options
---
 devel/py-uproot/Makefile | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/devel/py-uproot/Makefile b/devel/py-uproot/Makefile
index 8448696d9ce3..5e2c52fdaddd 100644
--- a/devel/py-uproot/Makefile
+++ b/devel/py-uproot/Makefile
@@ -25,6 +25,15 @@ USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	HTTP S3 XROOTD
+HTTP_DESC=	Access remote files via HTTP/HTTPS
+S3_DESC=	Access Amazon S3 storage
+XROOTD_DESC=	Access extended ROOT daemon
+
+HTTP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiohttp>=0:www/py-aiohttp@${PY_FLAVOR}
+S3_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}s3fs>=0:devel/py-s3fs@${PY_FLAVOR}
+XROOTD_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fsspec-xrootd>=0:devel/py-fsspec-xrootd@${PY_FLAVOR}
+
 .include <bsd.port.pre.mk>
 
 .if ${PYTHON_REL} < 31100