commit:     cdfb7a344fa4b1fd8b91502c545a20f8fbc52a3f
Author:     Tomás Carvalho <tomas <AT> thetimesweeper <DOT> com>
AuthorDate: Thu Oct  3 10:50:41 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct  6 09:37:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdfb7a34

dev-ruby/grpc: add 1.66.0

Signed-off-by: Tomás Carvalho <tomas <AT> thetimesweeper.com>
Closes: https://github.com/gentoo/gentoo/pull/38861
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ruby/grpc/Manifest           |  1 +
 dev-ruby/grpc/grpc-1.66.0.ebuild | 37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-ruby/grpc/Manifest b/dev-ruby/grpc/Manifest
index 3bd8d43cd81d..42085d04d5a3 100644
--- a/dev-ruby/grpc/Manifest
+++ b/dev-ruby/grpc/Manifest
@@ -1,2 +1,3 @@
 DIST grpc-1.54.0.gem 6047232 BLAKE2B 
66e48f27748867eb99464ecf659204a2e0f8c9ad9c998fe13dbf8daf159f928d54414d28f121ecb52f1cb8d277651f91b4259eecf9cca2836d25cacbcfe9ea3a
 SHA512 
72e76223800078584151cf6a6833b4cb3cfc0fa0733b050b9ccf5180ef7250b26fc22d7bac52f636b5ada68723eb04f67f51d24aacf7dc1288333c7adab556d6
 DIST grpc-1.59.2.gem 6404096 BLAKE2B 
6953d538cee06c1f8795ca7949c22dd60d9aa4c4aa51c8d92631b646929682089969db1d2f206cd2e4c1e3692803c2cef685edf22f6d7a2d20b79dc735c942bc
 SHA512 
a624ddf60f5befe043cdcfa015f2541bdf5b67604f8dd51652dd13a9576673df624513048d9e591c54da6e8fa1b983e78f8ca79d301c089fca5be6f12722b827
+DIST grpc-1.66.0.gem 6721536 BLAKE2B 
a8736fe3a71db8a1910c9b0186e9962f390c6e587fee3357a828409941406fc5563e21c3287a7ef7b65ebc952ddffeb1b4062ba29fc0c10d8c6dd9de8e7c46f2
 SHA512 
a262181c1f837e469b3cf1f47929646dc17ed8548a6978f3ffb78fd81f915abc098a98f347da0f49831e6b0d9da302263a69a151f6ab39d35a2519bee63f944d

diff --git a/dev-ruby/grpc/grpc-1.66.0.ebuild b/dev-ruby/grpc/grpc-1.66.0.ebuild
new file mode 100644
index 000000000000..588b4283eb18
--- /dev/null
+++ b/dev-ruby/grpc/grpc-1.66.0.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
+}

Reply via email to