security/py-google-auth: Allow build with py-cachetools 5.0.0

- Bump PORTREVISION for package change
This commit is contained in:
Po-Chuan Hsieh 2022-01-24 02:20:31 +08:00
parent b7597a9556
commit ebe7f79312
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
2 changed files with 14 additions and 2 deletions

View file

@ -2,6 +2,7 @@
PORTNAME= google-auth PORTNAME= google-auth
PORTVERSION= 2.3.3 PORTVERSION= 2.3.3
PORTREVISION= 1
CATEGORIES= security python CATEGORIES= security python
MASTER_SITES= CHEESESHOP MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -12,12 +13,12 @@ COMMENT= Google Authentication Library
LICENSE= APACHE20 LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cachetools>=2.0.0<5.0:devel/py-cachetools@${PY_FLAVOR} \ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cachetools>=2.0.0<5.1:devel/py-cachetools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0.2.1:devel/py-pyasn1-modules@${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} \ ${PYTHON_PKGNAMEPREFIX}rsa>=3.1.4<5:security/py-rsa@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR} ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR}
USES= python:3.6+ USES= python:3.7+
USE_PYTHON= autoplist concurrent distutils USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes NO_ARCH= yes

View file

@ -0,0 +1,11 @@
--- setup.py.orig 2021-11-01 20:33:09 UTC
+++ setup.py
@@ -20,7 +20,7 @@ from setuptools import setup
DEPENDENCIES = (
- "cachetools>=2.0.0,<5.0",
+ "cachetools>=2.0.0,<5.1",
"pyasn1-modules>=0.2.1",
# rsa==4.5 is the last version to support 2.7
# https://github.com/sybrenstuvel/python-rsa/issues/152#issuecomment-643470233