Github messages for voidlinux
 help / color / mirror / Atom feed
From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python3-google-api-python-client: update to 2.66.0.
Date: Sat, 26 Nov 2022 17:27:52 +0100	[thread overview]
Message-ID: <20221126162752.jsaha3QSARmC-x6w9yBWFOihWaPOrGxbJe2k1nVH00Q@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40780@inbox.vuxu.org>

[-- 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

  reply	other threads:[~2022-11-26 16:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-26 16:20 [PR PATCH] " icp1994
2022-11-26 16:27 ` icp1994 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221126162752.jsaha3QSARmC-x6w9yBWFOihWaPOrGxbJe2k1nVH00Q@z \
    --to=icp1994@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).