1 |
commit: eb03ae441e3925083348ca155536660435598902 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 28 07:00:28 2018 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 29 07:30:29 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb03ae44 |
7 |
|
8 |
dev-ruby/marcel: install proper gemspec |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
dev-ruby/marcel/marcel-0.3.3-r1.ebuild | 27 +++++++++++++++++++++++++++ |
14 |
1 file changed, 27 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/marcel/marcel-0.3.3-r1.ebuild b/dev-ruby/marcel/marcel-0.3.3-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..151ea3bdb35 |
19 |
--- /dev/null |
20 |
+++ b/dev-ruby/marcel/marcel-0.3.3-r1.ebuild |
21 |
@@ -0,0 +1,27 @@ |
22 |
+# Copyright 1999-2018 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=6 |
26 |
+USE_RUBY="ruby23 ruby24 ruby25" |
27 |
+ |
28 |
+RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
29 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
30 |
+ |
31 |
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
32 |
+ |
33 |
+inherit ruby-fakegem |
34 |
+ |
35 |
+DESCRIPTION="Simple mime type detection using magic numbers, filenames, and extensions" |
36 |
+HOMEPAGE="https://github.com/basecamp/marcel" |
37 |
+SRC_URI="https://github.com/basecamp/marcel/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
38 |
+ |
39 |
+LICENSE="MIT" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~amd64 ~ppc64 ~x86" |
42 |
+IUSE="" |
43 |
+ |
44 |
+ruby_add_rdepend ">=dev-ruby/mimemagic-0.3.2:0" |
45 |
+ |
46 |
+all_ruby_prepare() { |
47 |
+ sed -i -e '2irequire "pathname"' test/test_helper.rb || die |
48 |
+} |