summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2013-07-07 08:08:54 +0000
committerHans de Graaff <graaff@gentoo.org>2013-07-07 08:08:54 +0000
commite28430aea4637bbee18052c1d216c33dd68d9eca (patch)
treea83e23abe9dede3e1be4a53f4368f3be5ef5c23c /dev-ruby/racc
parentAdd ruby20 support. (diff)
downloadgentoo-2-e28430aea4637bbee18052c1d216c33dd68d9eca.tar.gz
gentoo-2-e28430aea4637bbee18052c1d216c33dd68d9eca.tar.bz2
gentoo-2-e28430aea4637bbee18052c1d216c33dd68d9eca.zip
Add ruby20 support.
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/racc')
-rw-r--r--dev-ruby/racc/ChangeLog5
-rw-r--r--dev-ruby/racc/racc-1.4.9.ebuild13
2 files changed, 10 insertions, 8 deletions
diff --git a/dev-ruby/racc/ChangeLog b/dev-ruby/racc/ChangeLog
index 50ea48555e37..9f73fc9ded93 100644
--- a/dev-ruby/racc/ChangeLog
+++ b/dev-ruby/racc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/racc
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/ChangeLog,v 1.93 2013/01/28 15:15:18 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/ChangeLog,v 1.94 2013/07/07 08:08:54 graaff Exp $
+
+ 07 Jul 2013; Hans de Graaff <graaff@gentoo.org> racc-1.4.9.ebuild:
+ Add ruby20 support.
28 Jan 2013; Alexis Ballier <aballier@gentoo.org> racc-1.4.9.ebuild:
keyword ~amd64-fbsd
diff --git a/dev-ruby/racc/racc-1.4.9.ebuild b/dev-ruby/racc/racc-1.4.9.ebuild
index 4948b2d553b7..11de73164ef4 100644
--- a/dev-ruby/racc/racc-1.4.9.ebuild
+++ b/dev-ruby/racc/racc-1.4.9.ebuild
@@ -1,11 +1,12 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/racc-1.4.9.ebuild,v 1.2 2013/01/28 15:15:18 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/racc-1.4.9.ebuild,v 1.3 2013/07/07 08:08:54 graaff Exp $
EAPI=4
-USE_RUBY="ruby18 ruby19 jruby"
+USE_RUBY="ruby18 ruby19 ruby20 jruby"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_TASK_DOC="docs"
RUBY_FAKEGEM_EXTRADOC="README.rdoc README.ja.rdoc TODO ChangeLog"
@@ -17,12 +18,10 @@ HOMEPAGE="http://www.loveruby.net/en/racc.html"
LICENSE="LGPL-2.1"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc test"
-ruby_add_bdepend "dev-ruby/rake
- doc? ( dev-ruby/hoe )
- test? ( dev-ruby/hoe )"
+ruby_add_bdepend "dev-ruby/rake"
all_ruby_prepare() {
sed -i -e 's|/tmp/out|${TMPDIR:-/tmp}/out|' test/helper.rb || die "tests fix failed"
@@ -75,7 +74,7 @@ each_ruby_test() {
ewarn "released."
;;
*)
- each_fakegem_test
+ ${RUBY} -Ilib -S testrb test/test_*.rb || die
;;
esac
}