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: net-irc/rbot/
Date: Tue,  9 Mar 2021 09:41:52 +0000 (UTC)	[thread overview]
Message-ID: <1615282906.6ec5bf128af36c9e6e95047f7e7c296ed1d3714c.graaff@gentoo> (raw)

commit:     6ec5bf128af36c9e6e95047f7e7c296ed1d3714c
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  9 09:41:38 2021 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Mar  9 09:41:46 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ec5bf12

net-irc/rbot: add ruby26, ruby27; drop shorturl USE flag

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 net-irc/rbot/metadata.xml                                |  5 -----
 ...0160325-r1.ebuild => rbot-0.9.15_p20160325-r2.ebuild} | 16 +++++++---------
 2 files changed, 7 insertions(+), 14 deletions(-)

diff --git a/net-irc/rbot/metadata.xml b/net-irc/rbot/metadata.xml
index 9be5ac250eb..c24f8a72630 100644
--- a/net-irc/rbot/metadata.xml
+++ b/net-irc/rbot/metadata.xml
@@ -20,11 +20,6 @@
     Add dependency over <pkg>dev-ruby/mechanize</pkg>, which is needed
     to enable the "translator" plugin for rbot. If the USE flag is
     disabled the plugin is also disabled by default.
-  </flag>
-    <flag name="shorturl">
-    Add dependency over <pkg>dev-ruby/shorturl</pkg>, which is needed
-    to enable the "shortenurl" plugin for rbot. If the USE flag is
-    disabled the plugin is also disabled by default.
   </flag>
     <flag name="nls">
     Build and install translation for the messages coming from the bot

diff --git a/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild b/net-irc/rbot/rbot-0.9.15_p20160325-r2.ebuild
similarity index 94%
rename from net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild
rename to net-irc/rbot/rbot-0.9.15_p20160325-r2.ebuild
index 495f009bcfe..d4bbfeb5e71 100644
--- a/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild
+++ b/net-irc/rbot/rbot-0.9.15_p20160325-r2.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-USE_RUBY="ruby23 ruby24 ruby25"
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27"
 
 GITHUB_COMMIT="e358601cc521d8aced941eb928fae2d8c53cf0c2"
-inherit ruby-ng eutils user
+inherit ruby-ng l10n user
 
 DESCRIPTION="A ruby IRC bot"
 HOMEPAGE="https://ruby-rbot.org/"
@@ -14,13 +14,11 @@ SRC_URI="https://github.com/ruby-rbot/rbot/archive/${GITHUB_COMMIT}.tar.gz -> ${
 LICENSE="|| ( feh GPL-2 )"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="spell aspell timezone translator shorturl nls figlet
+IUSE="spell aspell timezone translator nls figlet
 	fortune cal host sqlite toilet"
 ILINGUAS="zh_CN zh_TW ru nl de fi fr it ja"
 RUBY_S="${PN}-${GITHUB_COMMIT}"
 
-RUBY_PATCHES=( rbot-rakefile-gettext.patch )
-
 RDEPEND+="
 	spell? (
 		aspell? ( app-text/aspell )
@@ -46,7 +44,6 @@ ruby_add_rdepend "
 	dev-ruby/tokyocabinet
 	timezone? ( dev-ruby/tzinfo:* )
 	translator? ( dev-ruby/mechanize )
-	shorturl? ( dev-ruby/shorturl )
 	nls? ( dev-ruby/ruby-gettext >=dev-ruby/locale-2.0.5-r2 )
 "
 
@@ -55,6 +52,8 @@ pkg_setup() {
 }
 
 all_ruby_prepare() {
+	eapply -p0 "${FILESDIR}"/rbot-rakefile-gettext.patch
+
 	# Avoid tests that are only compatible with ruby22
 	rm -f test/test_journal.rb || die
 
@@ -104,7 +103,6 @@ all_ruby_compile() {
 
 	use_rbot_plugin timezone time
 	use_rbot_plugin translator translator
-	use_rbot_plugin shorturl shortenurls
 
 	use_rbot_plugin fortune fortune
 	use_rbot_conf_path fortune fortune.path /usr/bin/fortune


             reply	other threads:[~2021-03-09  9:41 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-09  9:41 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-25 10:23 [gentoo-commits] repo/gentoo:master commit in: net-irc/rbot/ Hans de Graaff
2023-08-19  9:17 Hans de Graaff
2023-07-09  5:42 Hans de Graaff
2023-03-30 13:04 Hans de Graaff
2021-07-22 19:28 Conrad Kostecki
2021-07-22 19:28 Conrad Kostecki
2021-06-30 10:15 Ulrich Müller
2020-05-06 17:25 Michał Górny
2019-04-12 13:58 Hans de Graaff
2018-07-01  7:01 Hans de Graaff
2018-03-26 18:39 Robin H. Johnson
2018-01-21 19:37 Hans de Graaff
2018-01-07 11:21 Ulrich Müller
2017-07-16  6:49 Hans de Graaff
2017-07-15 10:20 Hans de Graaff
2016-12-16 21:06 Hans de Graaff
2016-12-16 21:06 Hans de Graaff
2016-08-28  6:33 Hans de Graaff
2016-08-24 13:25 Lars Wendler
2016-04-03 18:03 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=1615282906.6ec5bf128af36c9e6e95047f7e7c296ed1d3714c.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