1 |
commit: 7a14b7c65437bf815b84343aa7aec976bc89b867 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 4 06:42:48 2016 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 4 06:47:04 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a14b7c6 |
7 |
|
8 |
dev-ruby/launchy: add ruby23 revision |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
dev-ruby/launchy/launchy-2.4.3-r1.ebuild | 37 ++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 37 insertions(+) |
14 |
|
15 |
diff --git a/dev-ruby/launchy/launchy-2.4.3-r1.ebuild b/dev-ruby/launchy/launchy-2.4.3-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000..a7e9b83 |
18 |
--- /dev/null |
19 |
+++ b/dev-ruby/launchy/launchy-2.4.3-r1.ebuild |
20 |
@@ -0,0 +1,37 @@ |
21 |
+# Copyright 1999-2016 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=5 |
26 |
+USE_RUBY="ruby20 ruby21 ruby22 ruby23" |
27 |
+ |
28 |
+RUBY_FAKEGEM_EXTRADOC="README.md HISTORY.md" |
29 |
+ |
30 |
+inherit ruby-fakegem |
31 |
+ |
32 |
+DESCRIPTION="Helper class for launching cross-platform applications" |
33 |
+HOMEPAGE="https://github.com/copiousfreetime/launchy" |
34 |
+ |
35 |
+LICENSE="ISC" |
36 |
+ |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64" |
39 |
+IUSE="" |
40 |
+ |
41 |
+# File collision conflict with x11-misc/launchy, bug 545170 |
42 |
+ruby_add_rdepend ">=dev-ruby/addressable-2.3 !!x11-misc/launchy" |
43 |
+ |
44 |
+ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.0:5 )" |
45 |
+ |
46 |
+# This test is expected to fail on linux, drop it |
47 |
+RUBY_PATCHES=( "${FILESDIR}"/${PN}-2.4.2-drop-failing-test.patch ) |
48 |
+ |
49 |
+all_ruby_prepare() { |
50 |
+ sed -i -e "/[Ss]implecov/d" spec/spec_helper.rb || die |
51 |
+ |
52 |
+ # Avoid tests depending on the current user's desktop environment. |
53 |
+ sed -e '/returns NotFound if it cannot determine/askip "gentoo"' \ |
54 |
+ -i spec/detect/nix_desktop_environment_spec.rb || die |
55 |
+ sed -e '/asssumes we open a local file if we have an exception/askip "gentoo"' \ |
56 |
+ -i spec/launchy_spec.rb || die |
57 |
+} |