diff options
Diffstat (limited to 'dev-python/google-api-core')
| -rw-r--r-- | dev-python/google-api-core/Manifest | 4 | ||||
| -rw-r--r-- | dev-python/google-api-core/google-api-core-2.30.3.ebuild | 55 | ||||
| -rw-r--r-- | dev-python/google-api-core/google-api-core-2.31.0.ebuild | 55 | ||||
| -rw-r--r-- | dev-python/google-api-core/metadata.xml | 20 |
4 files changed, 134 insertions, 0 deletions
diff --git a/dev-python/google-api-core/Manifest b/dev-python/google-api-core/Manifest new file mode 100644 index 000000000000..cd3ad8f9740d --- /dev/null +++ b/dev-python/google-api-core/Manifest @@ -0,0 +1,4 @@ +DIST google_api_core-2.30.3.tar.gz 177001 BLAKE2B f92aaca90dbb81ba324310cbea02bc7b9548c46b04c4fd73f94a4a068d28f4faa1593f4494b907c1f48d215c0ace16cf6b8050e4a1096ef7a25584b5f8e9ddb6 SHA512 bf05923a2321ac3c6e61ac1a6f64b063d8bdf2e31ed1f06c9e60defe45b1f8a5297cd40e9e14e0e772a6504f114c6dfd48e72301c493f672c8e903d49a6db00f +DIST google_api_core-2.30.3.tar.gz.provenance 5822 BLAKE2B fcfb17036eb98d36c8adc812d20a51f5755b496f1b4b8198e2e102482a7ec2ccb907aeeaa53893a7cd5b5edd9117e530239f69614ec5adc8c78a52c351941837 SHA512 fb161a1593e6b7e63bcbf022a27a9a660d3b12817d95f81c9e5642497a2b3d22cc0836efc63b7a316a4a6451d980111bcf3bea06cc45432b0ca0449da3dafbf8 +DIST google_api_core-2.31.0.tar.gz 176492 BLAKE2B d7a43dffcfe90b1d73f2697b694d38b72d0fd925c70ee489c2c0b2a136795e74a47dd83a75a679a073d044d07b8c0320b3a69dcac7fcf41358cba777f81d3565 SHA512 3ad498a4639901e0580fe06f5da27d13a46e2843189f15acb6332144fb8fff15a0e97d6d506a64725517241235543d94f12e0e797b3ca3948986c7e060379d09 +DIST google_api_core-2.31.0.tar.gz.provenance 5919 BLAKE2B 82a16489c1b3aa9eff1187a1bace2ecfe9e51891d672ce1d0b219d086f172f5fc0c0e51ea3be925496cbf6c6f400bab0e9b9d4063d7ee653c19eed43d8e8d20c SHA512 3ce46850b8b137d97b20a0c91eeac907e4f9ea6dd610cda7e19e3fbdd184146e401d1d4fca6146a21855dc9276cc7af3d9734e9947aef534d3e761a0ce47ce73 diff --git a/dev-python/google-api-core/google-api-core-2.30.3.ebuild b/dev-python/google-api-core/google-api-core-2.30.3.ebuild new file mode 100644 index 000000000000..ed6df63f7dd6 --- /dev/null +++ b/dev-python/google-api-core/google-api-core-2.30.3.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_{13..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.63.2[${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/requests-3[${PYTHON_USEDEP}] + grpc? ( + >=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/google-api-core-2.31.0.ebuild b/dev-python/google-api-core/google-api-core-2.31.0.ebuild new file mode 100644 index 000000000000..70d0fcde31d3 --- /dev/null +++ b/dev-python/google-api-core/google-api-core-2.31.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_{13..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.63.2[${PYTHON_USEDEP}] + >=dev-python/google-auth-1.25.0[${PYTHON_USEDEP}] + >=dev-python/proto-plus-1.25.0[${PYTHON_USEDEP}] + >=dev-python/protobuf-5.29.6[${PYTHON_USEDEP}] + >=dev-python/requests-2.33.0[${PYTHON_USEDEP}] + <dev-python/requests-3[${PYTHON_USEDEP}] + grpc? ( + >=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 new file mode 100644 index 000000000000..d38ef1aeba4a --- /dev/null +++ b/dev-python/google-api-core/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches /> + <use> + <flag name="grpc"> + Pull (heavy) gRPC dependencies in, that are optionally + required by part of the API. + </flag> + </use> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
