svn commit: r522809 - head/security/py-google-auth
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Jan 12 16:07:58 UTC 2020
Author: sunpoet
Date: Sun Jan 12 16:07:56 2020
New Revision: 522809
URL: https://svnweb.freebsd.org/changeset/ports/522809
Log:
Update RUN_DEPENDS for py-cachetools 4.0.0 update
- Bump PORTREVISION for dependency change
Modified:
head/security/py-google-auth/Makefile
Modified: head/security/py-google-auth/Makefile
==============================================================================
--- head/security/py-google-auth/Makefile Sun Jan 12 16:07:51 2020 (r522808)
+++ head/security/py-google-auth/Makefile Sun Jan 12 16:07:56 2020 (r522809)
@@ -3,6 +3,7 @@
PORTNAME= google-auth
PORTVERSION= 1.10.0
+PORTREVISION= 1
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,8 +14,7 @@ COMMENT= Google Authentication Library
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cachetools>=2.0.0<5.0:devel/py-cachetools@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0.2.1:devel/py-pyasn1-modules@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0.2.1:devel/py-pyasn1-modules@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}rsa>=3.1.4<4.1:security/py-rsa@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR}
@@ -23,4 +23,12 @@ USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3500
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cachetools3>=2.0.0<5.0:devel/py-cachetools3@${PY_FLAVOR}
+.else
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cachetools>=2.0.0<5.0:devel/py-cachetools@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list