summaryrefslogtreecommitdiff
path: root/security/py-google-auth/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/py-google-auth/Makefile')
-rw-r--r--security/py-google-auth/Makefile29
1 files changed, 19 insertions, 10 deletions
diff --git a/security/py-google-auth/Makefile b/security/py-google-auth/Makefile
index fd7228c62ddd..df59d7ee2c9c 100644
--- a/security/py-google-auth/Makefile
+++ b/security/py-google-auth/Makefile
@@ -1,8 +1,9 @@
PORTNAME= google-auth
-PORTVERSION= 2.31.0
+PORTVERSION= 2.40.3
CATEGORIES= security python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= google_auth-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Google Authentication Library
@@ -13,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cachetools>=2.0.0<6.0:devel/py-cachetools@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cachetools>=2.0.0:devel/py-cachetools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0.2.1:devel/py-pyasn1-modules@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}rsa>=3.1.4<5:security/py-rsa@${PY_FLAVOR}
@@ -22,15 +23,23 @@ USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
-OPTIONS_DEFINE= AIOHTTP REAUTH REQUESTS
-OPTIONS_DEFAULT=AIOHTTP REQUESTS
-AIOHTTP_DESC= Use aiohttp
-REAUTH_DESC= Reauth support
-REQUESTS_DESC= Requests support
-
-AIOHTTP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.6.2<4.0.0:www/py-aiohttp@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}requests>=2.20.0<3.0.0:www/py-requests@${PY_FLAVOR}
+OPTIONS_DEFINE= AIOHTTP CRYPTOGRAPHY_BASE PYJWT REAUTH REQUESTS URLLIB3
+OPTIONS_DEFAULT=AIOHTTP CRYPTOGRAPHY_BASE PYJWT REQUESTS
+AIOHTTP_DESC= aiohttp support
+AIOHTTP_IMPLIES= REQUESTS
+CRYPTOGRAPHY_BASE_DESC= Cryptography support
+PYJWT_DESC= JWT token support
+PYJWT_IMPLIES= CRYPTOGRAPHY_BASE
+REAUTH_DESC= Reauth support
+REQUESTS_DESC= Requests support
+URLLIB3_DESC= Urllib3 support
+
+AIOHTTP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.6.2<4.0.0:www/py-aiohttp@${PY_FLAVOR}
+CRYPTOGRAPHY_BASE_USE= PYTHON=cryptography
+PYJWT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyjwt>=2.0:www/py-pyjwt@${PY_FLAVOR}
REAUTH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyu2f>=0.1.5:net/py-pyu2f@${PY_FLAVOR}
REQUESTS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.20.0<3.0.0:www/py-requests@${PY_FLAVOR}
+URLLIB3_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}urllib3>=0,1:net/py-urllib3@${PY_FLAVOR}
.include <bsd.port.mk>