From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B0F171580E0 for ; Tue, 03 Jun 2025 05:00:15 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 9CCDA342FE2 for ; Tue, 03 Jun 2025 05:00:15 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id DC61D1104A8; Tue, 03 Jun 2025 04:59:54 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id D4A201104A8 for ; Tue, 03 Jun 2025 04:59:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8D43534319A for ; Tue, 03 Jun 2025 04:59:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7307928FF for ; Tue, 03 Jun 2025 04:59:52 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1748926779.e73ef7549c4d4f82926c0322efcbc3d97f85f7b9.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/google-api-core/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/google-api-core/Manifest dev-python/google-api-core/google-api-core-2.25.0.ebuild X-VCS-Directories: dev-python/google-api-core/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e73ef7549c4d4f82926c0322efcbc3d97f85f7b9 X-VCS-Branch: master Date: Tue, 03 Jun 2025 04:59:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1accd5d6-fe5e-4987-a33a-6bd0f4d191a8 X-Archives-Hash: 41a235ff70d2f355d195a38da003c457 commit: e73ef7549c4d4f82926c0322efcbc3d97f85f7b9 Author: Michał Górny gentoo org> AuthorDate: Tue Jun 3 04:18:27 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jun 3 04:59:39 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e73ef754 dev-python/google-api-core: Bump to 2.25.0 Signed-off-by: Michał Górny gentoo.org> dev-python/google-api-core/Manifest | 1 + .../google-api-core/google-api-core-2.25.0.ebuild | 63 ++++++++++++++++++++++ 2 files changed, 64 insertions(+) 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/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 +}