commit:     4a585a254225a19337af2376970ba8a19eac1078
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Mon Jul  8 10:53:01 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul  9 12:51:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a585a25

net-libs/grpc: 1.62.1 add python3_11

Fixed the typo that led to the omission of 3.11

Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/grpc/grpc-1.62.1.ebuild | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/net-libs/grpc/grpc-1.62.1.ebuild b/net-libs/grpc/grpc-1.62.1.ebuild
index f8449433e9f8..868f18efcae3 100644
--- a/net-libs/grpc/grpc-1.62.1.ebuild
+++ b/net-libs/grpc/grpc-1.62.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 CMAKE_IN_SOURCE_BUILD=1
-PYTHON_COMPAT=( python3_{10,12} )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit cmake flag-o-matic python-any-r1
 
 MY_PV="${PV//_pre/-pre}"
@@ -57,14 +57,12 @@ BDEPEND="
 PATCHES=( "${FILESDIR}/${PN}-1.62.1-system-gtest.patch" )
 
 python_check_deps() {
-       python_has_version -b "dev-python/twisted[${PYTHON_USEDEP}]" &&
-       python_has_version -b "dev-python/pyyaml[${PYTHON_USEDEP}]" &&
-       python_has_version -b "dev-python/cffi[${PYTHON_USEDEP}]" &&
-       python_has_version -b "dev-python/six[${PYTHON_USEDEP}]"
-}
-
-pkg_setup() {
-       use test && python-any-r1_pkg_setup
+       if use test; then
+               python_has_version -b "dev-python/twisted[${PYTHON_USEDEP}]" &&
+               python_has_version -b "dev-python/pyyaml[${PYTHON_USEDEP}]" &&
+               python_has_version -b "dev-python/cffi[${PYTHON_USEDEP}]" &&
+               python_has_version -b "dev-python/six[${PYTHON_USEDEP}]"
+       fi
 }
 
 soversion_check() {

Reply via email to