Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-google-api-python-client: update to 2.66.0.
@ 2022-11-26 16:20 icp1994
  2022-11-26 16:27 ` [PR PATCH] [Updated] " icp1994
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: icp1994 @ 2022-11-26 16:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 523 bytes --]

There is a new pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages python3-google-api-python-client
https://github.com/void-linux/void-packages/pull/40780

python3-google-api-python-client: update to 2.66.0.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64

A patch file from https://github.com/void-linux/void-packages/pull/40780.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-google-api-python-client-40780.patch --]
[-- Type: text/x-diff, Size: 8823 bytes --]

From 94c450b02e8ea940f0e0afe95775586ef6006d41 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 12:34:43 +0530
Subject: [PATCH 1/5] New package: python3-pytest-localserver-0.7.0

---
 srcpkgs/python3-pytest-localserver/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-localserver/template

diff --git a/srcpkgs/python3-pytest-localserver/template b/srcpkgs/python3-pytest-localserver/template
new file mode 100644
index 000000000000..f25715c3ed17
--- /dev/null
+++ b/srcpkgs/python3-pytest-localserver/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-pytest-localserver'
+pkgname=python3-pytest-localserver
+version=0.7.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+depends="python3-Werkzeug"
+checkdepends="${depends} python3-requests python3-pytest-xdist"
+short_desc="Pytest plugin to test server connections locally"
+maintainer="icp <pangolin@vivaldi.net>"
+license="MIT"
+homepage="https://pypi.org/project/pytest-localserver/"
+changelog="https://raw.githubusercontent.com/pytest-dev/pytest-localserver/master/CHANGES"
+distfiles="${PYPI_SITE}/p/pytest-localserver/pytest-localserver-${version}.tar.gz"
+checksum=f19b490c7ca1ed05bfe4bc6b490811805a61e7271f0424d3c0fa4d43893a5dcd
+
+post_install() {
+	vlicense LICENSE
+}

From 2fc256786ae9b9d6b1f756819ae8d157eff01343 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 12:34:51 +0530
Subject: [PATCH 2/5] python3-google-auth: update to 2.14.1.

---
 srcpkgs/python3-google-auth/template | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-google-auth/template b/srcpkgs/python3-google-auth/template
index 3997ef4501b8..7074d04aa8a9 100644
--- a/srcpkgs/python3-google-auth/template
+++ b/srcpkgs/python3-google-auth/template
@@ -1,15 +1,18 @@
 # Template file for 'python3-google-auth'
 pkgname=python3-google-auth
-version=1.28.0
-revision=3
+version=2.14.1
+revision=1
 build_style=python3-module
+make_check_args="--ignore=tests/oauth2/test_challenges.py"
 hostmakedepends="python3-setuptools"
 depends="python3-pyasn1-modules python3-rsa python3-six python3-cachetools"
+checkdepends="${depends} python3-Flask python3-freezegun python3-mock python3-oauth2client
+ python3-openssl python3-pytest-localserver python3-requests python3-urllib3 python3-cryptography
+ python3-responses python3-grpcio python3-certifi python3-pytest-xdist"
 short_desc="Google Authentication Library (Python3)"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="icp <pangolin@vivaldi.net>"
 license="Apache-2.0"
-homepage="https://github.com/GoogleCloudPlatform/google-auth-library-python"
+homepage="https://googleapis.dev/python/google-auth/latest/index.html"
+changelog="https://raw.githubusercontent.com/googleapis/google-auth-library-python/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/google-auth/google-auth-${version}.tar.gz"
-checksum=9bd436d19ab047001a1340720d2b629eb96dd503258c524921ec2af3ee88a80e
-# all tests require many optional dependencies
-make_check=no
+checksum=ccaa901f31ad5cbb562615eb8b664b3dd0bf5404a67618e642307f00613eda4d

From 8668a6474f88611d5e3791c91346c03fa8093eca Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 13:31:14 +0530
Subject: [PATCH 3/5] python3-googleapis-common-protos: update to 1.57.0.

---
 srcpkgs/python3-googleapis-common-protos/template | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-googleapis-common-protos/template b/srcpkgs/python3-googleapis-common-protos/template
index 787b5bc0b6aa..914c43f14a3f 100644
--- a/srcpkgs/python3-googleapis-common-protos/template
+++ b/srcpkgs/python3-googleapis-common-protos/template
@@ -1,19 +1,18 @@
 # Template file for 'python3-googleapis-common-protos'
 pkgname=python3-googleapis-common-protos
-version=1.53.0
-revision=3
+version=1.57.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-protobuf"
-checkdepends="python3-protobuf python3-six"
+checkdepends="${depends} python3-grpcio python3-mock python3-pytest-xdist"
 short_desc="Common protobufs used in Google APIs (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/googleapis"
+homepage="https://pypi.org/project/googleapis-common-protos/"
+changelog="https://raw.githubusercontent.com/googleapis/python-api-common-protos/v1.57.0/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/googleapis-common-protos/googleapis-common-protos-${version}.tar.gz"
-checksum=a88ee8903aa0a81f6c3cec2d5cf62d3c8aa67c06439b0496b49048fb1854ebf4
-# testing requires many optional dependencies
-make_check=no
+checksum=27a849d6205838fb6cc3c1c21cb9800707a661bb21c6ce7fb13e99eb1f8a0c46
 
 post_install() {
 	chmod -R +r "${DESTDIR}/${py3_sitelib}"

From c4b51be57bbaf47e54e0a794c46e048841ca7831 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 21:22:18 +0530
Subject: [PATCH 4/5] python3-google-api-core: update to 2.10.0.

---
 srcpkgs/python3-google-api-core/template | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-google-api-core/template b/srcpkgs/python3-google-api-core/template
index dfc366881661..29812db585be 100644
--- a/srcpkgs/python3-google-api-core/template
+++ b/srcpkgs/python3-google-api-core/template
@@ -1,17 +1,17 @@
 # Template file for 'python3-google-api-core'
 pkgname=python3-google-api-core
-version=1.26.2
-revision=3
+version=2.10.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-googleapis-common-protos python3-protobuf python3-google-auth
- python3-requests python3-six python3-pytz"
-checkdepends="$depends python3-mock python3-pytest"
+ python3-requests"
 short_desc="Google API client core library for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/python-api-core"
+homepage="https://googleapis.dev/python/google-api-core/latest/index.html"
+changelog="https://raw.githubusercontent.com/googleapis/python-api-core/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/google-api-core/google-api-core-${version}.tar.gz"
-checksum=418a131cd349e8bda036741d93e7fb9caefa691daa7296851193edc60b3c946c
-# all tests require grpc, which is optional dependencies.
+checksum=1d053734f14591939e7764e99c31253fed46bf2578da0dcd82821f17a6dd991c
+# tests require multiple unpackaged dependencies
 make_check=no

From 5e3b0288528597b6a068d1bd452e323381eff891 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 13:05:56 +0530
Subject: [PATCH 5/5] python3-google-api-python-client: update to 2.66.0.

---
 .../python3-google-api-python-client/template | 23 ++++++++-----------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/srcpkgs/python3-google-api-python-client/template b/srcpkgs/python3-google-api-python-client/template
index 640c50c77360..b47c5906fdfd 100644
--- a/srcpkgs/python3-google-api-python-client/template
+++ b/srcpkgs/python3-google-api-python-client/template
@@ -1,22 +1,19 @@
 # Template file for 'python3-google-api-python-client'
 pkgname=python3-google-api-python-client
-version=2.0.2
-revision=3
+version=2.66.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
+make_check_args="--deselect=tests/test__helpers.py::PositionalTests::test_usage
+ --deselect=tests/test_discovery.py::DiscoveryErrors::test_tests_should_be_run_with_strict_positional_enforcement"
 depends="python3-httplib2 python3-google-auth python3-google-auth-httplib2
- python3-google-api-core python3-uritemplate python3-six"
-# FIXME: 6 unittests are failing, cannot use py test to override
-checkdepends="python3-mock $depends python3-oauth2client"
+ python3-google-api-core python3-uritemplate"
+checkdepends="${depends} python3-Django python3-parameterized python3-openssl
+ python3-oauth2client python3-pytest-xdist"
 short_desc="Google API client library for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/google-api-python-client"
+homepage="https://googleapis.github.io/google-api-python-client/"
+changelog="https://raw.githubusercontent.com/googleapis/google-api-python-client/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/google-api-python-client/google-api-python-client-${version}.tar.gz"
-checksum=48686cceb0dc8cb8b9ee1920ad7c0d9b499ef4fca0ca51c1c69f1e462a628011
-
-post_patch() {
-	# unittest2 is python2 thing.
-	vsed -i -e '/^import unittest2 as unittest/s/.*/import unittest/' \
-		tests/test_*.py
-}
+checksum=4cfaf0205aa7c538c8fb1772368be3d049dfed7886adf48597e9a766e9828a6e

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] python3-google-api-python-client: update to 2.66.0.
  2022-11-26 16:20 [PR PATCH] python3-google-api-python-client: update to 2.66.0 icp1994
@ 2022-11-26 16:27 ` icp1994
  2022-12-10 10:59 ` muzaffer015
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: icp1994 @ 2022-11-26 16:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 528 bytes --]

There is an updated pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages python3-google-api-python-client
https://github.com/void-linux/void-packages/pull/40780

python3-google-api-python-client: update to 2.66.0.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64

A patch file from https://github.com/void-linux/void-packages/pull/40780.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-google-api-python-client-40780.patch --]
[-- Type: text/x-diff, Size: 8779 bytes --]

From 94c450b02e8ea940f0e0afe95775586ef6006d41 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 12:34:43 +0530
Subject: [PATCH 1/5] New package: python3-pytest-localserver-0.7.0

---
 srcpkgs/python3-pytest-localserver/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-localserver/template

diff --git a/srcpkgs/python3-pytest-localserver/template b/srcpkgs/python3-pytest-localserver/template
new file mode 100644
index 000000000000..f25715c3ed17
--- /dev/null
+++ b/srcpkgs/python3-pytest-localserver/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-pytest-localserver'
+pkgname=python3-pytest-localserver
+version=0.7.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+depends="python3-Werkzeug"
+checkdepends="${depends} python3-requests python3-pytest-xdist"
+short_desc="Pytest plugin to test server connections locally"
+maintainer="icp <pangolin@vivaldi.net>"
+license="MIT"
+homepage="https://pypi.org/project/pytest-localserver/"
+changelog="https://raw.githubusercontent.com/pytest-dev/pytest-localserver/master/CHANGES"
+distfiles="${PYPI_SITE}/p/pytest-localserver/pytest-localserver-${version}.tar.gz"
+checksum=f19b490c7ca1ed05bfe4bc6b490811805a61e7271f0424d3c0fa4d43893a5dcd
+
+post_install() {
+	vlicense LICENSE
+}

From 7e481405fcdf228434fd01c389d1bafd374f8761 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 12:34:51 +0530
Subject: [PATCH 2/5] python3-google-auth: update to 2.14.1.

---
 srcpkgs/python3-google-auth/template | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-google-auth/template b/srcpkgs/python3-google-auth/template
index 3997ef4501b8..17965e8f3140 100644
--- a/srcpkgs/python3-google-auth/template
+++ b/srcpkgs/python3-google-auth/template
@@ -1,15 +1,18 @@
 # Template file for 'python3-google-auth'
 pkgname=python3-google-auth
-version=1.28.0
-revision=3
+version=2.14.1
+revision=1
 build_style=python3-module
+make_check_args="--ignore=tests/oauth2/test_challenges.py"
 hostmakedepends="python3-setuptools"
 depends="python3-pyasn1-modules python3-rsa python3-six python3-cachetools"
+checkdepends="${depends} python3-Flask python3-freezegun python3-mock python3-oauth2client
+ python3-openssl python3-pytest-localserver python3-requests python3-urllib3 python3-cryptography
+ python3-responses python3-grpcio python3-certifi python3-pytest-xdist"
 short_desc="Google Authentication Library (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/GoogleCloudPlatform/google-auth-library-python"
+homepage="https://googleapis.dev/python/google-auth/latest/index.html"
+changelog="https://raw.githubusercontent.com/googleapis/google-auth-library-python/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/google-auth/google-auth-${version}.tar.gz"
-checksum=9bd436d19ab047001a1340720d2b629eb96dd503258c524921ec2af3ee88a80e
-# all tests require many optional dependencies
-make_check=no
+checksum=ccaa901f31ad5cbb562615eb8b664b3dd0bf5404a67618e642307f00613eda4d

From 40a655c62efbf92763111200bfbaa08d83457409 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 13:31:14 +0530
Subject: [PATCH 3/5] python3-googleapis-common-protos: update to 1.57.0.

---
 srcpkgs/python3-googleapis-common-protos/template | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-googleapis-common-protos/template b/srcpkgs/python3-googleapis-common-protos/template
index 787b5bc0b6aa..914c43f14a3f 100644
--- a/srcpkgs/python3-googleapis-common-protos/template
+++ b/srcpkgs/python3-googleapis-common-protos/template
@@ -1,19 +1,18 @@
 # Template file for 'python3-googleapis-common-protos'
 pkgname=python3-googleapis-common-protos
-version=1.53.0
-revision=3
+version=1.57.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-protobuf"
-checkdepends="python3-protobuf python3-six"
+checkdepends="${depends} python3-grpcio python3-mock python3-pytest-xdist"
 short_desc="Common protobufs used in Google APIs (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/googleapis"
+homepage="https://pypi.org/project/googleapis-common-protos/"
+changelog="https://raw.githubusercontent.com/googleapis/python-api-common-protos/v1.57.0/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/googleapis-common-protos/googleapis-common-protos-${version}.tar.gz"
-checksum=a88ee8903aa0a81f6c3cec2d5cf62d3c8aa67c06439b0496b49048fb1854ebf4
-# testing requires many optional dependencies
-make_check=no
+checksum=27a849d6205838fb6cc3c1c21cb9800707a661bb21c6ce7fb13e99eb1f8a0c46
 
 post_install() {
 	chmod -R +r "${DESTDIR}/${py3_sitelib}"

From 451b05da48ed89cc98805b059bfe225384d71299 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 21:22:18 +0530
Subject: [PATCH 4/5] python3-google-api-core: update to 2.10.0.

---
 srcpkgs/python3-google-api-core/template | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-google-api-core/template b/srcpkgs/python3-google-api-core/template
index dfc366881661..29812db585be 100644
--- a/srcpkgs/python3-google-api-core/template
+++ b/srcpkgs/python3-google-api-core/template
@@ -1,17 +1,17 @@
 # Template file for 'python3-google-api-core'
 pkgname=python3-google-api-core
-version=1.26.2
-revision=3
+version=2.10.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-googleapis-common-protos python3-protobuf python3-google-auth
- python3-requests python3-six python3-pytz"
-checkdepends="$depends python3-mock python3-pytest"
+ python3-requests"
 short_desc="Google API client core library for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/python-api-core"
+homepage="https://googleapis.dev/python/google-api-core/latest/index.html"
+changelog="https://raw.githubusercontent.com/googleapis/python-api-core/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/google-api-core/google-api-core-${version}.tar.gz"
-checksum=418a131cd349e8bda036741d93e7fb9caefa691daa7296851193edc60b3c946c
-# all tests require grpc, which is optional dependencies.
+checksum=1d053734f14591939e7764e99c31253fed46bf2578da0dcd82821f17a6dd991c
+# tests require multiple unpackaged dependencies
 make_check=no

From 3bd946f72b9f7f17172e257cdb718298c5be8657 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 13:05:56 +0530
Subject: [PATCH 5/5] python3-google-api-python-client: update to 2.66.0.

---
 .../python3-google-api-python-client/template | 23 ++++++++-----------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/srcpkgs/python3-google-api-python-client/template b/srcpkgs/python3-google-api-python-client/template
index 640c50c77360..3167eef13a34 100644
--- a/srcpkgs/python3-google-api-python-client/template
+++ b/srcpkgs/python3-google-api-python-client/template
@@ -1,22 +1,19 @@
 # Template file for 'python3-google-api-python-client'
 pkgname=python3-google-api-python-client
-version=2.0.2
-revision=3
+version=2.66.0
+revision=1
 build_style=python3-module
+make_check_args="--deselect=tests/test__helpers.py::PositionalTests::test_usage
+ --deselect=tests/test_discovery.py::DiscoveryErrors::test_tests_should_be_run_with_strict_positional_enforcement"
 hostmakedepends="python3-setuptools"
 depends="python3-httplib2 python3-google-auth python3-google-auth-httplib2
- python3-google-api-core python3-uritemplate python3-six"
-# FIXME: 6 unittests are failing, cannot use py test to override
-checkdepends="python3-mock $depends python3-oauth2client"
+ python3-google-api-core python3-uritemplate"
+checkdepends="${depends} python3-Django python3-parameterized python3-openssl
+ python3-oauth2client python3-pytest-xdist"
 short_desc="Google API client library for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/google-api-python-client"
+homepage="https://googleapis.github.io/google-api-python-client/"
+changelog="https://raw.githubusercontent.com/googleapis/google-api-python-client/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/google-api-python-client/google-api-python-client-${version}.tar.gz"
-checksum=48686cceb0dc8cb8b9ee1920ad7c0d9b499ef4fca0ca51c1c69f1e462a628011
-
-post_patch() {
-	# unittest2 is python2 thing.
-	vsed -i -e '/^import unittest2 as unittest/s/.*/import unittest/' \
-		tests/test_*.py
-}
+checksum=4cfaf0205aa7c538c8fb1772368be3d049dfed7886adf48597e9a766e9828a6e

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: python3-google-api-python-client: update to 2.66.0.
  2022-11-26 16:20 [PR PATCH] python3-google-api-python-client: update to 2.66.0 icp1994
  2022-11-26 16:27 ` [PR PATCH] [Updated] " icp1994
