From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/bourne/
Date: Mon, 4 Feb 2019 20:02:34 +0000 (UTC) [thread overview]
Message-ID: <1549310543.af6663f780b22e805945640e3103875b41020a7e.graaff@gentoo> (raw)
commit: af6663f780b22e805945640e3103875b41020a7e
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 4 19:54:41 2019 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Feb 4 20:02:23 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af6663f7
dev-ruby/bourne: add ruby25, ruby26
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
dev-ruby/bourne/bourne-1.6.0.ebuild | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/dev-ruby/bourne/bourne-1.6.0.ebuild b/dev-ruby/bourne/bourne-1.6.0.ebuild
index 2e540174232..51ad0763943 100644
--- a/dev-ruby/bourne/bourne-1.6.0.ebuild
+++ b/dev-ruby/bourne/bourne-1.6.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README.md"
@@ -21,11 +21,15 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
-ruby_add_rdepend ">=dev-ruby/mocha-1.1:1.0"
+ruby_add_rdepend ">=dev-ruby/mocha-1.5.0:1.0"
ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
all_ruby_prepare() {
sed -i -e '/git ls-files/d' "${RUBY_FAKEGEM_GEMSPEC}" || die
sed -i -e '/bundler/d' Rakefile || die
+
+ # Fix tests to work with mocha 1.5.0 or newer where reset_instance is gone
+ sed -i -e '/reset_instance/ s:^:#:' test/unit/*received_test.rb || die
+ sed -i -e 's/Mockery.reset_instance/mocha_teardown/' test/unit/mockery_test.rb || die
}
next reply other threads:[~2019-02-04 20:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-04 20:02 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-08-16 6:12 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/bourne/ Hans de Graaff
2016-03-23 6:16 Hans de Graaff
2016-03-06 19:54 Manuel Rüger
2016-03-06 19:54 Manuel Rüger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1549310543.af6663f780b22e805945640e3103875b41020a7e.graaff@gentoo \
--to=graaff@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox