1 |
commit: b043baab27f38351c24bc78e7f70828e000f187a |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 6 07:16:07 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 8 06:12:38 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b043baab |
7 |
|
8 |
dev-ruby/google-protobuf: add 3.19.6 |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
|
12 |
dev-ruby/google-protobuf/Manifest | 1 + |
13 |
.../google-protobuf/google-protobuf-3.19.6.ebuild | 35 ++++++++++++++++++++++ |
14 |
2 files changed, 36 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/google-protobuf/Manifest b/dev-ruby/google-protobuf/Manifest |
17 |
index a228c5713971..423c478f0c4f 100644 |
18 |
--- a/dev-ruby/google-protobuf/Manifest |
19 |
+++ b/dev-ruby/google-protobuf/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST google-protobuf-3.14.0-ruby.tar.gz 5319779 BLAKE2B cea083eea4d7fec441536effdfe2bf1811913154b0cc0da2f14f4edeb0efb200236da102c36700e24fab73fd9883aa90576ad64603a7f175ebf5cef0dc29aae5 SHA512 9dabba81119cb6196ef5de382a1032c57f6e69038f4dce0156f8671b98e51bb5095915fb6d05bb5a8ad8b17b559e652e1e9a392dd30c7ed8dcf1d986c137be11 |
22 |
DIST google-protobuf-3.19.3-ruby.tar.gz 5293258 BLAKE2B c05b70ffca97f7166ea6a511a36907eed125edf1ebf17f908718221d9b851be84dfb2b1b39973f2faf35f6ade630e6ba4f9e8b91b8fbc922c5db97079323ee6e SHA512 1c003e7cbc8eae6a038f46e688b401ee202ba47f502561e909df79770f6e8b7daf3dc1ccc727e31bfb5b52cd04cb4fef7d2d2a28d650c13f396872ad4aa076c6 |
23 |
+DIST google-protobuf-3.19.6-ruby.tar.gz 5299501 BLAKE2B 3121f76b95f83c5309ce49ce296b738eff7be9d3a5093c564fbe2339fb5f3729e406f1b44bfcc05feb0d31ab63838bb4f54685017977c73a33b91215a6776072 SHA512 8f92242f2be8e1bbfba41341c87709ad91ad83b8b3e3df88bb430411541d3399295f49291fd52b50e3487b0fce33181cb4d175685fd25aac72adfaee26a612d4 |
24 |
|
25 |
diff --git a/dev-ruby/google-protobuf/google-protobuf-3.19.6.ebuild b/dev-ruby/google-protobuf/google-protobuf-3.19.6.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..c9d9624dd10c |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/google-protobuf/google-protobuf-3.19.6.ebuild |
30 |
@@ -0,0 +1,35 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+USE_RUBY="ruby27 ruby30" |
36 |
+ |
37 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
38 |
+ |
39 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
40 |
+ |
41 |
+RUBY_FAKEGEM_EXTENSIONS=(ext/google/protobuf_c/extconf.rb) |
42 |
+RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/google |
43 |
+ |
44 |
+inherit ruby-fakegem |
45 |
+ |
46 |
+DESCRIPTION="Protocol Buffers are Google's data interchange format" |
47 |
+HOMEPAGE="https://developers.google.com/protocol-buffers" |
48 |
+SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> ${P}-ruby.tar.gz" |
49 |
+RUBY_S="protobuf-${PV}/ruby" |
50 |
+ |
51 |
+LICENSE="BSD" |
52 |
+SLOT="3" |
53 |
+KEYWORDS="~amd64" |
54 |
+IUSE="" |
55 |
+ |
56 |
+DEPEND+=" test? ( >=dev-libs/protobuf-3.19.0 )" |
57 |
+ |
58 |
+all_ruby_prepare() { |
59 |
+ sed -e '/extensiontask/ s:^:#:' \ |
60 |
+ -e '/ExtensionTask/,/^ end/ s:^:#:' \ |
61 |
+ -e 's:../src/protoc:protoc:' \ |
62 |
+ -e 's/:compile,//' \ |
63 |
+ -e '/:test/ s/:build,//' \ |
64 |
+ -i Rakefile || die |
65 |
+} |