summaryrefslogtreecommitdiff
path: root/dev-ruby/launchy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ruby/launchy
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/launchy')
-rw-r--r--dev-ruby/launchy/Manifest7
-rw-r--r--dev-ruby/launchy/files/launchy-2.4.2-drop-failing-test.patch25
-rw-r--r--dev-ruby/launchy/launchy-2.4.3-r1.ebuild36
-rw-r--r--dev-ruby/launchy/launchy-2.4.3-r2.ebuild36
-rw-r--r--dev-ruby/launchy/metadata.xml11
5 files changed, 115 insertions, 0 deletions
diff --git a/dev-ruby/launchy/Manifest b/dev-ruby/launchy/Manifest
new file mode 100644
index 000000000000..c9910feda5e9
--- /dev/null
+++ b/dev-ruby/launchy/Manifest
@@ -0,0 +1,7 @@
+AUX launchy-2.4.2-drop-failing-test.patch 1033 SHA256 37723c9c8f8f89650cd4f3d575938dcdc7e58e0eccb9c3158b2921c6ae7ede33 SHA512 395fb705f490d06867eea7ee89fdd72b5b7c9dd472bb06b268804d0bd100aa08b99a840024a976bacf120776b44a878bd5b08e7a3fa18f6f2abe1ec2c58da649 WHIRLPOOL 8edeb91b2336a1748603fdcd6b1e14bcdaa9af143497149ef10a4466658df493404ccb5defb186e47799d091b9c8a23dd4d936239860fd4ab93294df392efb25
+DIST launchy-2.4.3.gem 29184 SHA256 42f52ce12c6fe079bac8a804c66522a0eefe176b845a62df829defe0e37214a4 SHA512 7c3e0377c9a310b2e7a4d1544b4790f6f959d24b6aba91660e979eb943f4bee641e0b5a44687b693ffe99304ceb96a9a6cf9fed142e231af01135bd2b73321d6 WHIRLPOOL 3845161e674d2369a3a95e1b3127e4f186849c5130dd0c29dcf4fa2cf2760a46db88f8411652be3655fdf6649bec40b6f9034cdaff8ca73b6fc56c9366e648c2
+EBUILD launchy-2.4.3-r1.ebuild 1090 SHA256 be4ea17e4e7454c6a1002a63cd07cabb78c1d6a750712a0ae9f4d89f7a620c98 SHA512 b013f52e2f22223cd6b5c53a2df10db701b8b9b52fecc1aeb06b1108e63db1c3791d010458bbf0484f22452ca041f9ac76452e39f38c1c5cb7e7d0d77604ef30 WHIRLPOOL 6407746921e321b98893acaffeac51f3c500961c36b653e6d8652ab3147a533ae69905056b72ed11eaaf32c3d4e63f02ff3cc99acbbf63f12898b3f8405420b0
+EBUILD launchy-2.4.3-r2.ebuild 1097 SHA256 a6e66c884b789ed442b70416e3cf79c080e99c77913395b2bf6af3461d0d4f6b SHA512 d20051e0359f44104a734b4ce340ee97b4e4fdb0f4c0a78c155286305328a8ecb8ba7e4372f91d3c602479c841cb6ee50d985b4071696b18acff61c9761a5e2b WHIRLPOOL 07a5a14b39412edc789fae8c8a83532597f8e672823cc91d740c459804fa129a43473d2665b35659056c5625739a0ed6f70a40ee3db572bf59bebb7ea53a6334
+MISC ChangeLog 3725 SHA256 a176b5ab516955d2b6e49fdd4024cc380b4add6dc808c7d7b6942ad33ae8d24b SHA512 833599eb25eadcf6c2abe81b0e343d277a67c6f14548a830a473ee5c99f1bc82c4185a31ce0990142359b56e12835e2336cb641d1d515dc639afac5f66044db1 WHIRLPOOL de20929aeb6d636c2185c8f2c57bab061e0a4dc666feed185071b1772a1e9aefd48067da05255d4c37db132d4a85f8bbb1b0757c280e0178d4013d5f4c434fee
+MISC ChangeLog-2015 1429 SHA256 1e2a65d0c34c497757802e81e170df72c852bef3e2405238bfd582af4b119ee2 SHA512 49ec4c60a8499ce1e83bf3393783a4c10820e36297bf87da64d7171a56799ade87388e7a979b1337e01e4013dcafd99ca4fce8f24c83ef56f959913e4f5fe452 WHIRLPOOL 71ba6b5fb4562adc40135669a3e8c7976b3d60a582815ca05bd6230fe2f21cd82215631d07f1aef1b8b4995077ffc794f69c418e4bc7e0efd945a15ed8b55b2d
+MISC metadata.xml 339 SHA256 13b3e3a731b8ebb864cbb0375e5f74298ab45e3ff434865d5c87bf3b84dda38a SHA512 bef54e2c7dcd8eb6a6e353b29380cfc53e842a729b584b6a6f6cd423651f390fb8005941c18c005bece74b3de4e68a0201b59151970badf3280e479e9f5e9ec3 WHIRLPOOL 9be7ec579afe7bb6ff2be233b8a1887bf94c6ed45623d0d8d0203aca7f1d0e90ad3ad523165e2520e8b6ebe3b3d8c3277d183e1191406d0401facb7a22fa1eea
diff --git a/dev-ruby/launchy/files/launchy-2.4.2-drop-failing-test.patch b/dev-ruby/launchy/files/launchy-2.4.2-drop-failing-test.patch
new file mode 100644
index 000000000000..00a0d4bf27e0
--- /dev/null
+++ b/dev-ruby/launchy/files/launchy-2.4.2-drop-failing-test.patch
@@ -0,0 +1,25 @@
+diff --git a/spec/applications/browser_spec.rb b/spec/applications/browser_spec.rb
+index 8cfa8e7..3886ce3 100644
+--- a/spec/applications/browser_spec.rb
++++ b/spec/applications/browser_spec.rb
+@@ -12,20 +12,7 @@ describe Launchy::Application::Browser do
+ ENV.delete( 'KDE_FULL_SESSION' )
+ ENV.delete( 'BROWSER' )
+ end
+
+- { 'windows' => 'start "launchy" /b' ,
+- 'darwin' => '/usr/bin/open',
+- 'cygwin' => 'cmd /C start "launchy" /b',
+-
+- # when running these tests on a linux box, this test will fail
+- 'linux' => nil }.each do |host_os, cmdline|
+- it "when host_os is '#{host_os}' the appropriate 'app_list' method is called" do
+- Launchy.host_os = host_os
+- browser = Launchy::Application::Browser.new
+- browser.app_list.first.must_equal cmdline
+- end
+- end
+-
+ %w[ linux windows darwin cygwin ].each do |host_os|
+ it "the BROWSER environment variable overrides any host defaults on '#{host_os}'" do
+ ENV['BROWSER'] = "my_special_browser --new-tab '%s'"
diff --git a/dev-ruby/launchy/launchy-2.4.3-r1.ebuild b/dev-ruby/launchy/launchy-2.4.3-r1.ebuild
new file mode 100644
index 000000000000..1b48d8eb6b36
--- /dev/null
+++ b/dev-ruby/launchy/launchy-2.4.3-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_EXTRADOC="README.md HISTORY.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Helper class for launching cross-platform applications"
+HOMEPAGE="https://github.com/copiousfreetime/launchy"
+
+LICENSE="ISC"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# File collision conflict with x11-misc/launchy, bug 545170
+ruby_add_rdepend ">=dev-ruby/addressable-2.3 !!x11-misc/launchy"
+
+ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.0:5 )"
+
+# This test is expected to fail on linux, drop it
+RUBY_PATCHES=( "${FILESDIR}"/${PN}-2.4.2-drop-failing-test.patch )
+
+all_ruby_prepare() {
+ sed -i -e "/[Ss]implecov/d" spec/spec_helper.rb || die
+
+ # Avoid tests depending on the current user's desktop environment.
+ sed -e '/returns NotFound if it cannot determine/askip "gentoo"' \
+ -i spec/detect/nix_desktop_environment_spec.rb || die
+ sed -e '/asssumes we open a local file if we have an exception/askip "gentoo"' \
+ -i spec/launchy_spec.rb || die
+}
diff --git a/dev-ruby/launchy/launchy-2.4.3-r2.ebuild b/dev-ruby/launchy/launchy-2.4.3-r2.ebuild
new file mode 100644
index 000000000000..d2201d199249
--- /dev/null
+++ b/dev-ruby/launchy/launchy-2.4.3-r2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_EXTRADOC="README.md HISTORY.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Helper class for launching cross-platform applications"
+HOMEPAGE="https://github.com/copiousfreetime/launchy"
+
+LICENSE="ISC"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64"
+IUSE=""
+
+# File collision conflict with x11-misc/launchy, bug 545170
+ruby_add_rdepend ">=dev-ruby/addressable-2.3 !!x11-misc/launchy"
+
+ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.0:5 )"
+
+# This test is expected to fail on linux, drop it
+RUBY_PATCHES=( "${FILESDIR}"/${PN}-2.4.2-drop-failing-test.patch )
+
+all_ruby_prepare() {
+ sed -i -e "/[Ss]implecov/d" spec/spec_helper.rb || die
+
+ # Avoid tests depending on the current user's desktop environment.
+ sed -e '/returns NotFound if it cannot determine/askip "gentoo"' \
+ -i spec/detect/nix_desktop_environment_spec.rb || die
+ sed -e '/asssumes we open a local file if we have an exception/askip "gentoo"' \
+ -i spec/launchy_spec.rb || die
+}
diff --git a/dev-ruby/launchy/metadata.xml b/dev-ruby/launchy/metadata.xml
new file mode 100644
index 000000000000..0895e7ad63dc
--- /dev/null
+++ b/dev-ruby/launchy/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">copiousfreetime/launchy</remote-id>
+ </upstream>
+</pkgmetadata>