From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3199E15808B for ; Sat, 5 Oct 2024 06:12:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 33E2EE29B4; Sat, 5 Oct 2024 06:12:54 +0000 (UTC) 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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 18132E29B4 for ; Sat, 5 Oct 2024 06:12: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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 22D9A343097 for ; Sat, 5 Oct 2024 06:12:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5CC7F1CB0 for ; Sat, 5 Oct 2024 06:12:51 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1728108725.8a6b73c958f0961b50d540da0601939ea4c7a868.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/grpc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/grpc/grpc-1.59.2-r1.ebuild X-VCS-Directories: dev-ruby/grpc/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8a6b73c958f0961b50d540da0601939ea4c7a868 X-VCS-Branch: master Date: Sat, 5 Oct 2024 06:12:51 +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: f88ed0f0-fde5-4d24-95c3-512542cc13f5 X-Archives-Hash: a7144c46274a4457b11c331a140262a8 commit: 8a6b73c958f0961b50d540da0601939ea4c7a868 Author: Sam James gentoo org> AuthorDate: Sat Oct 5 06:12:05 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sat Oct 5 06:12:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a6b73c9 dev-ruby/grpc: depend on correct dev-ruby/google-protobuf slot ... otherwise we get complaints when launching vagrant. Closes: https://bugs.gentoo.org/939826 Signed-off-by: Sam James gentoo.org> dev-ruby/grpc/grpc-1.59.2-r1.ebuild | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/dev-ruby/grpc/grpc-1.59.2-r1.ebuild b/dev-ruby/grpc/grpc-1.59.2-r1.ebuild new file mode 100644 index 000000000000..588b4283eb18 --- /dev/null +++ b/dev-ruby/grpc/grpc-1.59.2-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_EXTENSIONS=(src/ruby/ext/grpc/extconf.rb) +RUBY_FAKEGEM_EXTRAINSTALL="etc src" +RUBY_FAKEGEM_RECIPE_TEST="none" + +inherit multiprocessing ruby-fakegem + +DESCRIPTION="Send RPCs from Ruby using GRPC" +HOMEPAGE="https://github.com/grpc/grpc" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="" + +ruby_add_rdepend " + dev-ruby/googleapis-common-protos-types:1 + >=dev-ruby/google-protobuf-3.24.4:3 +" + +each_ruby_configure() { + export GRPC_RUBY_BUILD_PROCS="$(makeopts_jobs)" + + each_fakegem_configure +} + +each_ruby_install() { + # Remove all the "src" bits that are not needed + rm -rf src/core src/ruby/spec src/ruby/ext/grpc/{libs,objs} || die + + each_fakegem_install +}