summaryrefslogtreecommitdiff
path: root/dev-ruby/launchy
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/launchy')
-rw-r--r--dev-ruby/launchy/Manifest3
-rw-r--r--dev-ruby/launchy/launchy-2.5.2-r1.ebuild35
-rw-r--r--dev-ruby/launchy/launchy-3.0.0.ebuild42
3 files changed, 80 insertions, 0 deletions
diff --git a/dev-ruby/launchy/Manifest b/dev-ruby/launchy/Manifest
index d99815b312d8..9ab3046e7805 100644
--- a/dev-ruby/launchy/Manifest
+++ b/dev-ruby/launchy/Manifest
@@ -1,3 +1,6 @@
DIST launchy-2.5.2.gem 30208 BLAKE2B 7e3c3464292026a93953995c5df7dd407b51bd36b363bb0c57fed6ebf2122390348f415273b6ce7ee2dcb89bd444a58458c0a95b84428fec02280654239223e0 SHA512 40777dabd25e6646c6673b33d9d296b66de7976fdf7454c9a7ae809a161ed992572b2232d94591731a7c8405875803172c6fafd09a5570f09e5eb119e23e7773
+DIST launchy-3.0.0.gem 27648 BLAKE2B 71fb8dadc37d9b25f861177c6579c9328786d16e64758d24ca297c8b6a773d307abd26b674c221b9a6318a2edd56e90d889fcf66cb1e3c279d85d045e9b1243d SHA512 6c4a8c320b4d149a3ab322f9cc03c73b7decb50d8dd2a8954bae27f5d265594fc6498af4a3d41a0693d232cbdce3dbbdf76cba3da2199a4bc85d8cda60e59187
+EBUILD launchy-2.5.2-r1.ebuild 1011 BLAKE2B bea324804e989ca501ddad07d087c011d801375c9789bb7cda35c3569c54d2e44e54e1a2772fbc940f1c04fd2f0249247a2dbc61238221e43686449ecb4e2e40 SHA512 3af4832797e7a07e8880c6c3794e4e6efd913d5e9a873751732da19c784740e576c39a637152c5f7577e20df423bc01171e95471ca2f240a46d8c52ce989f390
EBUILD launchy-2.5.2.ebuild 982 BLAKE2B 65ecd93b6e6ea34fea37a698bc09d8f11612968ed8becf5c6db9caa3827153cd46274a6a8096a56a6feb31bfc6d13dcb30855e3057989af08895123da18eeb90 SHA512 babaf94e2b0117f60a671a5a3ab1c8c2fa05b153f92d2417546c4aee69a217715855f56303e3fc38dacd37612cf039d5c3caff2f8255ee652e68add5db897d27
+EBUILD launchy-3.0.0.ebuild 1105 BLAKE2B 3308724b2dca34b47d7339346c9bc78c9ba7008ac84a8699d69ba036dc7b22e0e94ab69f1170dc9c87035f7f3dffadf13873bbf33933c84e66d619726b56800b SHA512 494d74896e424570abac991b85a1b8665f36bf2d41196d9a101cc6c8cc68336aa457bac11c4d57b0738cbd5186a8da5f98eddd65838b5ff07a028e291484670a
MISC metadata.xml 340 BLAKE2B 2f7acbbbb97f4e02c4a6618277ff6e496971537b9da6273551bce546024e732123047735d29ecc7323eccacc7f8bb4b1244909c9017747c5ddf659851b53a864 SHA512 9e7f6f6e89a5992b20e3ee519bd0cc66947751dd021a367a9ab99252db1a3d1fc3d8dc0868e60b3db05a0fc493bbdc1764d1abc68e7861e3614b5c40391c4fcd
diff --git a/dev-ruby/launchy/launchy-2.5.2-r1.ebuild b/dev-ruby/launchy/launchy-2.5.2-r1.ebuild
new file mode 100644
index 000000000000..af9a65b0ed86
--- /dev/null
+++ b/dev-ruby/launchy/launchy-2.5.2-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_BINWRAP=""
+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 ~ppc ~ppc64 ~x86"
+IUSE="test"
+
+ruby_add_rdepend ">=dev-ruby/addressable-2.8"
+
+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
+}
diff --git a/dev-ruby/launchy/launchy-3.0.0.ebuild b/dev-ruby/launchy/launchy-3.0.0.ebuild
new file mode 100644
index 000000000000..8c308b3654cb
--- /dev/null
+++ b/dev-ruby/launchy/launchy-3.0.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_EXTRADOC="README.md HISTORY.md"
+
+inherit ruby-fakegem virtualx
+
+DESCRIPTION="Helper class for launching cross-platform applications"
+HOMEPAGE="https://github.com/copiousfreetime/launchy"
+
+LICENSE="ISC"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="test"
+
+ruby_add_rdepend "
+ >=dev-ruby/addressable-2.8
+ dev-ruby/childprocess:5
+ !<dev-ruby/launchy-2.5.2
+"
+
+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
+}
+
+each_ruby_test() {
+ CI=true virtx each_fakegem_test
+}