summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-08-16 18:22:25 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-08-16 18:22:25 +0000
commite13fa135b1673a953dc62309595aa1645ab53811 (patch)
tree45299448857e7abac38e2e5dbde978d4da19e077 /dev-ruby/term-ansicolor
parentx86 stable, see bug 422155 (diff)
downloadgentoo-2-e13fa135b1673a953dc62309595aa1645ab53811.tar.gz
gentoo-2-e13fa135b1673a953dc62309595aa1645ab53811.tar.bz2
gentoo-2-e13fa135b1673a953dc62309595aa1645ab53811.zip
Remove old; bump to EAPI 4; add dependency over virtual/ruby-test-unit for testing; use rdoc recipe for building API doc; remove examples USE flag (always install them). Drop rbx support due to dependencies.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/term-ansicolor')
-rw-r--r--dev-ruby/term-ansicolor/ChangeLog9
-rw-r--r--dev-ruby/term-ansicolor/term-ansicolor-1.0.6.ebuild34
-rw-r--r--dev-ruby/term-ansicolor/term-ansicolor-1.0.7.ebuild17
3 files changed, 17 insertions, 43 deletions
diff --git a/dev-ruby/term-ansicolor/ChangeLog b/dev-ruby/term-ansicolor/ChangeLog
index f8eacbffae23..89fd9c94740e 100644
--- a/dev-ruby/term-ansicolor/ChangeLog
+++ b/dev-ruby/term-ansicolor/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/term-ansicolor
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/term-ansicolor/ChangeLog,v 1.25 2012/03/08 01:19:43 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/term-ansicolor/ChangeLog,v 1.26 2012/08/16 18:22:25 flameeyes Exp $
+
+ 16 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org>
+ -term-ansicolor-1.0.6.ebuild, term-ansicolor-1.0.7.ebuild:
+ Remove old; bump to EAPI 4; add dependency over virtual/ruby-test-unit for
+ testing; use rdoc recipe for building API doc; remove examples USE flag
+ (always install them). Drop rbx support due to dependencies.
08 Mar 2012; Naohiro Aota <naota@gentoo.org> term-ansicolor-1.0.7.ebuild:
Add ~x86-fbsd.
@@ -108,4 +114,3 @@
01 Aug 2009; Hans de Graaff <graaff@gentoo.org>
+term-ansicolor-1.0.4.ebuild, +metadata.xml:
Initial import. Dependency of cucumber.
-
diff --git a/dev-ruby/term-ansicolor/term-ansicolor-1.0.6.ebuild b/dev-ruby/term-ansicolor/term-ansicolor-1.0.6.ebuild
deleted file mode 100644
index c4102911ba47..000000000000
--- a/dev-ruby/term-ansicolor/term-ansicolor-1.0.6.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/term-ansicolor/term-ansicolor-1.0.6.ebuild,v 1.1 2011/07/22 06:53:05 graaff Exp $
-
-EAPI=2
-USE_RUBY="ruby18 ree18 jruby"
-
-RUBY_FAKEGEM_TASK_DOC=""
-RUBY_FAKEGEM_TASK_TEST="none"
-RUBY_FAKEGEM_EXTRADOC="CHANGES README.rdoc"
-
-# don't install a cdiff wrapper, collides with app-misc/colordiff (bug
-# #310073).
-RUBY_FAKEGEM_BINWRAP="decolor"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Small Ruby library that colors strings using ANSI escape sequences."
-HOMEPAGE="http://term-ansicolor.rubyforge.org/"
-LICENSE="GPL-2"
-
-KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
-SLOT="0"
-IUSE="examples"
-
-each_ruby_test() {
- ${RUBY} -Ilib tests/ansicolor_test.rb || die
-}
-
-all_ruby_install() {
- all_fakegem_install
-
- use examples && docinto examples && dodoc examples/*
-}
diff --git a/dev-ruby/term-ansicolor/term-ansicolor-1.0.7.ebuild b/dev-ruby/term-ansicolor/term-ansicolor-1.0.7.ebuild
index 0eb131a77585..e731268cf29b 100644
--- a/dev-ruby/term-ansicolor/term-ansicolor-1.0.7.ebuild
+++ b/dev-ruby/term-ansicolor/term-ansicolor-1.0.7.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/term-ansicolor/term-ansicolor-1.0.7.ebuild,v 1.4 2012/03/08 01:19:43 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/term-ansicolor/term-ansicolor-1.0.7.ebuild,v 1.5 2012/08/16 18:22:25 flameeyes Exp $
-EAPI=2
-USE_RUBY="ruby18 ree18 jruby ruby19 rbx"
+EAPI=4
+USE_RUBY="ruby18 ree18 jruby ruby19"
-RUBY_FAKEGEM_TASK_DOC=""
-RUBY_FAKEGEM_TASK_TEST="none"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_RECIPE_TEST="none"
RUBY_FAKEGEM_EXTRADOC="CHANGES README.rdoc"
RUBY_FAKEGEM_GEMSPEC="term-ansicolor.gemspec"
@@ -23,7 +23,9 @@ LICENSE="GPL-2"
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
SLOT="0"
-IUSE="examples"
+IUSE=""
+
+ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
each_ruby_test() {
${RUBY} -Ilib tests/ansicolor_test.rb || die
@@ -32,5 +34,6 @@ each_ruby_test() {
all_ruby_install() {
all_fakegem_install
- use examples && docinto examples && dodoc examples/*
+ docinto examples
+ dodoc examples/*
}