summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-12-29 18:06:06 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-12-29 18:06:06 +0000
commit333746602361da711d6ae7fa160ed13b257368ae (patch)
treeadd9caa8b5eb90fe8b3ae9a7ce872e67cca8a479 /dev-ruby
parentia64/sh/sparc stable wrt #290343 (diff)
downloadgentoo-2-333746602361da711d6ae7fa160ed13b257368ae.tar.gz
gentoo-2-333746602361da711d6ae7fa160ed13b257368ae.tar.bz2
gentoo-2-333746602361da711d6ae7fa160ed13b257368ae.zip
Bump to fakegem.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/mime-types/ChangeLog8
-rw-r--r--dev-ruby/mime-types/mime-types-1.16-r2.ebuild31
2 files changed, 38 insertions, 1 deletions
diff --git a/dev-ruby/mime-types/ChangeLog b/dev-ruby/mime-types/ChangeLog
index c8bc7a649c22..63df1061a730 100644
--- a/dev-ruby/mime-types/ChangeLog
+++ b/dev-ruby/mime-types/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/mime-types
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mime-types/ChangeLog,v 1.7 2009/09/25 07:28:06 a3li Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mime-types/ChangeLog,v 1.8 2009/12/29 18:06:06 flameeyes Exp $
+
+*mime-types-1.16-r2 (29 Dec 2009)
+
+ 29 Dec 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ +mime-types-1.16-r2.ebuild:
+ Bump to fakegem.
*mime-types-1.16-r1 (25 Sep 2009)
diff --git a/dev-ruby/mime-types/mime-types-1.16-r2.ebuild b/dev-ruby/mime-types/mime-types-1.16-r2.ebuild
new file mode 100644
index 000000000000..3da806d08a58
--- /dev/null
+++ b/dev-ruby/mime-types/mime-types-1.16-r2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mime-types/mime-types-1.16-r2.ebuild,v 1.1 2009/12/29 18:06:06 flameeyes Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18 ruby19"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="History.txt Install.txt README.txt"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Provides a mailcap-like MIME Content-Type lookup for Ruby."
+HOMEPAGE="http://rubyforge.org/projects/mime-types"
+
+LICENSE="Ruby Artistic GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc"
+IUSE=""
+
+ruby_add_bdepend doc dev-ruby/hoe
+ruby_add_bdepend test "dev-ruby/hoe virtual/ruby-test-unit"
+
+all_ruby_prepare() {
+ # when rcov is installed, and a new enough Hoe is installed as
+ # well, the Rakefile will fail because Hoe::test_files is no
+ # longer defined. Since we don't use rcov for testing, we just
+ # disable the whole section unconditionally.
+ sed -i -e '/rcovtask/,/end/ s:^:#:' Rakefile || die "Rakefile fix failed"
+}