From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 06B70138335 for ; Sun, 14 Jul 2019 06:32:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5E1AEE0878; Sun, 14 Jul 2019 06:32:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 29FCFE0878 for ; Sun, 14 Jul 2019 06:32:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6B71C347A53 for ; Sun, 14 Jul 2019 06:32:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 474FD6E3 for ; Sun, 14 Jul 2019 06:32:33 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1563085941.04eb0dc9af3bf0032b26787d2d2e92fceb4f259f.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/google-protobuf/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/google-protobuf/Manifest dev-ruby/google-protobuf/google-protobuf-3.9.0.ebuild X-VCS-Directories: dev-ruby/google-protobuf/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 04eb0dc9af3bf0032b26787d2d2e92fceb4f259f X-VCS-Branch: master Date: Sun, 14 Jul 2019 06:32:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: afaf2432-0b1e-4152-ad25-4bf56b455793 X-Archives-Hash: f586f4899dcff7cf5dda8e9dd20ccaf9 commit: 04eb0dc9af3bf0032b26787d2d2e92fceb4f259f Author: Hans de Graaff gentoo org> AuthorDate: Sun Jul 14 06:15:53 2019 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Jul 14 06:32:21 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04eb0dc9 dev-ruby/google-protobuf: add 3.9.0 Signed-off-by: Hans de Graaff gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 dev-ruby/google-protobuf/Manifest | 1 + .../google-protobuf/google-protobuf-3.9.0.ebuild | 37 ++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-ruby/google-protobuf/Manifest b/dev-ruby/google-protobuf/Manifest index 20b307b5951..86a73052d6c 100644 --- a/dev-ruby/google-protobuf/Manifest +++ b/dev-ruby/google-protobuf/Manifest @@ -1,2 +1,3 @@ DIST google-protobuf-3.6.1-ruby.tar.gz 4485582 BLAKE2B 546c49759df784018459809b9db692c5c94aef5d717183af5cd9edd96b4c658e759f23950cdcd5dddceaaad06ea1de2a2357b9fa8c496ed5d538fc5920174da0 SHA512 1bc175d24b49de1b1e41eaf39598194e583afffb924c86c8d2e569d935af21874be76b2cbd4d9655a1d38bac3d4cd811de88bc2c72d81bad79115e69e5b0d839 DIST google-protobuf-3.8.0-ruby.tar.gz 4934577 BLAKE2B 4b86ab216e8a8b2c99c3620da9417c0562498e9d4dbf4957db186f51c62b0ed73b1322635a076b2d4054e015bdf6c8c50cc7fd0cb78d24a93b29d2a5b48f66fe SHA512 ba27c64e5193cd4a144bf0c9dc0d195fbbe6e580aaca01960362f0f185074588ca40046d3bcea76e1deae7508b722f6c5be484ea957122ae8e98229c7c3a4ad2 +DIST google-protobuf-3.9.0-ruby.tar.gz 4945061 BLAKE2B 11df30465d19b5c057d8c2a18bb944f1abc725056e957fa0ec08803b8d73271daf950852e27273ff4596c88471297608d1ee571a48e615e2c411f79a2d6b5eed SHA512 eebfea7758b924939edaf44d0f51e341f4778dcf943c9e399da57cb5f52e875bda1e37e40841798232dea52082b5d59c20de69a15ddeaf00220c432f05ca0e6e diff --git a/dev-ruby/google-protobuf/google-protobuf-3.9.0.ebuild b/dev-ruby/google-protobuf/google-protobuf-3.9.0.ebuild new file mode 100644 index 00000000000..5eefeb1f241 --- /dev/null +++ b/dev-ruby/google-protobuf/google-protobuf-3.9.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +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 +}