summaryrefslogtreecommitdiff
path: root/dev-python/google-api-core
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-06-13 07:01:26 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-06-13 07:01:26 +0000
commitd1f187268ce0d965201c63ccf5ccec84b91cd3e9 (patch)
tree0a547868317aec53f7d3fa7cd01cde63cbff81c2 /dev-python/google-api-core
parentc95855f3f9eb1f00347eff40a529924818c8395d (diff)
downloadbaldeagleos-repo-d1f187268ce0d965201c63ccf5ccec84b91cd3e9.tar.gz
baldeagleos-repo-d1f187268ce0d965201c63ccf5ccec84b91cd3e9.tar.xz
baldeagleos-repo-d1f187268ce0d965201c63ccf5ccec84b91cd3e9.zip
Adding metadata
Diffstat (limited to 'dev-python/google-api-core')
-rw-r--r--dev-python/google-api-core/Manifest1
-rw-r--r--dev-python/google-api-core/google-api-core-2.25.1.ebuild62
2 files changed, 63 insertions, 0 deletions
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..b3aa9740b6ff
--- /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_{9,10,11,12,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
+}