@ 2022-12-10 10:59 ` muzaffer015
  2022-12-12 16:57 ` [PR PATCH] [Updated] " icp1994
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: muzaffer015 @ 2022-12-10 10:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 176 bytes --]

New comment by muzaffer015 on void-packages repository

https://github.com/void-linux/void-packages/pull/40780#issuecomment-1345238503

Comment:
Uygulanmasını rica ediyorum 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] python3-google-api-python-client: update to 2.66.0.
  2022-11-26 16:20 [PR PATCH] python3-google-api-python-client: update to 2.66.0 icp1994
  2022-11-26 16:27 ` [PR PATCH] [Updated] " icp1994
  2022-12-10 10:59 ` muzaffer015
@ 2022-12-12 16:57 ` icp1994
  2022-12-12 17:05 ` icp1994
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: icp1994 @ 2022-12-12 16:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 528 bytes --]

There is an updated pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages python3-google-api-python-client
https://github.com/void-linux/void-packages/pull/40780

python3-google-api-python-client: update to 2.66.0.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64

A patch file from https://github.com/void-linux/void-packages/pull/40780.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-google-api-python-client-40780.patch --]
[-- Type: text/x-diff, Size: 10568 bytes --]

From 37396a543f7afb1557779d855f3b7f42876a5376 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 12:34:43 +0530
Subject: [PATCH 1/6] New package: python3-pytest-localserver-0.7.0

