diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-12-14 07:42:53 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-12-14 07:42:53 +0100 |
commit | 8f2921c3860f7fe62c8b7b7b1d1d681aa9018aa1 (patch) | |
tree | e8e9dce2dcdbfe6734b10ba6580b736322f398f1 /dev-ruby | |
parent | sys-cluster/minikube: Bump to version 1.6.1 (diff) | |
download | gentoo-8f2921c3860f7fe62c8b7b7b1d1d681aa9018aa1.tar.gz gentoo-8f2921c3860f7fe62c8b7b7b1d1d681aa9018aa1.tar.bz2 gentoo-8f2921c3860f7fe62c8b7b7b1d1d681aa9018aa1.zip |
dev-ruby/google-protobuf: add 3.11.2
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Hans de Graaff <graaff@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.11.2.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/google-protobuf/Manifest b/dev-ruby/google-protobuf/Manifest index b2399537ecb8..88a79ec427c9 100644 --- a/dev-ruby/google-protobuf/Manifest +++ b/dev-ruby/google-protobuf/Manifest @@ -2,5 +2,6 @@ DIST google-protobuf-3.10.0-ruby.tar.gz 4908907 BLAKE2B 53a702a2cbfe7e642989eec0 DIST google-protobuf-3.10.1-ruby.tar.gz 4905995 BLAKE2B 1dde3b6260918da8430c2ce69210462f339c492b2a4e53d5d9c1bea3747aead905370507fc4bd703560f6885c0f3f8393a998b875c19744ad94827109ecbb49f SHA512 aba0c4034c0d3b1759904adb6270eee94dd5dc568f433b219e3f1f70c0033993cdfa3bf476ad3f5767c7629edb9fd029c686405abf93731dde808286b336330d DIST google-protobuf-3.11.0-ruby.tar.gz 5133483 BLAKE2B 2c24d3c01d7f5dca92d49709aba8c8021e53c8a0a5201c08224c8df8e63cb15fefbb173a414abeef297a62432192bdba8d2549d51f8b3f7b408b6183f95d3b99 SHA512 c3b4c0da30d886ca2c8bd45e38767e12cf1e603aca13a1f7463ae896c85e5a30fd32e4b2ddeb775f9c04ca0d753cd5946c5808cefbab4982a3fa4433702f771f DIST google-protobuf-3.11.1-ruby.tar.gz 5133811 BLAKE2B 65258ab0c0832ceafc100d0b0cbb0a9517f937f3bec238294e20e8008fc9ee3e6e253947f9b7652a2dc68703b8c78f68f8b75199bf02a789adfd3ace11131204 SHA512 1245afc1d52fede2ca3f71fc2ea411360104ff1ab5c98a81a29437fb9c8dc1af57c6382f35c65a16e2d0d4b404a8643acb436ee87d83b4349006708216b0bc30 +DIST google-protobuf-3.11.2-ruby.tar.gz 5133897 BLAKE2B 275ea52a072b4e0226e4b6dc476d4bc28e8f4f05bca0709eab51da91c02869e96c3b0ac9ab4cc46290f875d4eac6ac72374c5b45e27fa89ad3d58fd56a2c8b7e SHA512 8319c1e003e5fc64e91b512de016ec1cf10265b294d3b4beea60856beaeb02b4d7682343c74b2c12b0f6d4d6258451af9b9d72bcb4b495293b7637da21030c8f DIST google-protobuf-3.8.0-ruby.tar.gz 4934577 BLAKE2B 4b86ab216e8a8b2c99c3620da9417c0562498e9d4dbf4957db186f51c62b0ed73b1322635a076b2d4054e015bdf6c8c50cc7fd0cb78d24a93b29d2a5b48f66fe SHA512 ba27c64e5193cd4a144bf0c9dc0d195fbbe6e580aaca01960362f0f185074588ca40046d3bcea76e1deae7508b722f6c5be484ea957122ae8e98229c7c3a4ad2 DIST google-protobuf-3.9.2-ruby.tar.gz 4947582 BLAKE2B ff0150970286d1eb452bd2f252fa8200617ddf491dcb3b9b60cebb36268c5a3072df3d24142ca9863306df6690f53ad4d4761c7846c677c4610716ec22e0838c SHA512 510349ddc59b4e53087b5247ca8784e9f852d66d755e1b014c6214e14c003f31dd336a724e9eb87a5b85a70e22793eb3211744c85a514b24b687346563717bec diff --git a/dev-ruby/google-protobuf/google-protobuf-3.11.2.ebuild b/dev-ruby/google-protobuf/google-protobuf-3.11.2.ebuild new file mode 100644 index 000000000000..749ced3b808c --- /dev/null +++ b/dev-ruby/google-protobuf/google-protobuf-3.11.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +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.7.0 )" + +each_ruby_prepare() { + sed -i -e 's:../src/protoc:protoc: ; /^task :build/ s/:compile,//' Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext/google/protobuf_c extconf.rb +} + +each_ruby_compile() { + emake -Cext/google/protobuf_c V=1 + cp ext/google/protobuf_c/protobuf_c.so lib/google/ || die +} |