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 16AD2138334 for ; Sun, 21 Oct 2018 08:58:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD6CFE08A8; Sun, 21 Oct 2018 08:58:25 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 837FBE08A8 for ; Sun, 21 Oct 2018 08:58:25 +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 27DE4335D03 for ; Sun, 21 Oct 2018 08:58:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3102F444 for ; Sun, 21 Oct 2018 08:58:21 +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: <1540112295.53efb60932d6f627fc8f6e036d479656ee04fb0f.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.6.1.ebuild dev-ruby/google-protobuf/metadata.xml X-VCS-Directories: dev-ruby/google-protobuf/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 53efb60932d6f627fc8f6e036d479656ee04fb0f X-VCS-Branch: master Date: Sun, 21 Oct 2018 08:58:21 +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-Archives-Salt: 183f9663-9b36-4038-b2a5-a0ddd3bb121b X-Archives-Hash: 60d5c5e5d0f3b929bdc4e3f0a35f4d32 commit: 53efb60932d6f627fc8f6e036d479656ee04fb0f Author: Hans de Graaff gentoo org> AuthorDate: Sun Oct 21 08:57:49 2018 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Oct 21 08:58:15 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53efb609 dev-ruby/google-protobuf: initial import of 3.6.1 New dependency for cucumber-messages, which in turn is a new dependency for dev-ruby/gherkin. Signed-off-by: Hans de Graaff gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11 dev-ruby/google-protobuf/Manifest | 1 + .../google-protobuf/google-protobuf-3.6.1.ebuild | 37 ++++++++++++++++++++++ dev-ruby/google-protobuf/metadata.xml | 8 +++++ 3 files changed, 46 insertions(+) diff --git a/dev-ruby/google-protobuf/Manifest b/dev-ruby/google-protobuf/Manifest new file mode 100644 index 00000000000..77f6714b99f --- /dev/null +++ b/dev-ruby/google-protobuf/Manifest @@ -0,0 +1 @@ +DIST google-protobuf-3.6.1-ruby.tar.gz 4485582 BLAKE2B 546c49759df784018459809b9db692c5c94aef5d717183af5cd9edd96b4c658e759f23950cdcd5dddceaaad06ea1de2a2357b9fa8c496ed5d538fc5920174da0 SHA512 1bc175d24b49de1b1e41eaf39598194e583afffb924c86c8d2e569d935af21874be76b2cbd4d9655a1d38bac3d4cd811de88bc2c72d81bad79115e69e5b0d839 diff --git a/dev-ruby/google-protobuf/google-protobuf-3.6.1.ebuild b/dev-ruby/google-protobuf/google-protobuf-3.6.1.ebuild new file mode 100644 index 00000000000..bc07705fb0c --- /dev/null +++ b/dev-ruby/google-protobuf/google-protobuf-3.6.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24 ruby25" + +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 )" + +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 +} diff --git a/dev-ruby/google-protobuf/metadata.xml b/dev-ruby/google-protobuf/metadata.xml new file mode 100644 index 00000000000..28ab0c15f20 --- /dev/null +++ b/dev-ruby/google-protobuf/metadata.xml @@ -0,0 +1,8 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + +