mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-19 00:09:37 +03:00
dev-ruby/grpc: new package, add 1.54.0
New dependency for app-emulation/vagrant. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
1
dev-ruby/grpc/Manifest
Normal file
1
dev-ruby/grpc/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST grpc-1.54.0.gem 6047232 BLAKE2B 66e48f27748867eb99464ecf659204a2e0f8c9ad9c998fe13dbf8daf159f928d54414d28f121ecb52f1cb8d277651f91b4259eecf9cca2836d25cacbcfe9ea3a SHA512 72e76223800078584151cf6a6833b4cb3cfc0fa0733b050b9ccf5180ef7250b26fc22d7bac52f636b5ada68723eb04f67f51d24aacf7dc1288333c7adab556d6
|
||||
31
dev-ruby/grpc/grpc-1.54.0.ebuild
Normal file
31
dev-ruby/grpc/grpc-1.54.0.ebuild
Normal file
@@ -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
|
||||
}
|
||||
11
dev-ruby/grpc/metadata.xml
Normal file
11
dev-ruby/grpc/metadata.xml
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user