commit:     64bf39638b930e37f79774b698f794e3b5ed22e8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 24 06:09:28 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 24 07:16:34 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64bf3963

dev-python/grpcio-status: Bump to 1.70.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/grpcio-status/Manifest                  |  1 +
 .../grpcio-status/grpcio-status-1.70.0.ebuild      | 47 ++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/dev-python/grpcio-status/Manifest 
b/dev-python/grpcio-status/Manifest
index 7320c3f98519..736704d688b6 100644
--- a/dev-python/grpcio-status/Manifest
+++ b/dev-python/grpcio-status/Manifest
@@ -1,3 +1,4 @@
 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
 DIST grpc-1.69.0.gh.tar.gz 17425484 BLAKE2B 
ad0f6c12312d5ef96748bc4e7b6b1b9453e00bbbe4f1233016bab132d177bf7f17325788fdec64072c339baa002816d805b3db930e0f1a767d62e4667a54afad
 SHA512 
227c5256a8ff94d923d1c7123aa452db3853351589812a1ab325c8e1203bf9eb3066c1838eb306652a32ac2ab5d2cbffa34ae0b2bc2afddbf9281c503b4863c4
+DIST grpc-1.70.0.gh.tar.gz 17507321 BLAKE2B 
0b158f42a18243bd85817da5fe2b0f3171a0576bfdefd7154806bec569a1c148d4af6428070d4ac51da0d4d2b5d74b8b4fb8ffb43966d05a79fd85865bc2802b
 SHA512 
076610c92fc05bbf716d2ba2d031f478ea533c40342d20eda16c174a91441ca1a221c1b9d1f795cf7d3484f16de5f8339479b3a75d7a2fd72abe6f79297628ea

diff --git a/dev-python/grpcio-status/grpcio-status-1.70.0.ebuild 
b/dev-python/grpcio-status/grpcio-status-1.70.0.ebuild
new file mode 100644
index 000000000000..d56518703928
--- /dev/null
+++ b/dev-python/grpcio-status/grpcio-status-1.70.0.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-6[${PYTHON_USEDEP}]
+       >=dev-python/protobuf-5.29.0[${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
+}

Reply via email to