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 92AEC138350 for ; Tue, 7 Apr 2020 18:53:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A3196E09B5; Tue, 7 Apr 2020 18:53:44 +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 189F5E09B5 for ; Tue, 7 Apr 2020 18:53:44 +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 1334634F0E9 for ; Tue, 7 Apr 2020 18:53:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B94411C6 for ; Tue, 7 Apr 2020 18:53:41 +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: <1586285616.3377460ae43c3a966e46fd51540fa18da654306d.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/tins/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/tins/tins-1.24.1.ebuild X-VCS-Directories: dev-ruby/tins/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 3377460ae43c3a966e46fd51540fa18da654306d X-VCS-Branch: master Date: Tue, 7 Apr 2020 18:53:41 +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: 49a232b1-5fd6-4bfa-bd06-36a3f7c027c6 X-Archives-Hash: 3156d6136f5bf4b59bb59c7dc1f62519 commit: 3377460ae43c3a966e46fd51540fa18da654306d Author: Hans de Graaff gentoo org> AuthorDate: Tue Apr 7 18:47:12 2020 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Apr 7 18:53:36 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3377460a dev-ruby/tins: fix gemspecs Only include dev-ruby/sync on supported ruby versions. Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/tins/tins-1.24.1.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dev-ruby/tins/tins-1.24.1.ebuild b/dev-ruby/tins/tins-1.24.1.ebuild index 0ae7ba411b9..9f9ef0959bd 100644 --- a/dev-ruby/tins/tins-1.24.1.ebuild +++ b/dev-ruby/tins/tins-1.24.1.ebuild @@ -25,6 +25,14 @@ USE_RUBY="ruby26 ruby27" ruby_add_rdepend "dev-ruby/sync" ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )" +each_ruby_prepare() { + case ${RUBY} in + *ruby24|*ruby25) + sed -i -e '/sync/d' ${RUBY_FAKEGEM_GEMSPEC} || die + ;; + esac +} + each_ruby_test() { ruby-ng_testrb-2 -Ilib tests/*_test.rb }