summaryrefslogtreecommitdiff
path: root/dev-ruby/grpc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-06 04:27:04 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-06 04:27:04 +0100
commitd6106fb0c1ab8f79024ab6a9ac2062ddc85d4e07 (patch)
treef3a4ad4dcf443e9351fa5dec88afeeec86c9b642 /dev-ruby/grpc
parentf3f72d0d5f1ae9ee74acaa63ccb7a247468e73bf (diff)
gentoo auto-resync : 06:10:2024 - 04:27:04
Diffstat (limited to 'dev-ruby/grpc')
-rw-r--r--dev-ruby/grpc/Manifest1
-rw-r--r--dev-ruby/grpc/grpc-1.59.2-r1.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/grpc/Manifest b/dev-ruby/grpc/Manifest
index 98fad35d6249..df570ccf2700 100644
--- a/dev-ruby/grpc/Manifest
+++ b/dev-ruby/grpc/Manifest
@@ -1,5 +1,6 @@
DIST grpc-1.54.0.gem 6047232 BLAKE2B 66e48f27748867eb99464ecf659204a2e0f8c9ad9c998fe13dbf8daf159f928d54414d28f121ecb52f1cb8d277651f91b4259eecf9cca2836d25cacbcfe9ea3a SHA512 72e76223800078584151cf6a6833b4cb3cfc0fa0733b050b9ccf5180ef7250b26fc22d7bac52f636b5ada68723eb04f67f51d24aacf7dc1288333c7adab556d6
DIST grpc-1.59.2.gem 6404096 BLAKE2B 6953d538cee06c1f8795ca7949c22dd60d9aa4c4aa51c8d92631b646929682089969db1d2f206cd2e4c1e3692803c2cef685edf22f6d7a2d20b79dc735c942bc SHA512 a624ddf60f5befe043cdcfa015f2541bdf5b67604f8dd51652dd13a9576673df624513048d9e591c54da6e8fa1b983e78f8ca79d301c089fca5be6f12722b827
EBUILD grpc-1.54.0.ebuild 817 BLAKE2B 571b34b340f1422d6846319868f32354fb49b504634226dda7d40cce93cf2fdd50daa70b3d008e0f2b7814d1dc93e4b8073c742b738e20704105b3d2d4ab633e SHA512 f21ab28f7796e3cd87e16c9a66dcbbb888f7b015a718f5b79a55dc5a0339679abff1d8660312fbf9e363301d831f7862a54dda88542d603466118428f4c0b857
+EBUILD grpc-1.59.2-r1.ebuild 819 BLAKE2B 340c89dea4b3d252e9262e60f341658c2463163b4514b66edbe928f2940bd94c9c0afdbb1e8ba4ac927ccefed062154af675a6b2f80d2231cf356e34f5283413 SHA512 fc3f9e0527b0b474686e04b6cd1ac4a3594ec15a6d6061b5f6e3d13f2f0777c69ea0208fc035cb7b417e4a724584ef14cd94c6ac0c168a78d2aa687aeb0aa66a
EBUILD grpc-1.59.2.ebuild 817 BLAKE2B 571b34b340f1422d6846319868f32354fb49b504634226dda7d40cce93cf2fdd50daa70b3d008e0f2b7814d1dc93e4b8073c742b738e20704105b3d2d4ab633e SHA512 f21ab28f7796e3cd87e16c9a66dcbbb888f7b015a718f5b79a55dc5a0339679abff1d8660312fbf9e363301d831f7862a54dda88542d603466118428f4c0b857
MISC metadata.xml 336 BLAKE2B dac1a37a2ddd4d280831ba429e991ad11dfd89be92f8083c15bdc68d1dd33c29eceaf52854cb414988885df82f312909962d1b80e0b4c701cffe4820b56339da SHA512 b456c14dd285296678212be52e468ae957a3287c0d3bd12d41672b0b4a7e3eb4d6426362677005d222802db62cfc13e7e009d691b7ac361cf26a3bc0172aa3c9
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
+}