summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2013-12-27 02:30:22 +0000
committerManuel Rüger <mrueg@gentoo.org>2013-12-27 02:30:22 +0000
commit4794ff12353fdc84f96a3ba892adfb0594c35451 (patch)
tree3dcec690b125e5791a7553e8338a8dc7abc5d280 /dev-ruby/syntax
parentAdd ruby21 target. (diff)
downloadgentoo-2-4794ff12353fdc84f96a3ba892adfb0594c35451.tar.gz
gentoo-2-4794ff12353fdc84f96a3ba892adfb0594c35451.tar.bz2
gentoo-2-4794ff12353fdc84f96a3ba892adfb0594c35451.zip
Add ruby21 target.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/syntax')
-rw-r--r--dev-ruby/syntax/ChangeLog7
-rw-r--r--dev-ruby/syntax/syntax-1.0.0-r5.ebuild30
2 files changed, 36 insertions, 1 deletions
diff --git a/dev-ruby/syntax/ChangeLog b/dev-ruby/syntax/ChangeLog
index 08da709d1c12..d86dc9dd2698 100644
--- a/dev-ruby/syntax/ChangeLog
+++ b/dev-ruby/syntax/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/syntax
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/syntax/ChangeLog,v 1.47 2013/12/26 14:46:09 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/syntax/ChangeLog,v 1.48 2013/12/27 02:30:22 mrueg Exp $
+
+*syntax-1.0.0-r5 (27 Dec 2013)
+
+ 27 Dec 2013; Manuel Rüger <mrueg@gentoo.org> +syntax-1.0.0-r5.ebuild:
+ Add ruby21 target.
26 Dec 2013; Markus Meier <maekke@gentoo.org> syntax-1.0.0-r3.ebuild:
arm stable, bug #493780
diff --git a/dev-ruby/syntax/syntax-1.0.0-r5.ebuild b/dev-ruby/syntax/syntax-1.0.0-r5.ebuild
new file mode 100644
index 000000000000..13a70af2d26a
--- /dev/null
+++ b/dev-ruby/syntax/syntax-1.0.0-r5.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/syntax/syntax-1.0.0-r5.ebuild,v 1.1 2013/12/27 02:30:22 mrueg Exp $
+
+EAPI=5
+
+USE_RUBY="ruby18 ruby19 ruby20 ruby21 jruby"
+
+RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_TASK_DOC=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Syntax highlighting for sourcecode and HTML"
+HOMEPAGE="http://syntax.rubyforge.org"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="test"
+
+all_ruby_prepare() {
+ # The yaml test case hangs. Remove it so we can at least run all
+ # other tests instead of skipping the whole test suite.
+ rm test/syntax/tc_yaml.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:test test/ALL-TESTS.rb || die "tests failed"
+}