From ad62662e485dd03a22d31d697e6c0dc8619c3255 Mon Sep 17 00:00:00 2001 From: Kai Knoblich Date: Fri, 8 Apr 2022 07:51:21 +0200 Subject: [PATCH] www/py-google-api-python-client: Update to 2.35.0 * Remove the DJANGO option as the supplied samples for Django projects were removed with the 1.7.9 release and the Python code has no more references to Django related dependencies. Changelog since 1.7.6: https://github.com/googleapis/google-api-python-client/compare/v1.7.6...v2.35.0 PR: 256762 Reported by: Pavel Timofeev Approved by: maintainer timeout (9+ months) MFH: No (feature release) --- www/py-google-api-python-client/Makefile | 21 +++++++++------------ www/py-google-api-python-client/distinfo | 6 +++--- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/www/py-google-api-python-client/Makefile b/www/py-google-api-python-client/Makefile index 563eab9dc200..d30a20dbe652 100644 --- a/www/py-google-api-python-client/Makefile +++ b/www/py-google-api-python-client/Makefile @@ -1,6 +1,5 @@ PORTNAME= google-api-python-client -PORTVERSION= 1.7.6 -PORTREVISION= 1 +DISTVERSION= 2.35.0 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,22 +10,20 @@ COMMENT= Google API Client Library for Python LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httplib2>=0.9.2:www/py-httplib2@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}google-auth>=0:security/py-google-auth@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}google-auth-httplib2>=0.0.3:security/py-google-auth-httplib2@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}six>=1.6.1:devel/py-six@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}uritemplate>=3.0.0:net/py-uritemplate@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httplib2>=0.15.0<1:www/py-httplib2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}google-auth>=1.16.0<3.0.0:security/py-google-auth@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}google-auth-httplib2>=0.1.0:security/py-google-auth-httplib2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}google-api-core>=1.21.0,<3.0.0:www/py-google-api-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}uritemplate>=3.0.0<5:net/py-uritemplate@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist distutils NO_ARCH= yes -OPTIONS_DEFINE= DJANGO WEBTEST -DJANGO_DESC= Use the library with Django -DJANGO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=1.3:www/py-django22@${PY_FLAVOR} +OPTIONS_DEFINE= WEBTEST WEBTEST_DESC= Use WebTest helper to test WSGI apps -WEBTEST_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}WebTest>=1.3.3:www/py-WebTest@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}openssl>=0.13:security/py-openssl@${PY_FLAVOR} +WEBTEST_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}WebTest>0:www/py-WebTest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}openssl>0:security/py-openssl@${PY_FLAVOR} .include diff --git a/www/py-google-api-python-client/distinfo b/www/py-google-api-python-client/distinfo index 8d5728de6f84..2e9c587a928f 100644 --- a/www/py-google-api-python-client/distinfo +++ b/www/py-google-api-python-client/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1544606686 -SHA256 (google-api-python-client-1.7.6.tar.gz) = bf98b066fb6e4e6da1f2f11d6cb0bb947de156aef8562a32b0692e7073d38593 -SIZE (google-api-python-client-1.7.6.tar.gz) = 141617 +TIMESTAMP = 1642526983 +SHA256 (google-api-python-client-2.35.0.tar.gz) = 038b12979ea86ef0e33962bd33f955c337bc28f0471522bd27a801d52bfb4ae2 +SIZE (google-api-python-client-2.35.0.tar.gz) = 7583769