1 |
commit: 3eefc33636387c1cac918130e417799bc5b8c614 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 3 05:56:38 2019 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 3 06:05:00 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eefc336 |
7 |
|
8 |
dev-ruby/google-protobuf: add 3.10.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.76, Repoman-2.3.16 |
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.10.0.ebuild | 36 ++++++++++++++++++++++ |
15 |
2 files changed, 37 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/google-protobuf/Manifest b/dev-ruby/google-protobuf/Manifest |
18 |
index 428aa7f2e5a..561724bab1c 100644 |
19 |
--- a/dev-ruby/google-protobuf/Manifest |
20 |
+++ b/dev-ruby/google-protobuf/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
+DIST google-protobuf-3.10.0-ruby.tar.gz 4908907 BLAKE2B 53a702a2cbfe7e642989eec010541fda434b7b8bbd267e3b65fc569a0ab33b08438c1a81d478426ebfbec6e330b90428e3da4fd345b8b64f890a6b3f4e360883 SHA512 0dcba6d21486fdc162f57119754b47b4a2fb605af878d5b96a32df55895321535cffb5b804566fd90ee7c36e20106d0cd4f5d9f3c652dc9c4dfca96be41a1977 |
23 |
DIST google-protobuf-3.6.1-ruby.tar.gz 4485582 BLAKE2B 546c49759df784018459809b9db692c5c94aef5d717183af5cd9edd96b4c658e759f23950cdcd5dddceaaad06ea1de2a2357b9fa8c496ed5d538fc5920174da0 SHA512 1bc175d24b49de1b1e41eaf39598194e583afffb924c86c8d2e569d935af21874be76b2cbd4d9655a1d38bac3d4cd811de88bc2c72d81bad79115e69e5b0d839 |
24 |
DIST google-protobuf-3.8.0-ruby.tar.gz 4934577 BLAKE2B 4b86ab216e8a8b2c99c3620da9417c0562498e9d4dbf4957db186f51c62b0ed73b1322635a076b2d4054e015bdf6c8c50cc7fd0cb78d24a93b29d2a5b48f66fe SHA512 ba27c64e5193cd4a144bf0c9dc0d195fbbe6e580aaca01960362f0f185074588ca40046d3bcea76e1deae7508b722f6c5be484ea957122ae8e98229c7c3a4ad2 |
25 |
DIST google-protobuf-3.9.2-ruby.tar.gz 4947582 BLAKE2B ff0150970286d1eb452bd2f252fa8200617ddf491dcb3b9b60cebb36268c5a3072df3d24142ca9863306df6690f53ad4d4761c7846c677c4610716ec22e0838c SHA512 510349ddc59b4e53087b5247ca8784e9f852d66d755e1b014c6214e14c003f31dd336a724e9eb87a5b85a70e22793eb3211744c85a514b24b687346563717bec |
26 |
|
27 |
diff --git a/dev-ruby/google-protobuf/google-protobuf-3.10.0.ebuild b/dev-ruby/google-protobuf/google-protobuf-3.10.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..749ced3b808 |
30 |
--- /dev/null |
31 |
+++ b/dev-ruby/google-protobuf/google-protobuf-3.10.0.ebuild |
32 |
@@ -0,0 +1,36 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+USE_RUBY="ruby24 ruby25 ruby26" |
38 |
+ |
39 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
40 |
+ |
41 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
42 |
+ |
43 |
+inherit ruby-fakegem |
44 |
+ |
45 |
+DESCRIPTION="Protocol Buffers are Google's data interchange format" |
46 |
+HOMEPAGE="https://developers.google.com/protocol-buffers" |
47 |
+SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> ${P}-ruby.tar.gz" |
48 |
+RUBY_S="protobuf-${PV}/ruby" |
49 |
+ |
50 |
+LICENSE="BSD" |
51 |
+SLOT="3" |
52 |
+KEYWORDS="~amd64" |
53 |
+IUSE="" |
54 |
+ |
55 |
+DEPEND+=" test? ( >=dev-libs/protobuf-3.7.0 )" |
56 |
+ |
57 |
+each_ruby_prepare() { |
58 |
+ sed -i -e 's:../src/protoc:protoc: ; /^task :build/ s/:compile,//' Rakefile || die |
59 |
+} |
60 |
+ |
61 |
+each_ruby_configure() { |
62 |
+ ${RUBY} -Cext/google/protobuf_c extconf.rb |
63 |
+} |
64 |
+ |
65 |
+each_ruby_compile() { |
66 |
+ emake -Cext/google/protobuf_c V=1 |
67 |
+ cp ext/google/protobuf_c/protobuf_c.so lib/google/ || die |
68 |
+} |