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 5B4C61392E8 for ; Sun, 25 Jul 2021 08:52:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BB95CE0B42; Sun, 25 Jul 2021 08:52:05 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 A1B54E0AFA for ; Sun, 25 Jul 2021 08:52:05 +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 AE650342C46 for ; Sun, 25 Jul 2021 08:52:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 12102581 for ; Sun, 25 Jul 2021 08:52:03 +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: <1627203118.21a71c44ead244277e10c782292531e1aa90d94f.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/protobuf-cucumber/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/protobuf-cucumber/protobuf-cucumber-3.10.8-r1.ebuild X-VCS-Directories: dev-util/protobuf-cucumber/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 21a71c44ead244277e10c782292531e1aa90d94f X-VCS-Branch: master Date: Sun, 25 Jul 2021 08:52:03 +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: 58b8e4d6-f5cf-442b-a1fd-2db72a229b14 X-Archives-Hash: f61e7b0c0237c134009e98f2fbaf2b9e commit: 21a71c44ead244277e10c782292531e1aa90d94f Author: Hans de Graaff gentoo org> AuthorDate: Sun Jul 25 08:51:45 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Jul 25 08:51:58 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21a71c44 dev-util/protobuf-cucumber: fix dependencies Declare runtime dependencies as such, and add missing test dependencies. Closes: https://bugs.gentoo.org/743091 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> .../protobuf-cucumber-3.10.8-r1.ebuild | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/dev-util/protobuf-cucumber/protobuf-cucumber-3.10.8-r1.ebuild b/dev-util/protobuf-cucumber/protobuf-cucumber-3.10.8-r1.ebuild new file mode 100644 index 00000000000..ee30208714d --- /dev/null +++ b/dev-util/protobuf-cucumber/protobuf-cucumber-3.10.8-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Google Protocol Buffers serialization and RPC implementation for Ruby" +HOMEPAGE="https://github.com/ruby-protobuf/protobuf" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/activesupport-3.2:* + dev-ruby/middleware + dev-ruby/thor:* + dev-ruby/thread_safe +" + +ruby_add_bdepend "test? ( + dev-ruby/timecop +)" + +all_ruby_prepare() { + sed -i -e '/\(bundler\|pry\)/I s:^:#:' Rakefile spec/spec_helper.rb || die + + # Avoid unpackaged optional dependency + rm -f spec/lib/protobuf/rpc/connectors/{ping,zmq}_spec.rb spec/functional/zmq_server_spec.rb || die + rm -rf spec/lib/protobuf/rpc/servers/zmq || die + sed -i -e '/context .zmq/,/^ end/ s:^:#:' spec/lib/protobuf/cli_spec.rb || die +}