mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
35
dev-ruby/launchy/launchy-2.5.0.ebuild
Normal file
35
dev-ruby/launchy/launchy-2.5.0.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user