summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2014-05-29 05:29:14 +0000
committerHans de Graaff <graaff@gentoo.org>2014-05-29 05:29:14 +0000
commit77b334a7e3bd260a02ec3e481b5d9f08535c4e4b (patch)
treeca7c3bed107502a89f64344d51de5e611e3de04b /dev-ruby/mime-types
parentVersion bump. (diff)
downloadgentoo-2-77b334a7e3bd260a02ec3e481b5d9f08535c4e4b.tar.gz
gentoo-2-77b334a7e3bd260a02ec3e481b5d9f08535c4e4b.tar.bz2
gentoo-2-77b334a7e3bd260a02ec3e481b5d9f08535c4e4b.zip
Version bump.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/mime-types')
-rw-r--r--dev-ruby/mime-types/ChangeLog7
-rw-r--r--dev-ruby/mime-types/mime-types-2.3.ebuild33
2 files changed, 39 insertions, 1 deletions
diff --git a/dev-ruby/mime-types/ChangeLog b/dev-ruby/mime-types/ChangeLog
index f6ca7638509b..8a921f1241e5 100644
--- a/dev-ruby/mime-types/ChangeLog
+++ b/dev-ruby/mime-types/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/mime-types
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mime-types/ChangeLog,v 1.50 2014/05/17 11:35:01 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mime-types/ChangeLog,v 1.51 2014/05/29 05:29:14 graaff Exp $
+
+*mime-types-2.3 (29 May 2014)
+
+ 29 May 2014; Hans de Graaff <graaff@gentoo.org> +mime-types-2.3.ebuild:
+ Version bump.
*mime-types-2.2 (17 May 2014)
diff --git a/dev-ruby/mime-types/mime-types-2.3.ebuild b/dev-ruby/mime-types/mime-types-2.3.ebuild
new file mode 100644
index 000000000000..ef2114da65e8
--- /dev/null
+++ b/dev-ruby/mime-types/mime-types-2.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mime-types/mime-types-2.3.ebuild,v 1.1 2014/05/29 05:29:14 graaff Exp $
+
+EAPI=5
+
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="History.rdoc History-Types.rdoc README.rdoc"
+
+RUBY_FAKEGEM_EXTRAINSTALL="data"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Provides a mailcap-like MIME Content-Type lookup for Ruby."
+HOMEPAGE="http://rubyforge.org/projects/mime-types"
+
+LICENSE="MIT Artistic GPL-2"
+SLOT="2"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/minitest:5 )"
+
+all_ruby_prepare() {
+ # Handle minitest ourselves to avoid bundler dependency.
+ sed -i -e '2igem "minitest", "~> 5.0"; require "minitest/autorun"' test/test_*.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib -S testrb test/test_*.rb || die
+}