public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/launchy/
Date: Fri, 15 Mar 2024 06:08:08 +0000 (UTC)	[thread overview]
Message-ID: <1710482871.e80c97a8375c5b9b107076568e1088b6ce3cda22.graaff@gentoo> (raw)

commit:     e80c97a8375c5b9b107076568e1088b6ce3cda22
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 14 17:16:23 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Mar 15 06:07:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e80c97a8

dev-ruby/launchy: add 3.0.0

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/launchy/Manifest                |  1 +
 dev-ruby/launchy/launchy-2.5.2-r1.ebuild | 35 ++++++++++++++++++++++++++
 dev-ruby/launchy/launchy-3.0.0.ebuild    | 42 ++++++++++++++++++++++++++++++++
 3 files changed, 78 insertions(+)

diff --git a/dev-ruby/launchy/Manifest b/dev-ruby/launchy/Manifest
index f7342f2e65dd..24a854f7441e 100644
--- a/dev-ruby/launchy/Manifest
+++ b/dev-ruby/launchy/Manifest
@@ -1 +1,2 @@
 DIST launchy-2.5.2.gem 30208 BLAKE2B 7e3c3464292026a93953995c5df7dd407b51bd36b363bb0c57fed6ebf2122390348f415273b6ce7ee2dcb89bd444a58458c0a95b84428fec02280654239223e0 SHA512 40777dabd25e6646c6673b33d9d296b66de7976fdf7454c9a7ae809a161ed992572b2232d94591731a7c8405875803172c6fafd09a5570f09e5eb119e23e7773
+DIST launchy-3.0.0.gem 27648 BLAKE2B 71fb8dadc37d9b25f861177c6579c9328786d16e64758d24ca297c8b6a773d307abd26b674c221b9a6318a2edd56e90d889fcf66cb1e3c279d85d045e9b1243d SHA512 6c4a8c320b4d149a3ab322f9cc03c73b7decb50d8dd2a8954bae27f5d265594fc6498af4a3d41a0693d232cbdce3dbbdf76cba3da2199a4bc85d8cda60e59187

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
+}


             reply	other threads:[~2024-03-15  6:08 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-15  6:08 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-24  6:55 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/launchy/ Hans de Graaff
2025-01-24  6:55 Hans de Graaff
2024-10-06 12:04 Sam James
2024-10-06 11:00 Sam James
2024-05-04  5:38 Hans de Graaff
2024-03-17  6:13 Hans de Graaff
2024-01-15  7:40 Hans de Graaff
2023-03-28 22:54 Sam James
2023-03-26  7:19 Hans de Graaff
2022-12-28  7:18 Hans de Graaff
2022-04-02  8:57 Hans de Graaff
2021-10-17  8:33 Hans de Graaff
2021-10-17  8:33 Hans de Graaff
2021-07-16  9:31 Hans de Graaff
2020-12-20 19:14 Sam James
2020-12-20 19:03 Sam James
2020-04-18  5:44 Hans de Graaff
2020-02-28  7:44 Hans de Graaff
2019-01-16  7:24 Hans de Graaff
2018-05-07  4:41 Hans de Graaff
2018-03-09  9:27 Hans de Graaff
2018-01-19  7:13 Hans de Graaff
2017-08-26  8:27 Hans de Graaff
2017-07-24 17:51 Markus Meier
2017-07-15  9:40 Alexis Ballier
2017-06-16  5:47 Hans de Graaff
2017-01-29  8:49 Hans de Graaff
2016-09-04  6:47 Hans de Graaff
2016-03-09 23:23 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1710482871.e80c97a8375c5b9b107076568e1088b6ce3cda22.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox