commit: 37fc9a5dcb0b5794ebabe36ac8d744f93971a34e Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sun Apr 10 04:51:24 2022 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sun Apr 10 04:51:24 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37fc9a5d
dev-ruby/google-protobuf: add 3.19.3 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/google-protobuf/Manifest | 1 + .../google-protobuf/google-protobuf-3.19.3.ebuild | 35 ++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-ruby/google-protobuf/Manifest b/dev-ruby/google-protobuf/Manifest index d8f8fde360af..a228c5713971 100644 --- a/dev-ruby/google-protobuf/Manifest +++ b/dev-ruby/google-protobuf/Manifest @@ -1 +1,2 @@ DIST google-protobuf-3.14.0-ruby.tar.gz 5319779 BLAKE2B cea083eea4d7fec441536effdfe2bf1811913154b0cc0da2f14f4edeb0efb200236da102c36700e24fab73fd9883aa90576ad64603a7f175ebf5cef0dc29aae5 SHA512 9dabba81119cb6196ef5de382a1032c57f6e69038f4dce0156f8671b98e51bb5095915fb6d05bb5a8ad8b17b559e652e1e9a392dd30c7ed8dcf1d986c137be11 +DIST google-protobuf-3.19.3-ruby.tar.gz 5293258 BLAKE2B c05b70ffca97f7166ea6a511a36907eed125edf1ebf17f908718221d9b851be84dfb2b1b39973f2faf35f6ade630e6ba4f9e8b91b8fbc922c5db97079323ee6e SHA512 1c003e7cbc8eae6a038f46e688b401ee202ba47f502561e909df79770f6e8b7daf3dc1ccc727e31bfb5b52cd04cb4fef7d2d2a28d650c13f396872ad4aa076c6 diff --git a/dev-ruby/google-protobuf/google-protobuf-3.19.3.ebuild b/dev-ruby/google-protobuf/google-protobuf-3.19.3.ebuild new file mode 100644 index 000000000000..a2c1a888a26a --- /dev/null +++ b/dev-ruby/google-protobuf/google-protobuf-3.19.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +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://developers.google.com/protocol-buffers" +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" +IUSE="" + +DEPEND+=" test? ( >=dev-libs/protobuf-3.19.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 +}