From: "Naohiro Aota" <naota@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/mikutter/
Date: Wed, 29 Nov 2023 05:07:08 +0000 (UTC) [thread overview]
Message-ID: <1701234389.c75fbe2daccad257c9beed1a98dc14a539c3f80f.naota@gentoo> (raw)
commit: c75fbe2daccad257c9beed1a98dc14a539c3f80f
Author: Naohiro Aota <naota <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 29 03:05:38 2023 +0000
Commit: Naohiro Aota <naota <AT> gentoo <DOT> org>
CommitDate: Wed Nov 29 05:06:29 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c75fbe2d
net-misc/mikutter: use RUBY_TARGETS_PREFERENCE to choose a ruby variant
USE_RUBY may contain already obsolete ruby variant. Instead, we can use
RUBY_TARGETS_PREFERENCE to select existing supported one.
Closes: https://bugs.gentoo.org/914717
Signed-off-by: Naohiro Aota <naota <AT> gentoo.org>
net-misc/mikutter/mikutter-5.0.4.ebuild | 11 +++++------
net-misc/mikutter/mikutter-9999.ebuild | 11 +++++------
2 files changed, 10 insertions(+), 12 deletions(-)
diff --git a/net-misc/mikutter/mikutter-5.0.4.ebuild b/net-misc/mikutter/mikutter-5.0.4.ebuild
index c09e571b2a2b..2744c003d1d1 100644
--- a/net-misc/mikutter/mikutter-5.0.4.ebuild
+++ b/net-misc/mikutter/mikutter-5.0.4.ebuild
@@ -68,12 +68,11 @@ all_ruby_unpack() {
}
all_ruby_install() {
- local rubyversion
- local r
+ local ruby
- for r in $USE_RUBY; do
- if use ruby_targets_${r}; then
- rubyversion=${r}
+ for ruby in ${RUBY_TARGETS_PREFERENCE}; do
+ if use ruby_targets_${ruby}; then
+ break
fi
done
@@ -81,7 +80,7 @@ all_ruby_install() {
doexe mikutter.rb
insinto /usr/share/mikutter
doins -r core plugin
- sed -e "s/ruby19/${rubyversion}/" "${FILESDIR}"/mikutter \
+ sed -e "s/ruby19/${ruby}/" "${FILESDIR}"/mikutter \
| newbin - mikutter
dodoc README
make_desktop_entry mikutter Mikutter \
diff --git a/net-misc/mikutter/mikutter-9999.ebuild b/net-misc/mikutter/mikutter-9999.ebuild
index c09e571b2a2b..2744c003d1d1 100644
--- a/net-misc/mikutter/mikutter-9999.ebuild
+++ b/net-misc/mikutter/mikutter-9999.ebuild
@@ -68,12 +68,11 @@ all_ruby_unpack() {
}
all_ruby_install() {
- local rubyversion
- local r
+ local ruby
- for r in $USE_RUBY; do
- if use ruby_targets_${r}; then
- rubyversion=${r}
+ for ruby in ${RUBY_TARGETS_PREFERENCE}; do
+ if use ruby_targets_${ruby}; then
+ break
fi
done
@@ -81,7 +80,7 @@ all_ruby_install() {
doexe mikutter.rb
insinto /usr/share/mikutter
doins -r core plugin
- sed -e "s/ruby19/${rubyversion}/" "${FILESDIR}"/mikutter \
+ sed -e "s/ruby19/${ruby}/" "${FILESDIR}"/mikutter \
| newbin - mikutter
dodoc README
make_desktop_entry mikutter Mikutter \
next reply other threads:[~2023-11-29 5:07 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-29 5:07 Naohiro Aota [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-08-12 9:54 [gentoo-commits] repo/gentoo:master commit in: net-misc/mikutter/ Hans de Graaff
2025-04-19 9:17 Sam James
2024-03-18 2:21 Naohiro Aota
2023-11-29 5:07 Naohiro Aota
2023-04-08 7:34 Naohiro Aota
2022-09-07 4:16 Naohiro Aota
2021-10-09 15:56 Naohiro Aota
2021-10-06 0:36 Naohiro Aota
2021-07-13 10:17 Hans de Graaff
2021-05-23 16:43 Naohiro Aota
2019-11-03 8:21 Hans de Graaff
2019-04-21 5:31 Naohiro Aota
2019-04-09 5:53 Hans de Graaff
2018-05-06 16:18 Hans de Graaff
2018-04-14 7:26 Hans de Graaff
2017-07-30 11:09 David Seifert
2017-03-16 1:43 Naohiro Aota
2017-03-16 1:31 Naohiro Aota
2016-08-11 15:41 Naohiro Aota
2016-02-24 21:37 Manuel Rüger
2016-02-01 12:58 Naohiro Aota
2016-02-01 12:39 Naohiro Aota
2015-09-16 23:16 Naohiro Aota
2015-09-16 8:38 Naohiro Aota
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=1701234389.c75fbe2daccad257c9beed1a98dc14a539c3f80f.naota@gentoo \
--to=naota@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