commit:     55ac8120a1627faf282b3915f26b3e5a87f1f7e6
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 13 03:50:45 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jun 13 03:50:45 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55ac8120

dev-python/google-api-core: Bump to 2.25.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/google-api-core/Manifest                |  1 +
 .../google-api-core/google-api-core-2.25.1.ebuild  | 62 ++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/dev-python/google-api-core/Manifest 
b/dev-python/google-api-core/Manifest
index ccc01a7915db..df917a70632f 100644
--- a/dev-python/google-api-core/Manifest
+++ b/dev-python/google-api-core/Manifest
@@ -1,2 +1,3 @@
 DIST python-api-core-2.24.2.gh.tar.gz 208617 BLAKE2B 
39275929259dc5f75c895107f03355944870d644813202184b9a5aa7b75dcf2f8797ca6071f63951c4da0f33f61d41526694a4891d9d15e51d358a4d9ad252f0
 SHA512 
72ad7c49fb9ca5dfcc19abccf6b278c476ab2d48a27696783155ef5c62ad0c246041c8ce21275a5178a183f849d9ab66ede12bbc4e22af7389b8021500586991
 DIST python-api-core-2.25.0.gh.tar.gz 209779 BLAKE2B 
79dc6723dcfaffc7b033e5c8c11639fedbb515db66c0372e69ee50e30170d8e8d13dcaef7be11490a95847074020c3f15735583b4670d238eaebfac4fbce27f9
 SHA512 
9961dbec1de9686291eddb0396b3f17b90b9c16f951fb05f0eee995fccd9dea3ae7fe478398f4e34cf762978212d463b351cabcfbcbaeda9cb00113d9ff6b3df
+DIST python-api-core-2.25.1.gh.tar.gz 210551 BLAKE2B 
32f631ba3ecc01d9c903add37253fc53951615bebb018e12fdd188be4eaed6a03e5b4545f47e6f0dce03b85b98a3e2dcc2576bc295cae34d0ea5b430a59cd40b
 SHA512 
dba10e287ded497690437e701cb3fa8703fb87c4e52d80f84014fbede52d43168c8e575a969b97922e389598143d0afc0a9d9326b70810f5f4c249a75fc6bdf9

diff --git a/dev-python/google-api-core/google-api-core-2.25.1.ebuild 
b/dev-python/google-api-core/google-api-core-2.25.1.ebuild
new file mode 100644
index 000000000000..535c3a3f88b1
--- /dev/null
+++ b/dev-python/google-api-core/google-api-core-2.25.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 2020-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit distutils-r1
+
+MY_P=python-api-core-${PV}
+DESCRIPTION="Core Library for Google Client Libraries"
+HOMEPAGE="
+       https://github.com/googleapis/python-api-core/
+       https://pypi.org/project/google-api-core/
+       https://googleapis.dev/python/google-api-core/latest/index.html
+"
+SRC_URI="
+       https://github.com/googleapis/python-api-core/archive/v${PV}.tar.gz
+               -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="grpc"
+
+RDEPEND="
+       >=dev-python/googleapis-common-protos-1.56.2[${PYTHON_USEDEP}]
+       >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}]
+       >=dev-python/proto-plus-1.25.0[${PYTHON_USEDEP}]
+       >=dev-python/protobuf-3.19.5[${PYTHON_USEDEP}]
+       >=dev-python/requests-2.18.0[${PYTHON_USEDEP}]
+       <dev-python/requests-3[${PYTHON_USEDEP}]
+       grpc? (
+               >=dev-python/grpcio-1.49.1[${PYTHON_USEDEP}]
+               >=dev-python/grpcio-status-1.49.1[${PYTHON_USEDEP}]
+       )
+"
+BDEPEND="
+       test? (
+               >=dev-python/grpcio-1.49.1[${PYTHON_USEDEP}]
+               >=dev-python/grpcio-status-1.49.1[${PYTHON_USEDEP}]
+               dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+               dev-python/rsa[${PYTHON_USEDEP}]
+       )
+"
+
+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
+
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest -p asyncio tests
+}

Reply via email to