git: be764d3ef0bd - main - graphics/py-rasterstats: Add PROGRESS option

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

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

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

    graphics/py-rasterstats: Add PROGRESS option
---
 graphics/py-rasterstats/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/graphics/py-rasterstats/Makefile b/graphics/py-rasterstats/Makefile
index 458463e67cf9..e3f5a3fdd5e6 100644
--- a/graphics/py-rasterstats/Makefile
+++ b/graphics/py-rasterstats/Makefile
@@ -27,4 +27,9 @@ USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	PROGRESS
+PROGRESS_DESC=	Progress bar for interactive use
+
+PROGRESS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tqdm>=0:misc/py-tqdm@${PY_FLAVOR}
+
 .include <bsd.port.mk>