diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-02-28 08:43:55 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-02-28 08:44:11 +0100 |
commit | db75d22d0dc2772faa2527d51d9ba7d9c68891d5 (patch) | |
tree | 62858487f84c65b829bc90f26100269e3110571d /dev-ruby/launchy | |
parent | dev-ruby/hashdiff: add 1.0.1 (diff) | |
download | gentoo-db75d22d0dc2772faa2527d51d9ba7d9c68891d5.tar.gz gentoo-db75d22d0dc2772faa2527d51d9ba7d9c68891d5.tar.bz2 gentoo-db75d22d0dc2772faa2527d51d9ba7d9c68891d5.zip |
dev-ruby/launchy: add 2.5.0
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/launchy')
-rw-r--r-- | dev-ruby/launchy/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/launchy/launchy-2.5.0.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/launchy/Manifest b/dev-ruby/launchy/Manifest index 1485928e64b1..b85aeb88b089 100644 --- a/dev-ruby/launchy/Manifest +++ b/dev-ruby/launchy/Manifest @@ -1 +1,2 @@ DIST launchy-2.4.3.gem 29184 BLAKE2B d6e8e26f37a811fc994ee762791ea9ddb424dc99d23790905f80416734677535aa8b2087eab233dc1535556c240f260c5995185e10642cd682bbe508e3e30654 SHA512 7c3e0377c9a310b2e7a4d1544b4790f6f959d24b6aba91660e979eb943f4bee641e0b5a44687b693ffe99304ceb96a9a6cf9fed142e231af01135bd2b73321d6 +DIST launchy-2.5.0.gem 30208 BLAKE2B 30719f97fdf1bca8a66eb113992c8714103a7fe87262c3677a0fa64b58070593bcbdba7357b81e5bada9e8a143e6601e28ef2d2730f0028fdaecefad23156fd8 SHA512 d80811009155d9cea6a2e69b5f7482aaec7d0bf23ecca4cbe72e440fb4eae1c38bc5904e863998f1966c7a99b98bad1f4456cec1cb076f96f5a99b835448b39f diff --git a/dev-ruby/launchy/launchy-2.5.0.ebuild b/dev-ruby/launchy/launchy-2.5.0.ebuild new file mode 100644 index 000000000000..f2248b932164 --- /dev/null +++ b/dev-ruby/launchy/launchy-2.5.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +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 ~x86" +IUSE="" + +# File collision conflict with x11-misc/launchy, bug 545170 +ruby_add_rdepend ">=dev-ruby/addressable-2.7 !!x11-misc/launchy" + +ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.0:5 )" + +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 + sed -e "/'darwin'/ s:^:#:" \ + -i spec/applications/browser_spec.rb || die +} |