git: c827b2fa856f - main - print/py-ufolib2: Add CONVERTERS option

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 07 Mar 2022 18:18:43 UTC
The branch main has been updated by sunpoet:

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

commit c827b2fa856f56cbb547315178fbf94da8166c63
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-07 17:56:16 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-07 18:11:25 +0000

    print/py-ufolib2: Add CONVERTERS option
---
 print/py-ufolib2/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/print/py-ufolib2/Makefile b/print/py-ufolib2/Makefile
index f2d1f0029b66..478e9a90070a 100644
--- a/print/py-ufolib2/Makefile
+++ b/print/py-ufolib2/Makefile
@@ -21,9 +21,11 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-OPTIONS_DEFINE=	LXML
+OPTIONS_DEFINE=	CONVERTERS LXML
+CONVERTERS_DESC=Converters support
 LXML_DESC=	XML support
 
+CONVERTERS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cattrs>=1.9.0:devel/py-cattrs@${PY_FLAVOR}
 LXML_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR}
 
 .include <bsd.port.pre.mk>