commit:     031f1d961485fce636c3ae6de6731362c137b2ef
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 27 07:56:42 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Aug 27 16:58:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=031f1d96

dev-ruby/grpc: new package, add 1.54.0

New dependency for app-emulation/vagrant.

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/grpc/Manifest           |  1 +
 dev-ruby/grpc/grpc-1.54.0.ebuild | 31 +++++++++++++++++++++++++++++++
 dev-ruby/grpc/metadata.xml       | 11 +++++++++++
 3 files changed, 43 insertions(+)

diff --git a/dev-ruby/grpc/Manifest b/dev-ruby/grpc/Manifest
new file mode 100644
index 000000000000..2c5dae3cdbda
--- /dev/null
+++ b/dev-ruby/grpc/Manifest
@@ -0,0 +1 @@
+DIST grpc-1.54.0.gem 6047232 BLAKE2B 
66e48f27748867eb99464ecf659204a2e0f8c9ad9c998fe13dbf8daf159f928d54414d28f121ecb52f1cb8d277651f91b4259eecf9cca2836d25cacbcfe9ea3a
 SHA512 
72e76223800078584151cf6a6833b4cb3cfc0fa0733b050b9ccf5180ef7250b26fc22d7bac52f636b5ada68723eb04f67f51d24aacf7dc1288333c7adab556d6

diff --git a/dev-ruby/grpc/grpc-1.54.0.ebuild b/dev-ruby/grpc/grpc-1.54.0.ebuild
new file mode 100644
index 000000000000..9e1d6b9ea47a
--- /dev/null
+++ b/dev-ruby/grpc/grpc-1.54.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_EXTENSIONS=(src/ruby/ext/grpc/extconf.rb)
+RUBY_FAKEGEM_EXTRAINSTALL="etc src"
+RUBY_FAKEGEM_RECIPE_TEST="none"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Send RPCs from Ruby using GRPC"
+HOMEPAGE="https://github.com/grpc/grpc";
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "
+       dev-ruby/googleapis-common-protos-types:1
+       >=dev-ruby/google-protobuf-3.21:3
+"
+
+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
+}

diff --git a/dev-ruby/grpc/metadata.xml b/dev-ruby/grpc/metadata.xml
new file mode 100644
index 000000000000..ba831219e4dd
--- /dev/null
+++ b/dev-ruby/grpc/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="project">
+    <email>[email protected]</email>
+    <name>Gentoo Ruby Project</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">grpc/grpc</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to