git: 506fee9bb841 - main - www/py-django-allauth: Add MFA and SAML options

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 30 Sep 2023 23:34:03 UTC
The branch main has been updated by sunpoet:

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

commit 506fee9bb841fab48012c3683326a45ffe00d110
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-30 23:30:20 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-30 23:30:20 +0000

    www/py-django-allauth: Add MFA and SAML options
---
 www/py-django-allauth/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/www/py-django-allauth/Makefile b/www/py-django-allauth/Makefile
index 5b5bc18727b8..bb0509a0a7f8 100644
--- a/www/py-django-allauth/Makefile
+++ b/www/py-django-allauth/Makefile
@@ -25,4 +25,11 @@ USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	MFA SAML
+MFA_DESC=	Multi-Factor Authentication support
+SAML_DESC=	Security Assertion Markup Language support
+
+MFA_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}qrcode>=7.0.0:textproc/py-qrcode@${PY_FLAVOR}
+SAML_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}python3-saml>=1.15.0<2.0.0:security/py-python3-saml@${PY_FLAVOR}
+
 .include <bsd.port.mk>