---
 srcpkgs/python3-pytest-localserver/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-localserver/template

diff --git a/srcpkgs/python3-pytest-localserver/template b/srcpkgs/python3-pytest-localserver/template
new file mode 100644
index 000000000000..f25715c3ed17
--- /dev/null
+++ b/srcpkgs/python3-pytest-localserver/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-pytest-localserver'
+pkgname=python3-pytest-localserver
+version=0.7.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+depends="python3-Werkzeug"
+checkdepends="${depends} python3-requests python3-pytest-xdist"
+short_desc="Pytest plugin to test server connections locally"
+maintainer="icp <pangolin@vivaldi.net>"
+license="MIT"
+homepage="https://pypi.org/project/pytest-localserver/"
+changelog="https://raw.githubusercontent.com/pytest-dev/pytest-localserver/master/CHANGES"
+distfiles="${PYPI_SITE}/p/pytest-localserver/pytest-localserver-${version}.tar.gz"
+checksum=f19b490c7ca1ed05bfe4bc6b490811805a61e7271f0424d3c0fa4d43893a5dcd
+
+post_install() {
+	vlicense LICENSE
+}

From fc616ba2045a3f257cc77532d0cfdad3c1670e91 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 12:34:51 +0530
Subject: [PATCH 2/6] python3-google-auth: update to 2.15.0.

---
 srcpkgs/python3-google-auth/template | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-google-auth/template b/srcpkgs/python3-google-auth/template
index 3997ef4501b8..825f594e836e 100644
--- a/srcpkgs/python3-google-auth/template
+++ b/srcpkgs/python3-google-auth/template
@@ -1,15 +1,18 @@
 # Template file for 'python3-google-auth'
 pkgname=python3-google-auth
-version=1.28.0
-revision=3
+version=2.15.0
+revision=1
 build_style=python3-module
+make_check_args="--ignore=tests/oauth2/test_challenges.py"
 hostmakedepends="python3-setuptools"
 depends="python3-pyasn1-modules python3-rsa python3-six python3-cachetools"
+checkdepends="${depends} python3-Flask python3-freezegun python3-mock python3-oauth2client
+ python3-openssl python3-pytest-localserver python3-requests python3-urllib3 python3-cryptography
+ python3-responses python3-grpcio python3-certifi python3-pytest-xdist"
 short_desc="Google Authentication Library (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/GoogleCloudPlatform/google-auth-library-python"
+homepage="https://googleapis.dev/python/google-auth/latest/index.html"
+changelog="https://raw.githubusercontent.com/googleapis/google-auth-library-python/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/google-auth/google-auth-${version}.tar.gz"
-checksum=9bd436d19ab047001a1340720d2b629eb96dd503258c524921ec2af3ee88a80e
-# all tests require many optional dependencies
-make_check=no
+checksum=72f12a6cfc968d754d7bdab369c5c5c16032106e52d32c6dfd8484e4c01a6d1f

From 6c439d46c758943ca3551a5659add70bc034a728 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 25 Oct 2022 01:29:34 +0530
Subject: [PATCH 3/6] python3-google-auth-oauthlib: update to 0.7.1.

---
 srcpkgs/python3-google-auth-oauthlib/template | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/python3-google-auth-oauthlib/template b/srcpkgs/python3-google-auth-oauthlib/template
index 366133b6ba86..c4555e3ac55e 100644
--- a/srcpkgs/python3-google-auth-oauthlib/template
+++ b/srcpkgs/python3-google-auth-oauthlib/template
@@ -1,7 +1,8 @@
 # Template file for 'python3-google-auth-oauthlib'
 pkgname=python3-google-auth-oauthlib
-version=0.5.3
-revision=2
+version=0.7.1
+revision=1
+wrksrc="google-auth-oauthlib-${version}"
 build_style=python3-module
 make_check_args="--deselect tests/unit/test_flow.py::TestInstalledAppFlow::test_run_local_server_bind_addr"
 hostmakedepends="python3-setuptools"
@@ -10,7 +11,7 @@ checkdepends="${depends} python3-click python3-mock python3-pytest-xdist"
 short_desc="Oauthlib integration for Google Auth"
 maintainer="icp <pangolin@vivaldi.net>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/google-auth-library-python-oauthlib"
+homepage="https://googleapis.dev/python/google-auth-oauthlib/latest/index.html"
 changelog="https://raw.githubusercontent.com/googleapis/google-auth-library-python-oauthlib/main/CHANGELOG.md"
-distfiles="https://github.com/googleapis/google-auth-library-python-oauthlib/archive/refs/tags/v${version}.tar.gz"
-checksum=7fe8591eac00bfc0eecc8407e210741576566c7771927a4ee08b48fb84205473
+distfiles="${PYPI_SITE}/g/google-auth-oauthlib/google-auth-oauthlib-${version}.tar.gz"
+checksum=9940f543f77d1447432a93781d7c931fb53e418023351ad4bf9e92837a1154ec

From db1dd5bfb90692aca7ddc711266629ee9fcd3259 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 13:31:14 +0530
Subject: [PATCH 4/6] python3-googleapis-common-protos: update to 1.57.0.

---
 srcpkgs/python3-googleapis-common-protos/template | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-googleapis-common-protos/template b/srcpkgs/python3-googleapis-common-protos/template
index 787b5bc0b6aa..914c43f14a3f 100644
--- a/srcpkgs/python3-googleapis-common-protos/template
+++ b/srcpkgs/python3-googleapis-common-protos/template
@@ -1,19 +1,18 @@
 # Template file for 'python3-googleapis-common-protos'
 pkgname=python3-googleapis-common-protos
-version=1.53.0
-revision=3
+version=1.57.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-protobuf"
-checkdepends="python3-protobuf python3-six"
+checkdepends="${depends} python3-grpcio python3-mock python3-pytest-xdist"
 short_desc="Common protobufs used in Google APIs (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/googleapis"
+homepage="https://pypi.org/project/googleapis-common-protos/"
+changelog="https://raw.githubusercontent.com/googleapis/python-api-common-protos/v1.57.0/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/googleapis-common-protos/googleapis-common-protos-${version}.tar.gz"
-checksum=a88ee8903aa0a81f6c3cec2d5cf62d3c8aa67c06439b0496b49048fb1854ebf4
-# testing requires many optional dependencies
-make_check=no
+checksum=27a849d6205838fb6cc3c1c21cb9800707a661bb21c6ce7fb13e99eb1f8a0c46
 
 post_install() {
 	chmod -R +r "${DESTDIR}/${py3_sitelib}"

From 366d141636e22e35573dfaa4bc8b9e86c9873e5b Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 21:22:18 +0530
Subject: [PATCH 5/6] python3-google-api-core: update to 2.11.0.

---
 srcpkgs/python3-google-api-core/template | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-google-api-core/template b/srcpkgs/python3-google-api-core/template
index dfc366881661..004ddd1023d3 100644
--- a/srcpkgs/python3-google-api-core/template
+++ b/srcpkgs/python3-google-api-core/template
@@ -1,17 +1,17 @@
 # Template file for 'python3-google-api-core'
 pkgname=python3-google-api-core
-version=1.26.2
-revision=3
+version=2.11.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-googleapis-common-protos python3-protobuf python3-google-auth
- python3-requests python3-six python3-pytz"
-checkdepends="$depends python3-mock python3-pytest"
+ python3-requests"
 short_desc="Google API client core library for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/python-api-core"
+homepage="https://googleapis.dev/python/google-api-core/latest/index.html"
+changelog="https://raw.githubusercontent.com/googleapis/python-api-core/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/google-api-core/google-api-core-${version}.tar.gz"
-checksum=418a131cd349e8bda036741d93e7fb9caefa691daa7296851193edc60b3c946c
-# all tests require grpc, which is optional dependencies.
+checksum=4b9bb5d5a380a0befa0573b302651b8a9a89262c1730e37bf423cec511804c22
+# tests require multiple unpackaged dependencies
 make_check=no

From 408b50178d7e0cacb89d5b71088addd5f442d990 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 13:05:56 +0530
Subject: [PATCH 6/6] python3-google-api-python-client: update to 2.69.0.

---
 .../python3-google-api-python-client/template | 23 ++++++++-----------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/srcpkgs/python3-google-api-python-client/template b/srcpkgs/python3-google-api-python-client/template
index 640c50c77360..830565df4359 100644
--- a/srcpkgs/python3-google-api-python-client/template
+++ b/srcpkgs/python3-google-api-python-client/template
@@ -1,22 +1,19 @@
 # Template file for 'python3-google-api-python-client'
 pkgname=python3-google-api-python-client
-version=2.0.2
-revision=3
+version=2.69.0
+revision=1
 build_style=python3-module
+make_check_args="--deselect=tests/test__helpers.py::PositionalTests::test_usage
+ --deselect=tests/test_discovery.py::DiscoveryErrors::test_tests_should_be_run_with_strict_positional_enforcement"
 hostmakedepends="python3-setuptools"
 depends="python3-httplib2 python3-google-auth python3-google-auth-httplib2
- python3-google-api-core python3-uritemplate python3-six"
-# FIXME: 6 unittests are failing, cannot use py test to override
-checkdepends="python3-mock $depends python3-oauth2client"
+ python3-google-api-core python3-uritemplate"
+checkdepends="${depends} python3-Django python3-parameterized python3-openssl
+ python3-oauth2client python3-pytest-xdist"
 short_desc="Google API client library for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/google-api-python-client"
+homepage="https://googleapis.github.io/google-api-python-client/"
+changelog="https://raw.githubusercontent.com/googleapis/google-api-python-client/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/google-api-python-client/google-api-python-client-${version}.tar.gz"
-checksum=48686cceb0dc8cb8b9ee1920ad7c0d9b499ef4fca0ca51c1c69f1e462a628011
-
-post_patch() {
-	# unittest2 is python2 thing.
-	vsed -i -e '/^import unittest2 as unittest/s/.*/import unittest/' \
-		tests/test_*.py
-}
+checksum=03624a28b5ba94f3c3d44761081f5dbf8cabaa20c5c3a96c046457c5713efb9b

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] python3-google-api-python-client: update to 2.66.0.
  2022-11-26 16:20 [PR PATCH] python3-google-api-python-client: update to 2.66.0 icp1994
                   ` (2 preceding siblings ...)
  2022-12-12 16:57 ` [PR PATCH] [Updated] " icp1994
