summaryrefslogtreecommitdiff
path: root/dev-ruby/grpc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-27 22:00:51 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-27 22:00:51 +0100
commit14fff03b5545ac6b6f575afd2e6174afbd294fdd (patch)
tree21be5aee55de4f6216e406157ad8c59a811ea202 /dev-ruby/grpc
parent9f51c386724b9543e88a9c0e1be57d44326f3116 (diff)
gentoo auto-resync : 27:08:2023 - 22:00:51
Diffstat (limited to 'dev-ruby/grpc')
-rw-r--r--dev-ruby/grpc/Manifest3
-rw-r--r--dev-ruby/grpc/grpc-1.54.0.ebuild31
-rw-r--r--dev-ruby/grpc/metadata.xml11
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/grpc/Manifest b/dev-ruby/grpc/Manifest
new file mode 100644
index 000000000000..03c1f880ddab
--- /dev/null
+++ b/dev-ruby/grpc/Manifest
@@ -0,0 +1,3 @@
+DIST grpc-1.54.0.gem 6047232 BLAKE2B 66e48f27748867eb99464ecf659204a2e0f8c9ad9c998fe13dbf8daf159f928d54414d28f121ecb52f1cb8d277651f91b4259eecf9cca2836d25cacbcfe9ea3a SHA512 72e76223800078584151cf6a6833b4cb3cfc0fa0733b050b9ccf5180ef7250b26fc22d7bac52f636b5ada68723eb04f67f51d24aacf7dc1288333c7adab556d6
+EBUILD grpc-1.54.0.ebuild 693 BLAKE2B 298c6cd6f101908828931db034d7a28c9cd58d4caf8d657821273337ec9f48ace62b2eda15fb8798b412ebd9af40c68f91034b602b770b363756ee585466a8d2 SHA512 9162f67618b5831d2a283f8572a97ac0c7193abeaff0ee6b201b3d1f0ba959d18edb3db2b328cd8b22e3c6bf9cae589e4ba0e9b11778f931019dc7df15344cb9
+MISC metadata.xml 336 BLAKE2B dac1a37a2ddd4d280831ba429e991ad11dfd89be92f8083c15bdc68d1dd33c29eceaf52854cb414988885df82f312909962d1b80e0b4c701cffe4820b56339da SHA512 b456c14dd285296678212be52e468ae957a3287c0d3bd12d41672b0b4a7e3eb4d6426362677005d222802db62cfc13e7e009d691b7ac361cf26a3bc0172aa3c9
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..35334d6cf2d4
--- /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 ~arm64"
+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>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">grpc/grpc</remote-id>
+ </upstream>
+</pkgmetadata>