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 9F92B1382C5 for ; Thu, 8 Apr 2021 06:07:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8B0E9E08C8; Thu, 8 Apr 2021 06:07:32 +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 71BB4E08AD for ; Thu, 8 Apr 2021 06:07:32 +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 3CFDD340D06 for ; Thu, 8 Apr 2021 06:07:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B50AA644 for ; Thu, 8 Apr 2021 06:07:29 +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: <1617861927.c220a8c3081e6a4a8deaa58320e6bf2bcfa24cf5.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rr/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/rr/Manifest dev-ruby/rr/rr-3.0.0.ebuild X-VCS-Directories: dev-ruby/rr/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: c220a8c3081e6a4a8deaa58320e6bf2bcfa24cf5 X-VCS-Branch: master Date: Thu, 8 Apr 2021 06:07:29 +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: 7291ff28-c5ce-4a1d-8e92-b935ecbc97bb X-Archives-Hash: 4c2aeb28dcb2ecd33d4553a4037cef9b commit: c220a8c3081e6a4a8deaa58320e6bf2bcfa24cf5 Author: Hans de Graaff gentoo org> AuthorDate: Thu Apr 8 06:05:27 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Thu Apr 8 06:05:27 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c220a8c3 dev-ruby/rr: add 3.0.0 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/rr/Manifest | 1 + dev-ruby/rr/rr-3.0.0.ebuild | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-ruby/rr/Manifest b/dev-ruby/rr/Manifest index 22faf1eec3b..ff6d14165f6 100644 --- a/dev-ruby/rr/Manifest +++ b/dev-ruby/rr/Manifest @@ -1 +1,2 @@ DIST rr-1.2.1.tar.gz 137497 BLAKE2B 3db6751d15e54da6ee6777fb7d383c1bfea2e68482dda03ceda9a70f66382cf9aa7c39f27fca9f0ce92b19858b5324bdbb5811809b3ae146e213bb03ddca0772 SHA512 df2d05ff732908da55878cb89cb7d1c4442a18c19f71940244f5bd7dc55632467a1824f55d7fade4b5122486a61277090d7ad05df9f99098030c21aa45b36dd2 +DIST rr-3.0.0.tar.gz 137978 BLAKE2B 707678362370173c3cb088db9003a5acb54f42b579955239317738027ede63d19217c9e76dd693d09226bac85b41cf9422ac7a580f502c1cbc338b0d4ccb34c9 SHA512 4d162a88868dde9a300a0783869d7c7edae840960c26697e20db3858cc3cc9db942a52c22e79584d3e7371da59156ff4f026ca9052d9d4b203159223f78b1030 diff --git a/dev-ruby/rr/rr-3.0.0.ebuild b/dev-ruby/rr/rr-3.0.0.ebuild new file mode 100644 index 00000000000..85b47d8658f --- /dev/null +++ b/dev-ruby/rr/rr-3.0.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_TASK_TEST="none" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +RUBY_FAKEGEM_GEMSPEC=rr.gemspec + +inherit ruby-fakegem + +DESCRIPTION="A double framework featuring a selection of double techniques and a terse syntax" +HOMEPAGE="https://rr.github.io/rr" +SRC_URI="https://github.com/rr/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( + dev-ruby/rspec:2 + dev-ruby/minitest + dev-ruby/diff-lcs )" + +all_ruby_prepare() { + rm Gemfile || die + sed -i -e '1,2 s:^:#:' spec/suites/rspec_2/spec_helper.rb || die +} + +each_ruby_test() { + # Only run the rspec 2 case since we don't have appraisals. Setting + # up everything correctly without it seems very complicated. + ruby-ng_rspec --format progress spec/suites/rspec_2/unit || die +}