public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/graaff:master commit in: dev-ruby/uuid/
Date: Mon, 30 Jun 2014 16:21:08 +0000 (UTC)	[thread overview]
Message-ID: <1403860149.8bc426f319867f0840b0e549bdc26308bbcb4a7b.graaff@gentoo> (raw)

commit:     8bc426f319867f0840b0e549bdc26308bbcb4a7b
Author:     Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Fri Jun 27 09:09:09 2014 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Jun 27 09:09:09 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/graaff.git;a=commit;h=8bc426f3

Add ruby20, ruby21. Add test dependency on mocha and make tests work when newer mocha is installed.

Package-Manager: portage-2.2.8-r1

---
 dev-ruby/uuid/ChangeLog         | 4 ++++
 dev-ruby/uuid/uuid-2.3.7.ebuild | 9 +++++++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/uuid/ChangeLog b/dev-ruby/uuid/ChangeLog
index 177cbd3..9bae0ec 100644
--- a/dev-ruby/uuid/ChangeLog
+++ b/dev-ruby/uuid/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  27 Jun 2014; Hans de Graaff <graaff@gentoo.org> uuid-2.3.7.ebuild:
+  Add ruby20, ruby21. Add test dependency on mocha and make tests work when
+  newer mocha is installed.
+
   27 Jun 2014; Hans de Graaff <graaff@gentoo.org> -uuid-2.3.6.ebuild:
   Cleanup.
 

diff --git a/dev-ruby/uuid/uuid-2.3.7.ebuild b/dev-ruby/uuid/uuid-2.3.7.ebuild
index 729e983..bd83dcf 100644
--- a/dev-ruby/uuid/uuid-2.3.7.ebuild
+++ b/dev-ruby/uuid/uuid-2.3.7.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header:  $
 
 EAPI=5
-USE_RUBY="ruby19"
+USE_RUBY="ruby19 ruby20 ruby21"
 
 RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc"
 
@@ -25,6 +25,11 @@ IUSE="doc"
 
 ruby_add_rdepend ">=dev-ruby/macaddr-1.0:0"
 
+ruby_add_bdepend "test? ( dev-ruby/mocha:0.14 )"
+
 all_ruby_prepare() {
 	rm bin/{rake,yard,yri,yardoc} || die
+
+	# Only works with older mocha versions.
+	sed -e '2igem "mocha", "~>0.14.0"' -i test/test-uuid.rb || die 
 }


             reply	other threads:[~2014-06-30 16:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-30 16:21 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-10-29  6:14 [gentoo-commits] dev/graaff:master commit in: dev-ruby/uuid/ Hans de Graaff
2015-07-01 21:34 Hans de Graaff
2015-06-05  5:30 Hans de Graaff
2014-06-30 16:21 Hans de Graaff
2013-09-13  9:46 Hans de Graaff
2013-01-25  7:27 Hans de Graaff
2013-01-24 14:11 Hans de Graaff
2013-01-23 12:43 Hans de Graaff

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=1403860149.8bc426f319867f0840b0e549bdc26308bbcb4a7b.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