diff options
author | Guillaume Seren <guillaumeseren@gmail.com> | 2023-11-29 23:24:32 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-01-31 14:54:23 +0200 |
commit | 71c65667ab778770a1d7f7834799f93f809b421a (patch) | |
tree | 4e5e6a4cdb8ebcbb6b35a96aad82b5e88441c8d1 /dev-ruby | |
parent | dev-libs/isa-l: add missing x86 BDEPEND (diff) | |
download | gentoo-71c65667ab778770a1d7f7834799f93f809b421a.tar.gz gentoo-71c65667ab778770a1d7f7834799f93f809b421a.tar.bz2 gentoo-71c65667ab778770a1d7f7834799f93f809b421a.zip |
dev-ruby/google-protobuf: Bump version 3.24.4
Signed-off-by: Guillaume Seren <guillaumeseren@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/google-protobuf/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/google-protobuf/google-protobuf-3.24.4.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/google-protobuf/Manifest b/dev-ruby/google-protobuf/Manifest index e7ee59a24f5d..d9db4ae1c0eb 100644 --- a/dev-ruby/google-protobuf/Manifest +++ b/dev-ruby/google-protobuf/Manifest @@ -1 +1,2 @@ DIST google-protobuf-3.21.12-ruby.tar.gz 5141502 BLAKE2B 2e57a401b6fc86dff2af54e3d1a32db87f6c54fed46e557964c01c2d87f333ca94dafbe2d7d9cf279ac67d53219ae0154c5a1ea5cb90cdcf72d3576cefc44653 SHA512 152f8441c325e808b942153c15e82fdb533d5273b50c25c28916ec568ada880f79242bb61ee332ac5fb0d20f21239ed6f8de02ef6256cc574b1fc354d002c6b0 +DIST google-protobuf-3.24.4-ruby.tar.gz 5179247 BLAKE2B f3b53769f31a0fc9151e90b133c836127e745f9f0c591b0d4e476ab50a6b7ca21562169bdedcd6637961131ef39484d2c945dd83d01a3839cca7f0555144d3a8 SHA512 19b8aa89647fa14b4716cfeed289233bed65be2417d9f7e2b1082975a4753e5a1f091eb36ad7cff159d125b01bfe005e2911ebda896f15cba58299e340487518 diff --git a/dev-ruby/google-protobuf/google-protobuf-3.24.4.ebuild b/dev-ruby/google-protobuf/google-protobuf-3.24.4.ebuild new file mode 100644 index 000000000000..e259959da05c --- /dev/null +++ b/dev-ruby/google-protobuf/google-protobuf-3.24.4.ebuild @@ -0,0 +1,39 @@ +# 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_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/google/protobuf_c/extconf.rb) +RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/google + +inherit ruby-fakegem + +DESCRIPTION="Protocol Buffers are Google's data interchange format" +HOMEPAGE="https://protobuf.dev/" +SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> ${P}-ruby.tar.gz" +RUBY_S="protobuf-${PV}/ruby" + +LICENSE="BSD" +SLOT="3" +KEYWORDS="~amd64 ~arm64" +IUSE="" + +DEPEND+=" >=dev-libs/protobuf-3.21.0" + +all_ruby_prepare() { + sed -e '/extensiontask/ s:^:#:' \ + -e '/ExtensionTask/,/^ end/ s:^:#:' \ + -e 's:../src/protoc:protoc:' \ + -e 's/:compile,//' \ + -e '/:test/ s/:build,//' \ + -i Rakefile || die +} + +each_ruby_prepare() { + ${RUBY} -S rake genproto || die +} |