summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-06-03 06:18:27 +0200
committerMichał Górny <mgorny@gentoo.org>2025-06-03 06:59:39 +0200
commite73ef7549c4d4f82926c0322efcbc3d97f85f7b9 (patch)
treeb3cf266a05d733da511dd3a6542c3404c7aba38f /dev-python
parent6a30183e1d6cb5eda85a2aa9c7d28cba4d21ae91 (diff)
downloadgentoo-e73ef7549c4d4f82926c0322efcbc3d97f85f7b9.tar.gz
gentoo-e73ef7549c4d4f82926c0322efcbc3d97f85f7b9.tar.bz2
gentoo-e73ef7549c4d4f82926c0322efcbc3d97f85f7b9.zip
dev-python/google-api-core: Bump to 2.25.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/google-api-core/Manifest1
-rw-r--r--dev-python/google-api-core/google-api-core-2.25.0.ebuild63
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-python/google-api-core/Manifest b/dev-python/google-api-core/Manifest
index 1a233adaa816..ccc01a7915db 100644
--- a/dev-python/google-api-core/Manifest
+++ b/dev-python/google-api-core/Manifest
@@ -1 +1,2 @@
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
diff --git a/dev-python/google-api-core/google-api-core-2.25.0.ebuild b/dev-python/google-api-core/google-api-core-2.25.0.ebuild
new file mode 100644
index 000000000000..18eabd7b91ad
--- /dev/null
+++ b/dev-python/google-api-core/google-api-core-2.25.0.ebuild
@@ -0,0 +1,63 @@
+# 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/mock[${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
+}