From d0c40a803766f99ed30a23bdaa59bba12665ee2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 3 Jan 2025 19:47:08 +0100 Subject: [PATCH] dev-python/grpcio-status: Bump to 1.68.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/grpcio-status/Manifest | 1 + .../grpcio-status/grpcio-status-1.68.1.ebuild | 47 +++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 dev-python/grpcio-status/grpcio-status-1.68.1.ebuild diff --git a/dev-python/grpcio-status/Manifest b/dev-python/grpcio-status/Manifest index 48efca04d4d7a..60500a585e4ff 100644 --- a/dev-python/grpcio-status/Manifest +++ b/dev-python/grpcio-status/Manifest @@ -1 +1,2 @@ DIST grpc-1.67.0.gh.tar.gz 17317493 BLAKE2B 81aaf9a4d293dd41d9d068e81eb8a9898b610498722dd6f9c5ff88118fc5a31a936ac83c7cdb4f56c288d131c7721beed8e307dd91bf3de5cc25951cdb06de5a SHA512 5e76a3147ca051e5304d5d64eefe124cd446dd5d7bd9a65667bae5474b59f70b32368d225e8345c9414bddb968c1390b8bcd08ed97abb62b543528289b29ec35 +DIST grpc-1.68.1.gh.tar.gz 17320674 BLAKE2B 46f4ae35c6a3a6ddfd47918a68a42d10e115ef81052715e8d8a73abf973063c730ddda06373278f3a4a6280dd4938e530a5e7377ab76aa653bb208583deab7f3 SHA512 cfb88a1290e2ee46fbd5f2b50b9c066ac174b1077170088c3b1a30bd37e66c6ca5254d2b951329a3991ac2b4320d12a50b1464babffbfc3bcf4eab670a449fd1 diff --git a/dev-python/grpcio-status/grpcio-status-1.68.1.ebuild b/dev-python/grpcio-status/grpcio-status-1.68.1.ebuild new file mode 100644 index 0000000000000..6012fd853c7a3 --- /dev/null +++ b/dev-python/grpcio-status/grpcio-status-1.68.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +MY_P=grpc-${PV} +DESCRIPTION="Reference package for GRPC Python status proto mapping" +HOMEPAGE=" + https://grpc.io/ + https://github.com/grpc/grpc/ + https://pypi.org/project/grpcio-status/ +" +SRC_URI=" + https://github.com/grpc/grpc/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P}/src/python/grpcio_status + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/grpcio-${PV}[${PYTHON_USEDEP}] + >=dev-python/googleapis-common-protos-1.5.5[${PYTHON_USEDEP}] + =dev-python/protobuf-5.26.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/coverage[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + + cd "${WORKDIR}/${MY_P}/src/python/grpcio_tests" || die + epytest tests{,_aio}/status +}