From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1133830-garchives=archives.gentoo.org@lists.gentoo.org> 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 4B409138335 for <garchives@archives.gentoo.org>; Fri, 27 Dec 2019 05:43:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20B62E0B20; Fri, 27 Dec 2019 05:43:08 +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 DF506E0B20 for <gentoo-commits@lists.gentoo.org>; Fri, 27 Dec 2019 05:43:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 6D3E034DBEE for <gentoo-commits@lists.gentoo.org>; Fri, 27 Dec 2019 05:43:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DF81F3B for <gentoo-commits@lists.gentoo.org>; Fri, 27 Dec 2019 05:43:03 +0000 (UTC) From: "Hans de Graaff" <graaff@gentoo.org> 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" <graaff@gentoo.org> Message-ID: <1577425269.56d535cff28c1d329bc9dc7f83bfce2c27e1829b.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rubygems/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/rubygems/rubygems-3.1.2.ebuild X-VCS-Directories: dev-ruby/rubygems/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 56d535cff28c1d329bc9dc7f83bfce2c27e1829b X-VCS-Branch: master Date: Fri, 27 Dec 2019 05:43:03 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e1304a05-5051-482f-83b9-d11e3a936dd1 X-Archives-Hash: f990fcbfe46546535daadbfd7493589a commit: 56d535cff28c1d329bc9dc7f83bfce2c27e1829b Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Fri Dec 27 05:41:09 2019 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Fri Dec 27 05:41:09 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56d535cf dev-ruby/rubygems: fix rake invocation We only need to use rake when we also run tests. This fixes a circular dependency between rake and rubygems that can now be avoided with FEATURES=-test. Closes: https://bugs.gentoo.org/703868 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/rubygems/rubygems-3.1.2.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-ruby/rubygems/rubygems-3.1.2.ebuild b/dev-ruby/rubygems/rubygems-3.1.2.ebuild index 4e5cd0605a1..090abfea7b7 100644 --- a/dev-ruby/rubygems/rubygems-3.1.2.ebuild +++ b/dev-ruby/rubygems/rubygems-3.1.2.ebuild @@ -41,7 +41,9 @@ all_ruby_prepare() { sed -i -e '/test_realworld_default_gem/askip "gentoo"' test/rubygems/test_require.rb || die # Update manifest after changing files to avoid a test failure - rake update_manifest || die + if use test; then + rake update_manifest || die + fi } each_ruby_compile() {