@ 2022-12-12 17:05 ` icp1994
  2022-12-16 18:39 ` [PR REVIEW] " paper42
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: icp1994 @ 2022-12-12 17:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 528 bytes --]

There is an updated pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages python3-google-api-python-client
https://github.com/void-linux/void-packages/pull/40780

python3-google-api-python-client: update to 2.66.0.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64

A patch file from https://github.com/void-linux/void-packages/pull/40780.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-google-api-python-client-40780.patch --]
[-- Type: text/x-diff, Size: 10525 bytes --]

From 37396a543f7afb1557779d855f3b7f42876a5376 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 12:34:43 +0530
Subject: [PATCH 1/6] New package: python3-pytest-localserver-0.7.0

---
 srcpkgs/python3-pytest-localserver/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-localserver/template

diff --git a/srcpkgs/python3-pytest-localserver/template b/srcpkgs/python3-pytest-localserver/template
new file mode 100644
index 000000000000..f25715c3ed17
--- /dev/null
+++ b/srcpkgs/python3-pytest-localserver/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-pytest-localserver'
+pkgname=python3-pytest-localserver
+version=0.7.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+depends="python3-Werkzeug"
+checkdepends="${depends} python3-requests python3-pytest-xdist"
+short_desc="Pytest plugin to test server connections locally"
+maintainer="icp <pangolin@vivaldi.net>"
+license="MIT"
+homepage="https://pypi.org/project/pytest-localserver/"
+changelog="https://raw.githubusercontent.com/pytest-dev/pytest-localserver/master/CHANGES"
+distfiles="${PYPI_SITE}/p/pytest-localserver/pytest-localserver-${version}.tar.gz"
+checksum=f19b490c7ca1ed05bfe4bc6b490811805a61e7271f0424d3c0fa4d43893a5dcd
+
+post_install() {
+	vlicense LICENSE
+}

From fc616ba2045a3f257cc77532d0cfdad3c1670e91 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 12:34:51 +0530
Subject: [PATCH 2/6] python3-google-auth: update to 2.15.0.

---
 srcpkgs/python3-google-auth/template | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-google-auth/template b/srcpkgs/python3-google-auth/template
index 3997ef4501b8..825f594e836e 100644
--- a/srcpkgs/python3-google-auth/template
+++ b/srcpkgs/python3-google-auth/template
@@ -1,15 +1,18 @@
 # Template file for 'python3-google-auth'
 pkgname=python3-google-auth
-version=1.28.0
-revision=3
+version=2.15.0
+revision=1
 build_style=python3-module
+make_check_args="--ignore=tests/oauth2/test_challenges.py"
 hostmakedepends="python3-setuptools"
 depends="python3-pyasn1-modules python3-rsa python3-six python3-cachetools"
+checkdepends="${depends} python3-Flask python3-freezegun python3-mock python3-oauth2client
+ python3-openssl python3-pytest-localserver python3-requests python3-urllib3 python3-cryptography
+ python3-responses python3-grpcio python3-certifi python3-pytest-xdist"
 short_desc="Google Authentication Library (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/GoogleCloudPlatform/google-auth-library-python"
+homepage="https://googleapis.dev/python/google-auth/latest/index.html"
+changelog="https://raw.githubusercontent.com/googleapis/google-auth-library-python/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/google-auth/google-auth-${version}.tar.gz"
-checksum=9bd436d19ab047001a1340720d2b629eb96dd503258c524921ec2af3ee88a80e
-# all tests require many optional dependencies
-make_check=no
+checksum=72f12a6cfc968d754d7bdab369c5c5c16032106e52d32c6dfd8484e4c01a6d1f

From 6ca845dc31306c858684afdefdcfbe000ac8022e Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 25 Oct 2022 01:29:34 +0530
Subject: [PATCH 3/6] python3-google-auth-oauthlib: update to 0.7.1.

---
 srcpkgs/python3-google-auth-oauthlib/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/python3-google-auth-oauthlib/template b/srcpkgs/python3-google-auth-oauthlib/template
index 366133b6ba86..813a51bdc421 100644
--- a/srcpkgs/python3-google-auth-oauthlib/template
+++ b/srcpkgs/python3-google-auth-oauthlib/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-google-auth-oauthlib'
 pkgname=python3-google-auth-oauthlib
-version=0.5.3
-revision=2
+version=0.7.1
+revision=1
 build_style=python3-module
 make_check_args="--deselect tests/unit/test_flow.py::TestInstalledAppFlow::test_run_local_server_bind_addr"
 hostmakedepends="python3-setuptools"
@@ -10,7 +10,7 @@ checkdepends="${depends} python3-click python3-mock python3-pytest-xdist"
 short_desc="Oauthlib integration for Google Auth"
 maintainer="icp <pangolin@vivaldi.net>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/google-auth-library-python-oauthlib"
+homepage="https://googleapis.dev/python/google-auth-oauthlib/latest/index.html"
 changelog="https://raw.githubusercontent.com/googleapis/google-auth-library-python-oauthlib/main/CHANGELOG.md"
-distfiles="https://github.com/googleapis/google-auth-library-python-oauthlib/archive/refs/tags/v${version}.tar.gz"
-checksum=7fe8591eac00bfc0eecc8407e210741576566c7771927a4ee08b48fb84205473
+distfiles="${PYPI_SITE}/g/google-auth-oauthlib/google-auth-oauthlib-${version}.tar.gz"
+checksum=9940f543f77d1447432a93781d7c931fb53e418023351ad4bf9e92837a1154ec

From 67e7e28110f3bad280eca8824ebe1b1da3bd71b4 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 13:31:14 +0530
Subject: [PATCH 4/6] python3-googleapis-common-protos: update to 1.57.0.

---
 srcpkgs/python3-googleapis-common-protos/template | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-googleapis-common-protos/template b/srcpkgs/python3-googleapis-common-protos/template
index 787b5bc0b6aa..914c43f14a3f 100644
--- a/srcpkgs/python3-googleapis-common-protos/template
+++ b/srcpkgs/python3-googleapis-common-protos/template
@@ -1,19 +1,18 @@
 # Template file for 'python3-googleapis-common-protos'
 pkgname=python3-googleapis-common-protos
-version=1.53.0
-revision=3
+version=1.57.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-protobuf"
-checkdepends="python3-protobuf python3-six"
+checkdepends="${depends} python3-grpcio python3-mock python3-pytest-xdist"
 short_desc="Common protobufs used in Google APIs (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/googleapis"
