From dcf8a6c8625507cee6ab199e7575290766cafbab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 19 Feb 2026 05:22:28 +0100 Subject: [PATCH] dev-python/google-api-core: Bump to 2.30.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/google-api-core/Manifest | 2 + .../google-api-core-2.30.0.ebuild | 55 +++++++++++++++++++ dev-python/google-api-core/metadata.xml | 2 +- 3 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 dev-python/google-api-core/google-api-core-2.30.0.ebuild diff --git a/dev-python/google-api-core/Manifest b/dev-python/google-api-core/Manifest index ffa8e3fecc04b..0357768e698c9 100644 --- a/dev-python/google-api-core/Manifest +++ b/dev-python/google-api-core/Manifest @@ -1 +1,3 @@ +DIST google_api_core-2.30.0.tar.gz 176959 BLAKE2B 2efe155280c9f1ceed4c89be1f458fca2787c18532596e21cf8262f091a28cf2551fc67e8c7c2cc1bc918163f0a4793553b0496edd345d3fab5c381094d1b1f0 SHA512 8501e3ded2bb8de8549601da138c2c635f0b8f54ca19251d2a66eac75944aa2efa5bcb9427dcf0845ef7c612c8129f6c113fbf42fbbdc787b0e76d57562b6ca8 +DIST google_api_core-2.30.0.tar.gz.provenance 5818 BLAKE2B 9fa55ad67d35ed1765553f585dbb4b237bfdb1f05564c5199610cdaff1659a93e90439e9f4e4436bd7aec5468c8bec38b9028b2f299dd43ee1323d48cf0ae5f1 SHA512 1ca3bb2c23acbbadaba8bcbb64169d6430dd7c491f34294a430b86e9a7c462d7c8459c4a3485155ad4f24cbbc1d081d511866b72678514d719674aab6e55d2ae DIST python-api-core-2.28.1.gh.tar.gz 222422 BLAKE2B d4a82bd12c61232efe92fd4d28d01262f67baf38c55f71ba23ae51d30fd108ea75af69c65ed117ff4662add7eec279ea08a8d77f87f6cd814092535a0e44522c SHA512 4bde79d79e05d918ec477de1dc944f0ff54ac46b25c124a9b9198e21b03d836447d88dd209f0be0b96c5323396496468e5865aa33f932fcf712818fe21040f55 diff --git a/dev-python/google-api-core/google-api-core-2.30.0.ebuild b/dev-python/google-api-core/google-api-core-2.30.0.ebuild new file mode 100644 index 0000000000000..9adab90f36fd8 --- /dev/null +++ b/dev-python/google-api-core/google-api-core-2.30.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 2020-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=gcp:google-cloud-sdk-py@oss-exit-gate-prod.iam.gserviceaccount.com +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Core Library for Google Client Libraries" +HOMEPAGE=" + https://github.com/googleapis/google-cloud-python/ + https://pypi.org/project/google-api-core/ + https://googleapis.dev/python/google-api-core/latest/index.html +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="grpc" + +RDEPEND=" + >=dev-python/googleapis-common-protos-1.56.3[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}] + >=dev-python/proto-plus-1.25.0[${PYTHON_USEDEP}] + >=dev-python/protobuf-4.25.8[${PYTHON_USEDEP}] + >=dev-python/requests-2.20.0[${PYTHON_USEDEP}] + =dev-python/grpcio-1.75.1[${PYTHON_USEDEP}] + >=dev-python/grpcio-status-1.75.1[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + test? ( + >=dev-python/grpcio-1.75.1[${PYTHON_USEDEP}] + >=dev-python/grpcio-status-1.75.1[${PYTHON_USEDEP}] + dev-python/rsa[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{asyncio,mock} ) +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # The grpc_gcp module is missing to perform a stress test + tests/unit/test_grpc_helpers.py +) + +python_test() { + rm -rf google || die + epytest tests +} diff --git a/dev-python/google-api-core/metadata.xml b/dev-python/google-api-core/metadata.xml index d9e740f65edff..88cc39cfb225b 100644 --- a/dev-python/google-api-core/metadata.xml +++ b/dev-python/google-api-core/metadata.xml @@ -12,7 +12,7 @@ google-api-core - googleapis/python-api-core + googleapis/google-cloud-python