summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-09-19 07:22:57 +0000
committerHans de Graaff <graaff@gentoo.org>2010-09-19 07:22:57 +0000
commit85e27204473de55687da80421919f4a6e8d78afb (patch)
treecb43699dcdaea7092fac96268e7e023e34f166ce
parent*portage-2.2_rc84 (19 Sep 2010) (diff)
downloadgentoo-2-85e27204473de55687da80421919f4a6e8d78afb.tar.gz
gentoo-2-85e27204473de55687da80421919f4a6e8d78afb.tar.bz2
gentoo-2-85e27204473de55687da80421919f4a6e8d78afb.zip
Version bump with test fixes for ruby 1.9.2.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
-rw-r--r--dev-ruby/minitest/ChangeLog7
-rw-r--r--dev-ruby/minitest/minitest-1.7.1.ebuild41
2 files changed, 47 insertions, 1 deletions
diff --git a/dev-ruby/minitest/ChangeLog b/dev-ruby/minitest/ChangeLog
index 42ef5a4d71d0..e23526aabc6e 100644
--- a/dev-ruby/minitest/ChangeLog
+++ b/dev-ruby/minitest/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/minitest
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/minitest/ChangeLog,v 1.21 2010/08/17 00:25:35 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/minitest/ChangeLog,v 1.22 2010/09/19 07:22:57 graaff Exp $
+
+*minitest-1.7.1 (19 Sep 2010)
+
+ 19 Sep 2010; Hans de Graaff <graaff@gentoo.org> +minitest-1.7.1.ebuild:
+ Version bump with test fixes for ruby 1.9.2.
17 Aug 2010; Jeroen Roovers <jer@gentoo.org> minitest-1.5.0.ebuild:
Stable for HPPA (bug #321043).
diff --git a/dev-ruby/minitest/minitest-1.7.1.ebuild b/dev-ruby/minitest/minitest-1.7.1.ebuild
new file mode 100644
index 000000000000..7d9f5a217792
--- /dev/null
+++ b/dev-ruby/minitest/minitest-1.7.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/minitest/minitest-1.7.1.ebuild,v 1.1 2010/09/19 07:22:57 graaff Exp $
+
+EAPI=2
+# jruby → tests fail, reported upstream
+# http://rubyforge.org/tracker/index.php?func=detail&aid=27657&group_id=1040&atid=4097
+USE_RUBY="ruby18 ruby19 ree18 jruby"
+
+RUBY_FAKEGEM_TASK_DOC="docs"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="History.txt Manifest.txt README.txt"
+
+inherit ruby-fakegem
+
+DESCRIPTION="minitest/unit is a small and fast replacement for ruby's huge and slow test/unit."
+HOMEPAGE="http://rubyforge.org/projects/bfts"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+ruby_add_bdepend "
+ doc? ( dev-ruby/hoe )
+ test? (
+ virtual/ruby-test-unit
+ dev-ruby/hoe
+ )"
+
+each_ruby_test() {
+ case ${RUBY} in
+ *jruby)
+ eqawarn "Skipping tests on JRuby, bug 321055."
+ ;;
+ *)
+ each_fakegem_test
+ ;;
+ esac
+}