+homepage="https://pypi.org/project/googleapis-common-protos/"
+changelog="https://raw.githubusercontent.com/googleapis/python-api-common-protos/v1.57.0/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/googleapis-common-protos/googleapis-common-protos-${version}.tar.gz"
-checksum=a88ee8903aa0a81f6c3cec2d5cf62d3c8aa67c06439b0496b49048fb1854ebf4
-# testing requires many optional dependencies
-make_check=no
+checksum=27a849d6205838fb6cc3c1c21cb9800707a661bb21c6ce7fb13e99eb1f8a0c46
 
 post_install() {
 	chmod -R +r "${DESTDIR}/${py3_sitelib}"

From 656e0329dc69b35f9ed064935b4af340af301978 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 21:22:18 +0530
Subject: [PATCH 5/6] python3-google-api-core: update to 2.11.0.

---
 srcpkgs/python3-google-api-core/template | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-google-api-core/template b/srcpkgs/python3-google-api-core/template
index dfc366881661..004ddd1023d3 100644
--- a/srcpkgs/python3-google-api-core/template
+++ b/srcpkgs/python3-google-api-core/template
@@ -1,17 +1,17 @@
 # Template file for 'python3-google-api-core'
 pkgname=python3-google-api-core
-version=1.26.2
-revision=3
+version=2.11.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-googleapis-common-protos python3-protobuf python3-google-auth
- python3-requests python3-six python3-pytz"
-checkdepends="$depends python3-mock python3-pytest"
+ python3-requests"
 short_desc="Google API client core library for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/python-api-core"
+homepage="https://googleapis.dev/python/google-api-core/latest/index.html"
+changelog="https://raw.githubusercontent.com/googleapis/python-api-core/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/google-api-core/google-api-core-${version}.tar.gz"
-checksum=418a131cd349e8bda036741d93e7fb9caefa691daa7296851193edc60b3c946c
-# all tests require grpc, which is optional dependencies.
+checksum=4b9bb5d5a380a0befa0573b302651b8a9a89262c1730e37bf423cec511804c22
+# tests require multiple unpackaged dependencies
 make_check=no

From e963fcc8de8d58733c1802fefb8c1a2c0304384e Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 13:05:56 +0530
Subject: [PATCH 6/6] python3-google-api-python-client: update to 2.69.0.

---
 .../python3-google-api-python-client/template | 23 ++++++++-----------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/srcpkgs/python3-google-api-python-client/template b/srcpkgs/python3-google-api-python-client/template
index 640c50c77360..830565df4359 100644
--- a/srcpkgs/python3-google-api-python-client/template
+++ b/srcpkgs/python3-google-api-python-client/template
@@ -1,22 +1,19 @@
 # Template file for 'python3-google-api-python-client'
 pkgname=python3-google-api-python-client
-version=2.0.2
-revision=3
+version=2.69.0
+revision=1
 build_style=python3-module
+make_check_args="--deselect=tests/test__helpers.py::PositionalTests::test_usage
+ --deselect=tests/test_discovery.py::DiscoveryErrors::test_tests_should_be_run_with_strict_positional_enforcement"
 hostmakedepends="python3-setuptools"
 depends="python3-httplib2 python3-google-auth python3-google-auth-httplib2
- python3-google-api-core python3-uritemplate python3-six"
-# FIXME: 6 unittests are failing, cannot use py test to override
-checkdepends="python3-mock $depends python3-oauth2client"
+ python3-google-api-core python3-uritemplate"
+checkdepends="${depends} python3-Django python3-parameterized python3-openssl
+ python3-oauth2client python3-pytest-xdist"
 short_desc="Google API client library for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/google-api-python-client"
+homepage="https://googleapis.github.io/google-api-python-client/"
+changelog="https://raw.githubusercontent.com/googleapis/google-api-python-client/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/google-api-python-client/google-api-python-client-${version}.tar.gz"
-checksum=48686cceb0dc8cb8b9ee1920ad7c0d9b499ef4fca0ca51c1c69f1e462a628011
-
-post_patch() {
-	# unittest2 is python2 thing.
-	vsed -i -e '/^import unittest2 as unittest/s/.*/import unittest/' \
-		tests/test_*.py
-}
+checksum=03624a28b5ba94f3c3d44761081f5dbf8cabaa20c5c3a96c046457c5713efb9b

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR REVIEW] python3-google-api-python-client: update to 2.66.0.
  2022-11-26 16:20 [PR PATCH] python3-google-api-python-client: update to 2.66.0 icp1994
                   ` (3 preceding siblings ...)
  2022-12-12 17:05 ` icp1994
@ 2022-12-16 18:39 ` paper42
  2022-12-17 13:27 ` [PR PATCH] [Updated] " icp1994
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: paper42 @ 2022-12-16 18:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 193 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/40780#discussion_r1051045779

Comment:
could we mention some of them in the comment?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] python3-google-api-python-client: update to 2.66.0.
  2022-11-26 16:20 [PR PATCH] python3-google-api-python-client: update to 2.66.0 icp1994
                   ` (4 preceding siblings ...)
  2022-12-16 18:39 ` [PR REVIEW] " paper42
@ 2022-12-17 13:27 ` icp1994
  2022-12-17 14:34 ` icp1994
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: icp1994 @ 2022-12-17 13:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 528 bytes --]

There is an updated pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages python3-google-api-python-client
https://github.com/void-linux/void-packages/pull/40780

python3-google-api-python-client: update to 2.66.0.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64

A patch file from https://github.com/void-linux/void-packages/pull/40780.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-google-api-python-client-40780.patch --]
[-- Type: text/x-diff, Size: 10539 bytes --]

From 4efd254e8dc21d452c5d006e348078086a94c080 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 12:34:43 +0530
Subject: [PATCH 1/6] New package: python3-pytest-localserver-0.7.0

---
 srcpkgs/python3-pytest-localserver/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-localserver/template

diff --git a/srcpkgs/python3-pytest-localserver/template b/srcpkgs/python3-pytest-localserver/template
new file mode 100644
index 000000000000..f25715c3ed17
--- /dev/null
+++ b/srcpkgs/python3-pytest-localserver/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-pytest-localserver'
+pkgname=python3-pytest-localserver
+version=0.7.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+depends="python3-Werkzeug"
+checkdepends="${depends} python3-requests python3-pytest-xdist"
+short_desc="Pytest plugin to test server connections locally"
+maintainer="icp <pangolin@vivaldi.net>"
+license="MIT"
+homepage="https://pypi.org/project/pytest-localserver/"
+changelog="https://raw.githubusercontent.com/pytest-dev/pytest-localserver/master/CHANGES"
+distfiles="${PYPI_SITE}/p/pytest-localserver/pytest-localserver-${version}.tar.gz"
+checksum=f19b490c7ca1ed05bfe4bc6b490811805a61e7271f0424d3c0fa4d43893a5dcd
+
+post_install() {
+	vlicense LICENSE
+}

From ba4499d5d2cf469a15e557582449954e7ab368c9 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 12:34:51 +0530
Subject: [PATCH 2/6] python3-google-auth: update to 2.15.0.

---
 srcpkgs/python3-google-auth/template | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-google-auth/template b/srcpkgs/python3-google-auth/template
index 3997ef4501b8..825f594e836e 100644
--- a/srcpkgs/python3-google-auth/template
+++ b/srcpkgs/python3-google-auth/template
@@ -1,15 +1,18 @@
 # Template file for 'python3-google-auth'
 pkgname=python3-google-auth
-version=1.28.0
-revision=3
+version=2.15.0
+revision=1
 build_style=python3-module
+make_check_args="--ignore=tests/oauth2/test_challenges.py"
 hostmakedepends="python3-setuptools"
 depends="python3-pyasn1-modules python3-rsa python3-six python3-cachetools"
+checkdepends="${depends} python3-Flask python3-freezegun python3-mock python3-oauth2client
+ python3-openssl python3-pytest-localserver python3-requests python3-urllib3 python3-cryptography
+ python3-responses python3-grpcio python3-certifi python3-pytest-xdist"
 short_desc="Google Authentication Library (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/GoogleCloudPlatform/google-auth-library-python"
+homepage="https://googleapis.dev/python/google-auth/latest/index.html"
+changelog="https://raw.githubusercontent.com/googleapis/google-auth-library-python/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/google-auth/google-auth-${version}.tar.gz"
-checksum=9bd436d19ab047001a1340720d2b629eb96dd503258c524921ec2af3ee88a80e
-# all tests require many optional dependencies
-make_check=no
+checksum=72f12a6cfc968d754d7bdab369c5c5c16032106e52d32c6dfd8484e4c01a6d1f

From d5489a09369eb198f233c633e65c71514a31fd2c Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 25 Oct 2022 01:29:34 +0530
Subject: [PATCH 3/6] python3-google-auth-oauthlib: update to 0.7.1.

---
 srcpkgs/python3-google-auth-oauthlib/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/python3-google-auth-oauthlib/template b/srcpkgs/python3-google-auth-oauthlib/template
index 366133b6ba86..7ac019f65a58 100644
--- a/srcpkgs/python3-google-auth-oauthlib/template
+++ b/srcpkgs/python3-google-auth-oauthlib/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-google-auth-oauthlib'
 pkgname=python3-google-auth-oauthlib
-version=0.5.3
-revision=2
+version=0.8.0
+revision=1
 build_style=python3-module
 make_check_args="--deselect tests/unit/test_flow.py::TestInstalledAppFlow::test_run_local_server_bind_addr"
 hostmakedepends="python3-setuptools"
@@ -10,7 +10,7 @@ checkdepends="${depends} python3-click python3-mock python3-pytest-xdist"
 short_desc="Oauthlib integration for Google Auth"
 maintainer="icp <pangolin@vivaldi.net>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/google-auth-library-python-oauthlib"
+homepage="https://googleapis.dev/python/google-auth-oauthlib/latest/index.html"
 changelog="https://raw.githubusercontent.com/googleapis/google-auth-library-python-oauthlib/main/CHANGELOG.md"
-distfiles="https://github.com/googleapis/google-auth-library-python-oauthlib/archive/refs/tags/v${version}.tar.gz"
-checksum=7fe8591eac00bfc0eecc8407e210741576566c7771927a4ee08b48fb84205473
+distfiles="${PYPI_SITE}/g/google-auth-oauthlib/google-auth-oauthlib-${version}.tar.gz"
+checksum=81056a310fb1c4a3e5a7e1a443e1eb96593c6bbc55b26c0261e4d3295d3e6593

From 9e46264e9e7fcbe736c3c036463010fac95e15e3 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 13:31:14 +0530
Subject: [PATCH 4/6] python3-googleapis-common-protos: update to 1.57.0.

---
 srcpkgs/python3-googleapis-common-protos/template | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-googleapis-common-protos/template b/srcpkgs/python3-googleapis-common-protos/template
index 787b5bc0b6aa..914c43f14a3f 100644
--- a/srcpkgs/python3-googleapis-common-protos/template
+++ b/srcpkgs/python3-googleapis-common-protos/template
@@ -1,19 +1,18 @@
 # Template file for 'python3-googleapis-common-protos'
 pkgname=python3-googleapis-common-protos
