summaryrefslogtreecommitdiff
path: root/www/py-google-api-python-client
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-01-21 11:54:02 +0000
committeradam <adam@pkgsrc.org>2018-01-21 11:54:02 +0000
commitdd037484970262e223aa3601fe77886d02a09be3 (patch)
tree89800f34549ad9dce6b1322f38aba5fe408bd6d8 /www/py-google-api-python-client
parent406c75f2663ca2be7195cfcb33a1e1dd5112f062 (diff)
downloadpkgsrc-dd037484970262e223aa3601fe77886d02a09be3.tar.gz
py-google-api-python-client: updated to 1.6.5
Version 1.6.5 Bugfix release - Proactively refresh credentials when applying and treat a missing access_token as invalid. Note: This change reveals surprising behavior between default credentials and batches. If you allow googleapiclient.discovery.build to use default credentials *and* specify different credentials by providing batch.execut() with an explicit http argument, your individual requests will use the default credentials and *not* the credentials specified to the batch http. To avoid this, tell build explicitly not to use default credentials by specifying build(..., http=httplib2.Http(). - Remove mutual exclusivity check for developerKey and credentials - Handle unknown media length. - Handle variant error format gracefully. - Avoid testing against Django >= 2.0.0 on Python 2.
Diffstat (limited to 'www/py-google-api-python-client')
-rw-r--r--www/py-google-api-python-client/Makefile22
-rw-r--r--www/py-google-api-python-client/distinfo10
2 files changed, 12 insertions, 20 deletions
diff --git a/www/py-google-api-python-client/Makefile b/www/py-google-api-python-client/Makefile
index 31e698a1f84..47609a985dc 100644
--- a/www/py-google-api-python-client/Makefile
+++ b/www/py-google-api-python-client/Makefile
@@ -1,11 +1,9 @@
-# $NetBSD: Makefile,v 1.16 2017/10/03 12:45:37 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2018/01/21 11:54:02 adam Exp $
-DISTNAME= google-api-python-client-1.6.4
+DISTNAME= google-api-python-client-1.6.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES= net python
-MASTER_SITES= ${MASTER_SITE_GITHUB:=google/}
-GITHUB_TAG= v${PKGVERSION_NOREV}
-GITHUB_PROJECT= ${PKGBASE:C/^${PYPKGPREFIX}-//}
+CATEGORIES= www python
+MASTER_SITES= ${MASTER_SITE_PYPI:=g/google-api-python-client/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/google/google-api-python-client
@@ -13,15 +11,9 @@ COMMENT= Python client library for Google's discovery based APIs
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-httplib2>=0.9.2:../../www/py-httplib2
-DEPENDS+= ${PYPKGPREFIX}-oauth2client>=1.4.6:../../security/py-oauth2client
-DEPENDS+= ${PYPKGPREFIX}-uritemplate>=3:../../textproc/py-uritemplate
-# TEST_DEPENDS
-BUILD_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
-BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-BUILD_DEPENDS+= ${PYPKGPREFIX}-unittest2-[0-9]*:../../devel/py-unittest2
-
-do-test:
- cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
+DEPENDS+= ${PYPKGPREFIX}-oauth2client>=1.5.0:../../security/py-oauth2client
+DEPENDS+= ${PYPKGPREFIX}-six>=1.6.1:../../lang/py-six
+DEPENDS+= ${PYPKGPREFIX}-uritemplate>=3.0.0:../../textproc/py-uritemplate
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-google-api-python-client/distinfo b/www/py-google-api-python-client/distinfo
index a0a091ed44f..26bd19bf7b3 100644
--- a/www/py-google-api-python-client/distinfo
+++ b/www/py-google-api-python-client/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.12 2017/10/03 12:45:37 wiz Exp $
+$NetBSD: distinfo,v 1.13 2018/01/21 11:54:02 adam Exp $
-SHA1 (google-api-python-client-1.6.4.tar.gz) = 48027aa0bc066ccf6d5977ff01fa620bed321fd2
-RMD160 (google-api-python-client-1.6.4.tar.gz) = 0e552784cb65b828b4099dccecf69be2a9e16f8e
-SHA512 (google-api-python-client-1.6.4.tar.gz) = 9a605a283f42151cb6b06b8cc5caf8fc230f14f5de944b2e5fedb49c91c845aed40e14350db85183bbebcc64494e75252baf3cb9bf33f377517bc718c0e98e23
-Size (google-api-python-client-1.6.4.tar.gz) = 4254802 bytes
+SHA1 (google-api-python-client-1.6.5.tar.gz) = 071badc712a3df652ccc4e259e3325b87e4efc26
+RMD160 (google-api-python-client-1.6.5.tar.gz) = 860030f05c917efc6d3e71485427aeaa821f5e3f
+SHA512 (google-api-python-client-1.6.5.tar.gz) = ecf4e38ed92e25086fd1eec0e9dd35d77bd93a41519555e98887ae869179516d8062546f51b966a6b40e66a45ed86239a7c214bc7ec8286de7c7822a47544c68
+Size (google-api-python-client-1.6.5.tar.gz) = 49641 bytes