git: 16911a2c119b - main - devel/py-psygnal: Add PROXY and PYDANTIC options

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 25 Sep 2024 06:17:42 UTC
The branch main has been updated by sunpoet:

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

commit 16911a2c119b06b6da437a7fb7f1604c487b2ab7
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-25 06:16:32 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-25 06:16:32 +0000

    devel/py-psygnal: Add PROXY and PYDANTIC options
---
 devel/py-psygnal/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/devel/py-psygnal/Makefile b/devel/py-psygnal/Makefile
index 3ce1250b69b2..e9e65061e977 100644
--- a/devel/py-psygnal/Makefile
+++ b/devel/py-psygnal/Makefile
@@ -20,4 +20,11 @@ USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	PROXY PYDANTIC
+PROXY_DESC=	Evented proxy support
+PYDANTIC_DESC=	Evented model support
+
+PROXY_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wrapt>=0:devel/py-wrapt@${PY_FLAVOR}
+PYDANTIC_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pydantic2>=0:devel/py-pydantic2@${PY_FLAVOR}
+
 .include <bsd.port.mk>