diff options
Diffstat (limited to 'dev-ruby/marcel/marcel-0.3.3.ebuild')
-rw-r--r-- | dev-ruby/marcel/marcel-0.3.3.ebuild | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-ruby/marcel/marcel-0.3.3.ebuild b/dev-ruby/marcel/marcel-0.3.3.ebuild new file mode 100644 index 000000000000..8c6826313765 --- /dev/null +++ b/dev-ruby/marcel/marcel-0.3.3.ebuild @@ -0,0 +1,25 @@ +# 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" +SRC_URI="https://github.com/basecamp/marcel/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/mimemagic-0.3.2:0" + +all_ruby_prepare() { + sed -i -e '2irequire "pathname"' test/test_helper.rb || die +} |