summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/trollop/ChangeLog9
-rw-r--r--dev-ruby/trollop/trollop-2.0.ebuild23
2 files changed, 30 insertions, 2 deletions
diff --git a/dev-ruby/trollop/ChangeLog b/dev-ruby/trollop/ChangeLog
index 0b72be2f1458..8ed0292d27b2 100644
--- a/dev-ruby/trollop/ChangeLog
+++ b/dev-ruby/trollop/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/trollop
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/trollop/ChangeLog,v 1.12 2011/09/14 16:49:58 jer Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/trollop/ChangeLog,v 1.13 2012/09/23 16:39:03 graaff Exp $
+
+*trollop-2.0 (23 Sep 2012)
+
+ 23 Sep 2012; Hans de Graaff <graaff@gentoo.org> +trollop-2.0.ebuild:
+ Version bump.
14 Sep 2011; Jeroen Roovers <jer@gentoo.org> trollop-1.16.2-r2.ebuild:
Stable for HPPA (bug #369573).
diff --git a/dev-ruby/trollop/trollop-2.0.ebuild b/dev-ruby/trollop/trollop-2.0.ebuild
new file mode 100644
index 000000000000..7b29eb0adc30
--- /dev/null
+++ b/dev-ruby/trollop/trollop-2.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/trollop/trollop-2.0.ebuild,v 1.1 2012/09/23 16:39:03 graaff Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ree18 jruby"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="FAQ.txt History.txt README.txt"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Trollop is a commandline option parser for Ruby."
+HOMEPAGE="http://trollop.rubyforge.org/"
+LICENSE="Ruby"
+
+KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
+SLOT="0"
+IUSE=""
+
+each_ruby_test() {
+ ${RUBY} -I lib test/test_trollop.rb || die "Tests failed."
+}