git: ace7fbd08c49 - main - science/py-sarpy: Add ALL option

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 17 Oct 2024 19:06:52 UTC
The branch main has been updated by sunpoet:

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

commit ace7fbd08c49f9546df1d292a7cbc84475039244
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-17 19:03:16 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-17 19:03:16 +0000

    science/py-sarpy: Add ALL option
---
 science/py-sarpy/Makefile | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/science/py-sarpy/Makefile b/science/py-sarpy/Makefile
index 90cce232c5d3..f5c93310d35b 100644
--- a/science/py-sarpy/Makefile
+++ b/science/py-sarpy/Makefile
@@ -21,4 +21,16 @@ USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	ALL
+ALL_DESC=	All optional dependencies
+
+ALL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}h5py>=0:science/py-h5py@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}lxml5>=4.1.1:devel/py-lxml5@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}networkx>=2.5:math/py-networkx@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}pytest>=3.3.2,1:devel/py-pytest@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}shapely>=1.6.4:devel/py-shapely@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}smart-open>=0:net/py-smart-open@${PY_FLAVOR}
+
 .include <bsd.port.mk>