From 94c450b02e8ea940f0e0afe95775586ef6006d41 Mon Sep 17 00:00:00 2001 From: icp 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 " +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 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 " 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 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 " 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 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 " 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 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 " 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