summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-06-04 11:55:27 +0200
committerHans de Graaff <graaff@gentoo.org>2018-06-04 11:56:01 +0200
commit5f9102ba446cde82e7c08d7519b4c2fd416b80a9 (patch)
tree71e963f05d50c8a191898bdeca81ed50e9e24245 /dev-ruby/marcel
parentdev-util/cucumber-rails: add 1.6.0 (diff)
downloadgentoo-5f9102ba446cde82e7c08d7519b4c2fd416b80a9.tar.gz
gentoo-5f9102ba446cde82e7c08d7519b4c2fd416b80a9.tar.bz2
gentoo-5f9102ba446cde82e7c08d7519b4c2fd416b80a9.zip
dev-ruby/marcel: add missing dependency on mimemagic
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-ruby/marcel')
-rw-r--r--dev-ruby/marcel/marcel-0.3.2-r1.ebuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-ruby/marcel/marcel-0.3.2-r1.ebuild b/dev-ruby/marcel/marcel-0.3.2-r1.ebuild
new file mode 100644
index 000000000000..ee661bc7ef38
--- /dev/null
+++ b/dev-ruby/marcel/marcel-0.3.2-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Simple mime type detection using magic numbers, filenames, and extensions"
+HOMEPAGE="https://github.com/basecamp/marcel"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/mimemagic-0.3.2:0"
+
+all_ruby_prepare() {
+ sed -i -e '2irequire "pathname"' test/test_helper.rb || die
+}