-version=1.53.0
-revision=3
+version=1.57.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-protobuf"
-checkdepends="python3-protobuf python3-six"
+checkdepends="${depends} python3-grpcio python3-mock python3-pytest-xdist"
 short_desc="Common protobufs used in Google APIs (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/googleapis"
+homepage="https://pypi.org/project/googleapis-common-protos/"
+changelog="https://raw.githubusercontent.com/googleapis/python-api-common-protos/v1.57.0/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/googleapis-common-protos/googleapis-common-protos-${version}.tar.gz"
-checksum=a88ee8903aa0a81f6c3cec2d5cf62d3c8aa67c06439b0496b49048fb1854ebf4
-# testing requires many optional dependencies
-make_check=no
+checksum=27a849d6205838fb6cc3c1c21cb9800707a661bb21c6ce7fb13e99eb1f8a0c46
 
 post_install() {
 	chmod -R +r "${DESTDIR}/${py3_sitelib}"

From 87a15ac337b597d5f4f42bec3702fe7c9468fbdc Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 21:22:18 +0530
Subject: [PATCH 5/6] python3-google-api-core: update to 2.11.0.

---
 srcpkgs/python3-google-api-core/template | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-google-api-core/template b/srcpkgs/python3-google-api-core/template
index dfc366881661..4f4a42b98efd 100644
--- a/srcpkgs/python3-google-api-core/template
+++ b/srcpkgs/python3-google-api-core/template
@@ -1,17 +1,17 @@
 # Template file for 'python3-google-api-core'
 pkgname=python3-google-api-core
-version=1.26.2
-revision=3
+version=2.11.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-googleapis-common-protos python3-protobuf python3-google-auth
- python3-requests python3-six python3-pytz"
-checkdepends="$depends python3-mock python3-pytest"
+ python3-requests"
 short_desc="Google API client core library for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/python-api-core"
+homepage="https://googleapis.dev/python/google-api-core/latest/index.html"
+changelog="https://raw.githubusercontent.com/googleapis/python-api-core/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/google-api-core/google-api-core-${version}.tar.gz"
-checksum=418a131cd349e8bda036741d93e7fb9caefa691daa7296851193edc60b3c946c
-# all tests require grpc, which is optional dependencies.
+checksum=4b9bb5d5a380a0befa0573b302651b8a9a89262c1730e37bf423cec511804c22
+# tests require unpackaged dependencies: asyncmock, proto-plus
 make_check=no

From 423e9fc066c8148f36f80ea9a15662115b0b526d Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 13:05:56 +0530
Subject: [PATCH 6/6] python3-google-api-python-client: update to 2.69.0.

---
 .../python3-google-api-python-client/template | 23 ++++++++-----------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/srcpkgs/python3-google-api-python-client/template b/srcpkgs/python3-google-api-python-client/template
index 640c50c77360..830565df4359 100644
--- a/srcpkgs/python3-google-api-python-client/template
+++ b/srcpkgs/python3-google-api-python-client/template
@@ -1,22 +1,19 @@
 # Template file for 'python3-google-api-python-client'
 pkgname=python3-google-api-python-client
-version=2.0.2
-revision=3
+version=2.69.0
+revision=1
 build_style=python3-module
+make_check_args="--deselect=tests/test__helpers.py::PositionalTests::test_usage
+ --deselect=tests/test_discovery.py::DiscoveryErrors::test_tests_should_be_run_with_strict_positional_enforcement"
 hostmakedepends="python3-setuptools"
 depends="python3-httplib2 python3-google-auth python3-google-auth-httplib2
- python3-google-api-core python3-uritemplate python3-six"
-# FIXME: 6 unittests are failing, cannot use py test to override
-checkdepends="python3-mock $depends python3-oauth2client"
+ python3-google-api-core python3-uritemplate"
+checkdepends="${depends} python3-Django python3-parameterized python3-openssl
+ python3-oauth2client python3-pytest-xdist"
 short_desc="Google API client library for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/google-api-python-client"
+homepage="https://googleapis.github.io/google-api-python-client/"
+changelog="https://raw.githubusercontent.com/googleapis/google-api-python-client/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/google-api-python-client/google-api-python-client-${version}.tar.gz"
-checksum=48686cceb0dc8cb8b9ee1920ad7c0d9b499ef4fca0ca51c1c69f1e462a628011
-
-post_patch() {
-	# unittest2 is python2 thing.
-	vsed -i -e '/^import unittest2 as unittest/s/.*/import unittest/' \
-		tests/test_*.py
-}
+checksum=03624a28b5ba94f3c3d44761081f5dbf8cabaa20c5c3a96c046457c5713efb9b

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] python3-google-api-python-client: update to 2.66.0.
  2022-11-26 16:20 [PR PATCH] python3-google-api-python-client: update to 2.66.0 icp1994
                   ` (5 preceding siblings ...)
  2022-12-17 13:27 ` [PR PATCH] [Updated] " icp1994
