git: 3ac0e29b422f - main - www/py-pyjwt: Add CRYPTO option

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 28 Feb 2022 12:52:48 UTC
The branch main has been updated by sunpoet:

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

commit 3ac0e29b422f6b9ee53e08739ed21627481f566c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-02-28 09:37:58 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-02-28 12:46:27 +0000

    www/py-pyjwt: Add CRYPTO option
---
 www/py-pyjwt/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/www/py-pyjwt/Makefile b/www/py-pyjwt/Makefile
index cac7bc01eab4..c9fef5cf6dd1 100644
--- a/www/py-pyjwt/Makefile
+++ b/www/py-pyjwt/Makefile
@@ -20,4 +20,8 @@ NO_ARCH=	yes
 
 CPE_VENDOR=	pyjwt_project
 
+OPTIONS_DEFINE=	CRYPTO
+
+CRYPTO_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cryptography>=3.3.1:security/py-cryptography@${PY_FLAVOR}
+
 .include <bsd.port.mk>