1 |
commit: c34420cee7aec55fb7a2555f2054a2f65df0c973 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 4 05:46:25 2020 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 4 06:29:02 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c34420ce |
7 |
|
8 |
dev-ruby/google-protobuf: add 3.11.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/google-protobuf/Manifest | 1 + |
14 |
.../google-protobuf/google-protobuf-3.11.3.ebuild | 40 ++++++++++++++++++++++ |
15 |
2 files changed, 41 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/google-protobuf/Manifest b/dev-ruby/google-protobuf/Manifest |
18 |
index 925b03519ef..83399eb119a 100644 |
19 |
--- a/dev-ruby/google-protobuf/Manifest |
20 |
+++ b/dev-ruby/google-protobuf/Manifest |
21 |
@@ -1,4 +1,5 @@ |
22 |
DIST google-protobuf-3.10.1-ruby.tar.gz 4905995 BLAKE2B 1dde3b6260918da8430c2ce69210462f339c492b2a4e53d5d9c1bea3747aead905370507fc4bd703560f6885c0f3f8393a998b875c19744ad94827109ecbb49f SHA512 aba0c4034c0d3b1759904adb6270eee94dd5dc568f433b219e3f1f70c0033993cdfa3bf476ad3f5767c7629edb9fd029c686405abf93731dde808286b336330d |
23 |
DIST google-protobuf-3.11.2-ruby.tar.gz 5133897 BLAKE2B 275ea52a072b4e0226e4b6dc476d4bc28e8f4f05bca0709eab51da91c02869e96c3b0ac9ab4cc46290f875d4eac6ac72374c5b45e27fa89ad3d58fd56a2c8b7e SHA512 8319c1e003e5fc64e91b512de016ec1cf10265b294d3b4beea60856beaeb02b4d7682343c74b2c12b0f6d4d6258451af9b9d72bcb4b495293b7637da21030c8f |
24 |
+DIST google-protobuf-3.11.3-ruby.tar.gz 5134757 BLAKE2B 1d03cd34ad90ef28b7bb9e1155f5b069fcc21d44fb509d96d7f2638229ce84f7c18e570f4fc644b007cac94104a473d168f0bf8cedcfe7557c63024adc4ecf38 SHA512 beac21d495bfd8e9b40120d1db9fd82251958f954533fc6f76cd0b9c28f92533ac35368a4c298ebb1d8e09047b670ed3bd948bb7da6eb5cca7fdc0c1c44aa39b |
25 |
DIST google-protobuf-3.8.0-ruby.tar.gz 4934577 BLAKE2B 4b86ab216e8a8b2c99c3620da9417c0562498e9d4dbf4957db186f51c62b0ed73b1322635a076b2d4054e015bdf6c8c50cc7fd0cb78d24a93b29d2a5b48f66fe SHA512 ba27c64e5193cd4a144bf0c9dc0d195fbbe6e580aaca01960362f0f185074588ca40046d3bcea76e1deae7508b722f6c5be484ea957122ae8e98229c7c3a4ad2 |
26 |
DIST google-protobuf-3.9.2-ruby.tar.gz 4947582 BLAKE2B ff0150970286d1eb452bd2f252fa8200617ddf491dcb3b9b60cebb36268c5a3072df3d24142ca9863306df6690f53ad4d4761c7846c677c4610716ec22e0838c SHA512 510349ddc59b4e53087b5247ca8784e9f852d66d755e1b014c6214e14c003f31dd336a724e9eb87a5b85a70e22793eb3211744c85a514b24b687346563717bec |
27 |
|
28 |
diff --git a/dev-ruby/google-protobuf/google-protobuf-3.11.3.ebuild b/dev-ruby/google-protobuf/google-protobuf-3.11.3.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..95bcaa6b4ca |
31 |
--- /dev/null |
32 |
+++ b/dev-ruby/google-protobuf/google-protobuf-3.11.3.ebuild |
33 |
@@ -0,0 +1,40 @@ |
34 |
+# Copyright 1999-2020 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+USE_RUBY="ruby24 ruby25 ruby26" |
39 |
+ |
40 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
41 |
+ |
42 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
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.7.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 |
+ -i Rakefile || die |
64 |
+} |
65 |
+ |
66 |
+each_ruby_configure() { |
67 |
+ ${RUBY} -Cext/google/protobuf_c extconf.rb |
68 |
+} |
69 |
+ |
70 |
+each_ruby_compile() { |
71 |
+ emake -Cext/google/protobuf_c V=1 |
72 |
+ cp ext/google/protobuf_c/protobuf_c.so lib/google/ || die |
73 |
+} |