@ 2022-12-17 14:34 ` icp1994
  2022-12-17 14:41 ` icp1994
  2022-12-18 11:02 ` [PR PATCH] [Merged]: python3-google-api-python-client: update to 2.70.0 paper42
  8 siblings, 0 replies; 10+ messages in thread
From: icp1994 @ 2022-12-17 14:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 528 bytes --]

There is an updated pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages python3-google-api-python-client
https://github.com/void-linux/void-packages/pull/40780

python3-google-api-python-client: update to 2.66.0.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64

A patch file from https://github.com/void-linux/void-packages/pull/40780.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-google-api-python-client-40780.patch --]
[-- Type: text/x-diff, Size: 10547 bytes --]

From 4efd254e8dc21d452c5d006e348078086a94c080 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 12:34:43 +0530
Subject: [PATCH 1/6] New package: python3-pytest-localserver-0.7.0

---
 srcpkgs/python3-pytest-localserver/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-localserver/template

diff --git a/srcpkgs/python3-pytest-localserver/template b/srcpkgs/python3-pytest-localserver/template
new file mode 100644
index 000000000000..f25715c3ed17
--- /dev/null
+++ b/srcpkgs/python3-pytest-localserver/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-pytest-localserver'
+pkgname=python3-pytest-localserver
+version=0.7.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+depends="python3-Werkzeug"
+checkdepends="${depends} python3-requests python3-pytest-xdist"
+short_desc="Pytest plugin to test server connections locally"
+maintainer="icp <pangolin@vivaldi.net>"
+license="MIT"
+homepage="https://pypi.org/project/pytest-localserver/"
+changelog="https://raw.githubusercontent.com/pytest-dev/pytest-localserver/master/CHANGES"
+distfiles="${PYPI_SITE}/p/pytest-localserver/pytest-localserver-${version}.tar.gz"
+checksum=f19b490c7ca1ed05bfe4bc6b490811805a61e7271f0424d3c0fa4d43893a5dcd
+
+post_install() {
+	vlicense LICENSE
+}

From ba4499d5d2cf469a15e557582449954e7ab368c9 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 12:34:51 +0530
Subject: [PATCH 2/6] python3-google-auth: update to 2.15.0.

---
 srcpkgs/python3-google-auth/template | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-google-auth/template b/srcpkgs/python3-google-auth/template
index 3997ef4501b8..825f594e836e 100644
--- a/srcpkgs/python3-google-auth/template
+++ b/srcpkgs/python3-google-auth/template
@@ -1,15 +1,18 @@
 # Template file for 'python3-google-auth'
 pkgname=python3-google-auth
-version=1.28.0
-revision=3
+version=2.15.0
+revision=1
 build_style=python3-module
+make_check_args="--ignore=tests/oauth2/test_challenges.py"
 hostmakedepends="python3-setuptools"
 depends="python3-pyasn1-modules python3-rsa python3-six python3-cachetools"
+checkdepends="${depends} python3-Flask python3-freezegun python3-mock python3-oauth2client
+ python3-openssl python3-pytest-localserver python3-requests python3-urllib3 python3-cryptography
+ python3-responses python3-grpcio python3-certifi python3-pytest-xdist"
 short_desc="Google Authentication Library (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/GoogleCloudPlatform/google-auth-library-python"
+homepage="https://googleapis.dev/python/google-auth/latest/index.html"
+changelog="https://raw.githubusercontent.com/googleapis/google-auth-library-python/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/google-auth/google-auth-${version}.tar.gz"
-checksum=9bd436d19ab047001a1340720d2b629eb96dd503258c524921ec2af3ee88a80e
-# all tests require many optional dependencies
-make_check=no
+checksum=72f12a6cfc968d754d7bdab369c5c5c16032106e52d32c6dfd8484e4c01a6d1f

From e2bcd2d0b2270cc1147aaf5388ad4dc88fe41062 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 25 Oct 2022 01:29:34 +0530
Subject: [PATCH 3/6] python3-google-auth-oauthlib: update to 0.8.0.

---
 srcpkgs/python3-google-auth-oauthlib/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/python3-google-auth-oauthlib/template b/srcpkgs/python3-google-auth-oauthlib/template
index 366133b6ba86..7ac019f65a58 100644
--- a/srcpkgs/python3-google-auth-oauthlib/template
+++ b/srcpkgs/python3-google-auth-oauthlib/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-google-auth-oauthlib'
 pkgname=python3-google-auth-oauthlib
-version=0.5.3
-revision=2
+version=0.8.0
+revision=1
 build_style=python3-module
 make_check_args="--deselect tests/unit/test_flow.py::TestInstalledAppFlow::test_run_local_server_bind_addr"
 hostmakedepends="python3-setuptools"
@@ -10,7 +10,7 @@ checkdepends="${depends} python3-click python3-mock python3-pytest-xdist"
 short_desc="Oauthlib integration for Google Auth"
 maintainer="icp <pangolin@vivaldi.net>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/google-auth-library-python-oauthlib"
+homepage="https://googleapis.dev/python/google-auth-oauthlib/latest/index.html"
 changelog="https://raw.githubusercontent.com/googleapis/google-auth-library-python-oauthlib/main/CHANGELOG.md"
-distfiles="https://github.com/googleapis/google-auth-library-python-oauthlib/archive/refs/tags/v${version}.tar.gz"
-checksum=7fe8591eac00bfc0eecc8407e210741576566c7771927a4ee08b48fb84205473
+distfiles="${PYPI_SITE}/g/google-auth-oauthlib/google-auth-oauthlib-${version}.tar.gz"
+checksum=81056a310fb1c4a3e5a7e1a443e1eb96593c6bbc55b26c0261e4d3295d3e6593

From d7ddf3d95bd5a7c63768d22cfad9db98778069ad Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 13:31:14 +0530
Subject: [PATCH 4/6] python3-googleapis-common-protos: update to 1.57.0.

---
 srcpkgs/python3-googleapis-common-protos/template | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-googleapis-common-protos/template b/srcpkgs/python3-googleapis-common-protos/template
index 787b5bc0b6aa..914c43f14a3f 100644
--- a/srcpkgs/python3-googleapis-common-protos/template
+++ b/srcpkgs/python3-googleapis-common-protos/template
@@ -1,19 +1,18 @@
 # Template file for 'python3-googleapis-common-protos'
 pkgname=python3-googleapis-common-protos
-version=1.53.0
-revision=3
+version=1.57.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-protobuf"
-checkdepends="python3-protobuf python3-six"
+checkdepends="${depends} python3-grpcio python3-mock python3-pytest-xdist"
 short_desc="Common protobufs used in Google APIs (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/googleapis"
+homepage="https://pypi.org/project/googleapis-common-protos/"
+changelog="https://raw.githubusercontent.com/googleapis/python-api-common-protos/v1.57.0/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/googleapis-common-protos/googleapis-common-protos-${version}.tar.gz"
-checksum=a88ee8903aa0a81f6c3cec2d5cf62d3c8aa67c06439b0496b49048fb1854ebf4
-# testing requires many optional dependencies
-make_check=no
+checksum=27a849d6205838fb6cc3c1c21cb9800707a661bb21c6ce7fb13e99eb1f8a0c46
 
 post_install() {
 	chmod -R +r "${DESTDIR}/${py3_sitelib}"

From 56fb3f1eb347330d2102d6e4b6d553aef71b03c0 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 21:22:18 +0530
Subject: [PATCH 5/6] python3-google-api-core: update to 2.11.0.

---
 srcpkgs/python3-google-api-core/template | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-google-api-core/template b/srcpkgs/python3-google-api-core/template
index dfc366881661..4f4a42b98efd 100644
--- a/srcpkgs/python3-google-api-core/template
+++ b/srcpkgs/python3-google-api-core/template
@@ -1,17 +1,17 @@
 # Template file for 'python3-google-api-core'
 pkgname=python3-google-api-core
-version=1.26.2
-revision=3
+version=2.11.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-googleapis-common-protos python3-protobuf python3-google-auth
- python3-requests python3-six python3-pytz"
-checkdepends="$depends python3-mock python3-pytest"
+ python3-requests"
 short_desc="Google API client core library for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/python-api-core"
+homepage="https://googleapis.dev/python/google-api-core/latest/index.html"
+changelog="https://raw.githubusercontent.com/googleapis/python-api-core/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/google-api-core/google-api-core-${version}.tar.gz"
-checksum=418a131cd349e8bda036741d93e7fb9caefa691daa7296851193edc60b3c946c
-# all tests require grpc, which is optional dependencies.
+checksum=4b9bb5d5a380a0befa0573b302651b8a9a89262c1730e37bf423cec511804c22
+# tests require unpackaged dependencies: asyncmock, proto-plus
 make_check=no

From 79b750656642a203adf281b2fcbfa22f53c4aee9 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 13:05:56 +0530
Subject: [PATCH 6/6] fixup! python3-google-api-python-client: update to
 2.69.0.

---
 .../python3-google-api-python-client/template | 23 ++++++++-----------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/srcpkgs/python3-google-api-python-client/template b/srcpkgs/python3-google-api-python-client/template
index 640c50c77360..91aff1eba87d 100644
--- a/srcpkgs/python3-google-api-python-client/template
+++ b/srcpkgs/python3-google-api-python-client/template
@@ -1,22 +1,19 @@
 # Template file for 'python3-google-api-python-client'
 pkgname=python3-google-api-python-client
-version=2.0.2
-revision=3
+version=2.70.0
+revision=1
 build_style=python3-module
+make_check_args="--deselect=tests/test__helpers.py::PositionalTests::test_usage
+ --deselect=tests/test_discovery.py::DiscoveryErrors::test_tests_should_be_run_with_strict_positional_enforcement"
 hostmakedepends="python3-setuptools"
 depends="python3-httplib2 python3-google-auth python3-google-auth-httplib2
- python3-google-api-core python3-uritemplate python3-six"
-# FIXME: 6 unittests are failing, cannot use py test to override
-checkdepends="python3-mock $depends python3-oauth2client"
+ python3-google-api-core python3-uritemplate"
+checkdepends="${depends} python3-Django python3-parameterized python3-openssl
+ python3-oauth2client python3-pytest-xdist"
 short_desc="Google API client library for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/google-api-python-client"
+homepage="https://googleapis.github.io/google-api-python-client/"
+changelog="https://raw.githubusercontent.com/googleapis/google-api-python-client/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/google-api-python-client/google-api-python-client-${version}.tar.gz"
-checksum=48686cceb0dc8cb8b9ee1920ad7c0d9b499ef4fca0ca51c1c69f1e462a628011
-
-post_patch() {
-	# unittest2 is python2 thing.
-	vsed -i -e '/^import unittest2 as unittest/s/.*/import unittest/' \
-		tests/test_*.py
-}
+checksum=262de094d5a30d337f59e66581019fed45b698c078397ac48dd323c0968236e7

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] python3-google-api-python-client: update to 2.66.0.
  2022-11-26 16:20 [PR PATCH] python3-google-api-python-client: update to 2.66.0 icp1994
                   ` (6 preceding siblings ...)
  2022-12-17 14:34 ` icp1994
@ 2022-12-17 14:41 ` icp1994
  2022-12-18 11:02 ` [PR PATCH] [Merged]: python3-google-api-python-client: update to 2.70.0 paper42
  8 siblings, 0 replies; 10+ messages in thread
From: icp1994 @ 2022-12-17 14:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 528 bytes --]

There is an updated pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages python3-google-api-python-client
https://github.com/void-linux/void-packages/pull/40780

python3-google-api-python-client: update to 2.66.0.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64

A patch file from https://github.com/void-linux/void-packages/pull/40780.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-google-api-python-client-40780.patch --]
[-- Type: text/x-diff, Size: 10539 bytes --]

From a3e97dc05f13b264e7c2142a50d2cdd24abdc174 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 12:34:43 +0530
Subject: [PATCH 1/6] New package: python3-pytest-localserver-0.7.0

---
 srcpkgs/python3-pytest-localserver/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-localserver/template

diff --git a/srcpkgs/python3-pytest-localserver/template b/srcpkgs/python3-pytest-localserver/template
new file mode 100644
index 000000000000..f25715c3ed17
--- /dev/null
+++ b/srcpkgs/python3-pytest-localserver/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-pytest-localserver'
+pkgname=python3-pytest-localserver
+version=0.7.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+depends="python3-Werkzeug"
+checkdepends="${depends} python3-requests python3-pytest-xdist"
+short_desc="Pytest plugin to test server connections locally"
+maintainer="icp <pangolin@vivaldi.net>"
+license="MIT"
+homepage="https://pypi.org/project/pytest-localserver/"
+changelog="https://raw.githubusercontent.com/pytest-dev/pytest-localserver/master/CHANGES"
+distfiles="${PYPI_SITE}/p/pytest-localserver/pytest-localserver-${version}.tar.gz"
+checksum=f19b490c7ca1ed05bfe4bc6b490811805a61e7271f0424d3c0fa4d43893a5dcd
+
+post_install() {
+	vlicense LICENSE
+}

From 87b1695eea9dffae1082e03421ea46dcfe6a164b Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 12:34:51 +0530
Subject: [PATCH 2/6] python3-google-auth: update to 2.15.0.

---
 srcpkgs/python3-google-auth/template | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-google-auth/template b/srcpkgs/python3-google-auth/template
index 3997ef4501b8..825f594e836e 100644
--- a/srcpkgs/python3-google-auth/template
+++ b/srcpkgs/python3-google-auth/template
@@ -1,15 +1,18 @@
 # Template file for 'python3-google-auth'
 pkgname=python3-google-auth
-version=1.28.0
-revision=3
+version=2.15.0
+revision=1
 build_style=python3-module
+make_check_args="--ignore=tests/oauth2/test_challenges.py"
 hostmakedepends="python3-setuptools"
 depends="python3-pyasn1-modules python3-rsa python3-six python3-cachetools"
+checkdepends="${depends} python3-Flask python3-freezegun python3-mock python3-oauth2client
+ python3-openssl python3-pytest-localserver python3-requests python3-urllib3 python3-cryptography
+ python3-responses python3-grpcio python3-certifi python3-pytest-xdist"
 short_desc="Google Authentication Library (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/GoogleCloudPlatform/google-auth-library-python"
+homepage="https://googleapis.dev/python/google-auth/latest/index.html"
+changelog="https://raw.githubusercontent.com/googleapis/google-auth-library-python/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/google-auth/google-auth-${version}.tar.gz"
-checksum=9bd436d19ab047001a1340720d2b629eb96dd503258c524921ec2af3ee88a80e
-# all tests require many optional dependencies
-make_check=no
+checksum=72f12a6cfc968d754d7bdab369c5c5c16032106e52d32c6dfd8484e4c01a6d1f

From 0e56d4fc41e71d6ad79e7ba78c4223dce628a2a0 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 25 Oct 2022 01:29:34 +0530
Subject: [PATCH 3/6] python3-google-auth-oauthlib: update to 0.8.0.

---
 srcpkgs/python3-google-auth-oauthlib/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/python3-google-auth-oauthlib/template b/srcpkgs/python3-google-auth-oauthlib/template
index 366133b6ba86..7ac019f65a58 100644
--- a/srcpkgs/python3-google-auth-oauthlib/template
+++ b/srcpkgs/python3-google-auth-oauthlib/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-google-auth-oauthlib'
 pkgname=python3-google-auth-oauthlib
-version=0.5.3
-revision=2
+version=0.8.0
+revision=1
 build_style=python3-module
 make_check_args="--deselect tests/unit/test_flow.py::TestInstalledAppFlow::test_run_local_server_bind_addr"
 hostmakedepends="python3-setuptools"
@@ -10,7 +10,7 @@ checkdepends="${depends} python3-click python3-mock python3-pytest-xdist"
 short_desc="Oauthlib integration for Google Auth"
 maintainer="icp <pangolin@vivaldi.net>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/google-auth-library-python-oauthlib"
+homepage="https://googleapis.dev/python/google-auth-oauthlib/latest/index.html"
 changelog="https://raw.githubusercontent.com/googleapis/google-auth-library-python-oauthlib/main/CHANGELOG.md"
-distfiles="https://github.com/googleapis/google-auth-library-python-oauthlib/archive/refs/tags/v${version}.tar.gz"
-checksum=7fe8591eac00bfc0eecc8407e210741576566c7771927a4ee08b48fb84205473
+distfiles="${PYPI_SITE}/g/google-auth-oauthlib/google-auth-oauthlib-${version}.tar.gz"
+checksum=81056a310fb1c4a3e5a7e1a443e1eb96593c6bbc55b26c0261e4d3295d3e6593

From 0a2ce2a8b366826d3aedb9ae908d939a3fb0668d Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 13:31:14 +0530
Subject: [PATCH 4/6] python3-googleapis-common-protos: update to 1.57.0.

---
 srcpkgs/python3-googleapis-common-protos/template | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-googleapis-common-protos/template b/srcpkgs/python3-googleapis-common-protos/template
index 787b5bc0b6aa..914c43f14a3f 100644
--- a/srcpkgs/python3-googleapis-common-protos/template
+++ b/srcpkgs/python3-googleapis-common-protos/template
@@ -1,19 +1,18 @@
 # Template file for 'python3-googleapis-common-protos'
 pkgname=python3-googleapis-common-protos
-version=1.53.0
-revision=3
+version=1.57.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-protobuf"
-checkdepends="python3-protobuf python3-six"
+checkdepends="${depends} python3-grpcio python3-mock python3-pytest-xdist"
 short_desc="Common protobufs used in Google APIs (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/googleapis"
+homepage="https://pypi.org/project/googleapis-common-protos/"
+changelog="https://raw.githubusercontent.com/googleapis/python-api-common-protos/v1.57.0/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/googleapis-common-protos/googleapis-common-protos-${version}.tar.gz"
-checksum=a88ee8903aa0a81f6c3cec2d5cf62d3c8aa67c06439b0496b49048fb1854ebf4
-# testing requires many optional dependencies
-make_check=no
+checksum=27a849d6205838fb6cc3c1c21cb9800707a661bb21c6ce7fb13e99eb1f8a0c46
 
 post_install() {
 	chmod -R +r "${DESTDIR}/${py3_sitelib}"

From a1fde9868837c44a9c38f48a0bab4e547884cb9d Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 21:22:18 +0530
Subject: [PATCH 5/6] python3-google-api-core: update to 2.11.0.

---
 srcpkgs/python3-google-api-core/template | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-google-api-core/template b/srcpkgs/python3-google-api-core/template
index dfc366881661..4f4a42b98efd 100644
--- a/srcpkgs/python3-google-api-core/template
+++ b/srcpkgs/python3-google-api-core/template
@@ -1,17 +1,17 @@
 # Template file for 'python3-google-api-core'
 pkgname=python3-google-api-core
-version=1.26.2
-revision=3
+version=2.11.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-googleapis-common-protos python3-protobuf python3-google-auth
- python3-requests python3-six python3-pytz"
-checkdepends="$depends python3-mock python3-pytest"
+ python3-requests"
 short_desc="Google API client core library for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/python-api-core"
+homepage="https://googleapis.dev/python/google-api-core/latest/index.html"
+changelog="https://raw.githubusercontent.com/googleapis/python-api-core/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/google-api-core/google-api-core-${version}.tar.gz"
-checksum=418a131cd349e8bda036741d93e7fb9caefa691daa7296851193edc60b3c946c
-# all tests require grpc, which is optional dependencies.
+checksum=4b9bb5d5a380a0befa0573b302651b8a9a89262c1730e37bf423cec511804c22
+# tests require unpackaged dependencies: asyncmock, proto-plus
 make_check=no

From 9084261a9891733c1f765131146c4c76ca0794ad Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 13:05:56 +0530
Subject: [PATCH 6/6] python3-google-api-python-client: update to 2.70.0.

---
 .../python3-google-api-python-client/template | 23 ++++++++-----------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/srcpkgs/python3-google-api-python-client/template b/srcpkgs/python3-google-api-python-client/template
index 640c50c77360..91aff1eba87d 100644
--- a/srcpkgs/python3-google-api-python-client/template
+++ b/srcpkgs/python3-google-api-python-client/template
@@ -1,22 +1,19 @@
 # Template file for 'python3-google-api-python-client'
 pkgname=python3-google-api-python-client
-version=2.0.2
-revision=3
+version=2.70.0
+revision=1
 build_style=python3-module
+make_check_args="--deselect=tests/test__helpers.py::PositionalTests::test_usage
+ --deselect=tests/test_discovery.py::DiscoveryErrors::test_tests_should_be_run_with_strict_positional_enforcement"
 hostmakedepends="python3-setuptools"
 depends="python3-httplib2 python3-google-auth python3-google-auth-httplib2
- python3-google-api-core python3-uritemplate python3-six"
-# FIXME: 6 unittests are failing, cannot use py test to override
-checkdepends="python3-mock $depends python3-oauth2client"
+ python3-google-api-core python3-uritemplate"
+checkdepends="${depends} python3-Django python3-parameterized python3-openssl
+ python3-oauth2client python3-pytest-xdist"
 short_desc="Google API client library for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/google-api-python-client"
+homepage="https://googleapis.github.io/google-api-python-client/"
+changelog="https://raw.githubusercontent.com/googleapis/google-api-python-client/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/google-api-python-client/google-api-python-client-${version}.tar.gz"
-checksum=48686cceb0dc8cb8b9ee1920ad7c0d9b499ef4fca0ca51c1c69f1e462a628011
-
-post_patch() {
-	# unittest2 is python2 thing.
-	vsed -i -e '/^import unittest2 as unittest/s/.*/import unittest/' \
-		tests/test_*.py
-}
+checksum=262de094d5a30d337f59e66581019fed45b698c078397ac48dd323c0968236e7

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Merged]: python3-google-api-python-client: update to 2.70.0.
  2022-11-26 16:20 [PR PATCH] python3-google-api-python-client: update to 2.66.0 icp1994
                   ` (7 preceding siblings ...)
  2022-12-17 14:41 ` icp1994
@ 2022-12-18 11:02 ` paper42
  8 siblings, 0 replies; 10+ messages in thread
From: paper42 @ 2022-12-18 11:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 347 bytes --]

There's a merged pull request on the void-packages repository

python3-google-api-python-client: update to 2.70.0.
https://github.com/void-linux/void-packages/pull/40780

Description:
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-12-18 11:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-26 16:20 [PR PATCH] python3-google-api-python-client: update to 2.66.0 icp1994
2022-11-26 16:27 ` [PR PATCH] [Updated] " icp1994
2022-12-10 10:59 ` muzaffer015
2022-12-12 16:57 ` [PR PATCH] [Updated] " icp1994
2022-12-12 17:05 ` icp1994
2022-12-16 18:39 ` [PR REVIEW] " paper42
2022-12-17 13:27 ` [PR PATCH] [Updated] " icp1994
2022-12-17 14:34 ` icp1994
2022-12-17 14:41 ` icp1994
2022-12-18 11:02 ` [PR PATCH] [Merged]: python3-google-api-python-client: update to 2.70.0 paper42

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).