summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-04-09 05:42:12 +0000
committerHans de Graaff <graaff@gentoo.org>2015-04-09 05:42:12 +0000
commitfb6f1cc0f9023c17a5437fb907ecae372d48776f (patch)
treeb8915fd888893ea61be7e69f0dcc48091aec00bc /dev-ruby/mimemagic
parentBackport upstream changes to move from libvpx to libwebp #545956 by Paweł Ha... (diff)
downloadgentoo-2-fb6f1cc0f9023c17a5437fb907ecae372d48776f.tar.gz
gentoo-2-fb6f1cc0f9023c17a5437fb907ecae372d48776f.tar.bz2
gentoo-2-fb6f1cc0f9023c17a5437fb907ecae372d48776f.zip
Initial import from graaff overlay. New dependency for dev-ruby/hipchat.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/mimemagic')
-rw-r--r--dev-ruby/mimemagic/ChangeLog10
-rw-r--r--dev-ruby/mimemagic/metadata.xml5
-rw-r--r--dev-ruby/mimemagic/mimemagic-0.3.0.ebuild25
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/mimemagic/ChangeLog b/dev-ruby/mimemagic/ChangeLog
new file mode 100644
index 000000000000..bb599c8d0d11
--- /dev/null
+++ b/dev-ruby/mimemagic/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/mimemagic
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mimemagic/ChangeLog,v 1.1 2015/04/09 05:42:12 graaff Exp $
+
+*mimemagic-0.3.0 (09 Apr 2015)
+
+ 09 Apr 2015; Hans de Graaff <graaff@gentoo.org> +mimemagic-0.3.0.ebuild,
+ +metadata.xml:
+ Initial import from graaff overlay. New dependency for dev-ruby/hipchat.
+
diff --git a/dev-ruby/mimemagic/metadata.xml b/dev-ruby/mimemagic/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/mimemagic/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>
diff --git a/dev-ruby/mimemagic/mimemagic-0.3.0.ebuild b/dev-ruby/mimemagic/mimemagic-0.3.0.ebuild
new file mode 100644
index 000000000000..6ec5b274583b
--- /dev/null
+++ b/dev-ruby/mimemagic/mimemagic-0.3.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mimemagic/mimemagic-0.3.0.ebuild,v 1.1 2015/04/09 05:42:12 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Fast mime detection by extension or content"
+HOMEPAGE="https://github.com/minad/mimemagic"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/bacon )"
+
+each_ruby_test() {
+ ${RUBY} -S bacon -q -Ilib:test test/*_test.rb || die
+}