pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-google-api-python-client py-google-api-python-c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6b1898037a03
branches:  trunk
changeset: 374337:6b1898037a03
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Jan 21 11:54:02 2018 +0000

description:
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:

 www/py-google-api-python-client/Makefile |  22 +++++++---------------
 www/py-google-api-python-client/distinfo |  10 +++++-----
 2 files changed, 12 insertions(+), 20 deletions(-)

diffs (53 lines):

diff -r 79becae859db -r 6b1898037a03 www/py-google-api-python-client/Makefile
--- a/www/py-google-api-python-client/Makefile  Sun Jan 21 10:47:47 2018 +0000
+++ b/www/py-google-api-python-client/Makefile  Sun Jan 21 11:54:02 2018 +0000
@@ -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@localhost
 HOMEPAGE=      https://github.com/google/google-api-python-client
@@ -13,15 +11,9 @@
 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 -r 79becae859db -r 6b1898037a03 www/py-google-api-python-client/distinfo
--- a/www/py-google-api-python-client/distinfo  Sun Jan 21 10:47:47 2018 +0000
+++ b/www/py-google-api-python-client/distinfo  Sun Jan 21 11:54:02 2018 +0000
@@ -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



Home | Main Index | Thread Index | Old Index