diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-11-28 08:00:28 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-11-29 08:30:29 +0100 |
commit | eb03ae441e3925083348ca155536660435598902 (patch) | |
tree | e0e888c4e1cf0fbffa54ddfbef019f0c6ee02e8b /dev-ruby/marcel | |
parent | dev-util/jenkins-bin: cleanup (diff) | |
download | gentoo-eb03ae441e3925083348ca155536660435598902.tar.gz gentoo-eb03ae441e3925083348ca155536660435598902.tar.bz2 gentoo-eb03ae441e3925083348ca155536660435598902.zip |
dev-ruby/marcel: install proper gemspec
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/marcel')
-rw-r--r-- | dev-ruby/marcel/marcel-0.3.3-r1.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-ruby/marcel/marcel-0.3.3-r1.ebuild b/dev-ruby/marcel/marcel-0.3.3-r1.ebuild new file mode 100644 index 000000000000..151ea3bdb352 --- /dev/null +++ b/dev-ruby/marcel/marcel-0.3.3-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2018 Gentoo Authors +# 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" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +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 +} |