summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/mime-types/ChangeLog8
-rw-r--r--dev-ruby/mime-types/mime-types-1.16-r2.ebuild4
-rw-r--r--dev-ruby/mime-types/mime-types-1.16-r3.ebuild32
3 files changed, 41 insertions, 3 deletions
diff --git a/dev-ruby/mime-types/ChangeLog b/dev-ruby/mime-types/ChangeLog
index 47d1eece29cc..bdd374835d8b 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-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mime-types/ChangeLog,v 1.16 2011/06/29 19:45:15 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mime-types/ChangeLog,v 1.17 2011/07/20 09:42:36 graaff Exp $
+
+*mime-types-1.16-r3 (20 Jul 2011)
+
+ 20 Jul 2011; Hans de Graaff <graaff@gentoo.org> mime-types-1.16-r2.ebuild,
+ +mime-types-1.16-r3.ebuild:
+ Revision bump to create stable candidate.
29 Jun 2011; Fabian Groffen <grobian@gentoo.org> mime-types-1.16-r2.ebuild:
Marked ~x86-solaris
diff --git a/dev-ruby/mime-types/mime-types-1.16-r2.ebuild b/dev-ruby/mime-types/mime-types-1.16-r2.ebuild
index 3db176c24a2c..b53c8b4b667f 100644
--- a/dev-ruby/mime-types/mime-types-1.16-r2.ebuild
+++ b/dev-ruby/mime-types/mime-types-1.16-r2.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2011 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.9 2011/06/29 19:45:15 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mime-types/mime-types-1.16-r2.ebuild,v 1.10 2011/07/20 09:42:36 graaff Exp $
EAPI=2
-USE_RUBY="ruby18 ruby19 jruby ree18"
+USE_RUBY="ruby18 jruby ree18"
RUBY_FAKEGEM_TASK_DOC="docs"
RUBY_FAKEGEM_DOCDIR="doc"
diff --git a/dev-ruby/mime-types/mime-types-1.16-r3.ebuild b/dev-ruby/mime-types/mime-types-1.16-r3.ebuild
new file mode 100644
index 000000000000..a4051c6d825e
--- /dev/null
+++ b/dev-ruby/mime-types/mime-types-1.16-r3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2011 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-r3.ebuild,v 1.1 2011/07/20 09:42:36 graaff Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18 ruby19 jruby ree18"
+
+RUBY_FAKEGEM_TASK_DOC="docs"
+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 ~ppc64 ~x86 ~x86-macos ~x86-solaris"
+IUSE=""
+
+ruby_add_bdepend "doc? ( dev-ruby/hoe )
+ 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"
+}