* [gentoo-commits] repo/gentoo:master commit in: net-irc/rbot/
@ 2016-04-03 18:03 Manuel Rüger
0 siblings, 0 replies; 21+ messages in thread
From: Manuel Rüger @ 2016-04-03 18:03 UTC (permalink / raw
To: gentoo-commits
commit: 9bbc4b7faffe66c0cb348cde527bd48d1d9dfd79
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 3 18:00:23 2016 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sun Apr 3 18:03:18 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bbc4b7f
net-irc/rbot: Remove ruby19
Package-Manager: portage-2.2.28
net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild b/net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild
index 5c5c279..581cccb 100644
--- a/net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild
+++ b/net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
-USE_RUBY="ruby19 ruby20 ruby21"
+USE_RUBY="ruby20 ruby21"
inherit ruby-ng eutils user
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-irc/rbot/
@ 2016-08-24 13:25 Lars Wendler
0 siblings, 0 replies; 21+ messages in thread
From: Lars Wendler @ 2016-08-24 13:25 UTC (permalink / raw
To: gentoo-commits
commit: 61c5eaaf31fc452876189be4913511aee0cda349
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 24 13:25:18 2016 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Aug 24 13:25:33 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61c5eaaf
net-irc/rbot: Removed maintainer (as requested by him).
Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
net-irc/rbot/metadata.xml | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/net-irc/rbot/metadata.xml b/net-irc/rbot/metadata.xml
index 4772c78..a907c2b 100644
--- a/net-irc/rbot/metadata.xml
+++ b/net-irc/rbot/metadata.xml
@@ -1,11 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="person">
- <email>a3li@gentoo.org</email>
- <name>Alex Legler</name>
- <description>Primary maintainer</description>
-</maintainer>
+<!-- maintainer-needed -->
<use>
<flag name="timezone">
Add dependency over <pkg>dev-ruby/tzinfo</pkg> to enable the "time"
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-irc/rbot/
@ 2016-08-28 6:33 Hans de Graaff
0 siblings, 0 replies; 21+ messages in thread
From: Hans de Graaff @ 2016-08-28 6:33 UTC (permalink / raw
To: gentoo-commits
commit: d0263944503ca7dd9dc45e3ab4b17fa4ef340d96
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 28 06:17:26 2016 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Aug 28 06:17:26 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0263944
net-irc/rbot: add ruby project as maintainer
Package-Manager: portage-2.2.28
net-irc/rbot/metadata.xml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/net-irc/rbot/metadata.xml b/net-irc/rbot/metadata.xml
index a907c2b..7568c0f 100644
--- a/net-irc/rbot/metadata.xml
+++ b/net-irc/rbot/metadata.xml
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<!-- maintainer-needed -->
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
<use>
<flag name="timezone">
Add dependency over <pkg>dev-ruby/tzinfo</pkg> to enable the "time"
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-irc/rbot/
@ 2016-12-16 21:06 Hans de Graaff
0 siblings, 0 replies; 21+ messages in thread
From: Hans de Graaff @ 2016-12-16 21:06 UTC (permalink / raw
To: gentoo-commits
commit: 2de0bb2e02f52c486c4921b4f49afa20a2a341ca
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 16 20:27:29 2016 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Dec 16 21:02:09 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2de0bb2e
net-irc/rbot: cleanup
Package-Manager: portage-2.3.0
net-irc/rbot/Manifest | 1 -
net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild | 176 ---------------------------
2 files changed, 177 deletions(-)
diff --git a/net-irc/rbot/Manifest b/net-irc/rbot/Manifest
index 10d848f..f04c94a 100644
--- a/net-irc/rbot/Manifest
+++ b/net-irc/rbot/Manifest
@@ -1,2 +1 @@
-DIST rbot-0.9.15_p20131020.tar.gz 773953 SHA256 74b4db6a2b24784a1779518cd070bbf8cb6d4a5059167579d8226a0fc69cef15 SHA512 3319031361f7ab23e43a997a94663790775047c50eb8eb51f3f579cf879ca822b48118060fdd9f2816d5d97c57de8f6fb7ce883457336f961ff25cf6c49a8d2a WHIRLPOOL 8e77fdeb290dae0c4932628e010768217df223e94a5ec902ed48e9db3a2c2985ef2df932e84048ab8721b8d4bb954852397974afa02f1bdfc1e1b8533b58d812
DIST rbot-0.9.15_p20160325.tar.gz 762685 SHA256 ae638f53607ad0f1d365ff3c4408ef3c27c8e0f5e83ae355742185c1076ec96e SHA512 b0bc90ee2c6ddb3cdd92cdd5f3a45520d20bc97327b3d694235f7ba94f13ef3c884d4658b083f71bfee2cbeff3cbc7a57c251c4d28bfee293e2556f64e7b4160 WHIRLPOOL e2fbeb41c065ea8642bff49ffade38992c6ab7ccee107d1e140c1810daed869e6e378ac59f7453eeacf8f24e3a980dcb5b911f706475c6f2457a61e3b0483902
diff --git a/net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild b/net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild
deleted file mode 100644
index 581cccb..00000000
--- a/net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild
+++ /dev/null
@@ -1,176 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-USE_RUBY="ruby20 ruby21"
-
-inherit ruby-ng eutils user
-
-DESCRIPTION="A ruby IRC bot"
-HOMEPAGE="http://ruby-rbot.org/"
-SRC_URI="http://dev.a3li.li/gentoo/distfiles/${P}.tar.gz"
-
-LICENSE="|| ( feh GPL-2 )"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="spell aspell timezone translator shorturl nls dict figlet
- fortune cal host toilet"
-ILINGUAS="zh_CN zh_TW ru nl de fi fr it ja"
-RUBY_S="${PN}-master"
-
-for lang in $ILINGUAS; do
- IUSE="${IUSE} linguas_${lang}"
-done
-
-RDEPEND+="
- spell? (
- aspell? ( app-text/aspell )
- !aspell? ( app-text/hunspell )
- )
- figlet? ( app-misc/figlet )
- toilet? ( app-misc/toilet )
- fortune? ( games-misc/fortune-mod )
- cal? ( || ( sys-apps/util-linux sys-freebsd/freebsd-ubin ) )
- host? ( net-dns/bind-tools )"
-
-ruby_add_bdepend "
- nls? (
- >=dev-ruby/ruby-gettext-2
- dev-ruby/rake
- )"
-
-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 )
- dict? ( >=dev-ruby/ruby-dict-0.9.4-r2 )"
-
-RUBY_PATCHES=( "rbot-rakefile.patch" )
-
-pkg_setup() {
- enewuser rbot -1 -1 /var/lib/rbot nobody
-}
-
-all_ruby_compile() {
- disable_rbot_plugin() {
- mv "${S}"/data/rbot/plugins/$1.rb{,.disabled}
- }
- use_rbot_plugin() {
- use $1 && return
- disable_rbot_plugin "$2"
- }
- rbot_conf() {
- echo "$1: $2" >> "${T}"/rbot.conf
- }
- use_rbot_conf_path() {
- use "$1" \
- && rbot_conf "$2" "$3" \
- || rbot_conf "$2" /bin/false
- }
-
- local spell_program="/usr/bin/hunspell -i"
- if use !spell; then
- disable_rbot_plugin spell
- spell_program="/bin/false"
- elif use aspell; then
- spell_program="/usr/bin/ispell-aspell"
- fi
-
- rbot_conf spell.program "${spell_program}"
-
- if use !figlet && use !toilet; then
- disable_rbot_plugin figlet
- fi
-
- use_rbot_conf_path figlet figlet.path /usr/bin/figlet
- use_rbot_conf_path toilet toilet.path /usr/bin/toilet
-
- use_rbot_plugin timezone time
- use_rbot_plugin translator translator
- use_rbot_plugin shorturl shortenurls
- use_rbot_plugin dict dictclient
-
- use_rbot_plugin fortune fortune
- use_rbot_conf_path fortune fortune.path /usr/bin/fortune
-
- use_rbot_plugin cal cal
- use_rbot_conf_path cal cal.path /usr/bin/cal
-
- use_rbot_plugin host host
- use_rbot_conf_path host host.path /usr/bin/host
-
- local rbot_datadir="${D}"/usr/share/rbot
-
- # This is unfortunately pretty manual at the moment, but it's just
- # to avoid having to run special scripts to package new versions
- # of rbot. The default if new languages are added that are not
- # considered for an opt-out here is to install them, so you just
- # need to add them later.
- if use nls; then
- strip-linguas ${ILINGUAS}
- if [[ -n ${LINGUAS} ]]; then
- # As the the language name used by the rbot data files does
- # not correspond to the ISO codes we usually use for LINGUAS,
- # the following list of local varables will work as a
- # dictionary to get the name used by rbot from the ISO code.
- local lang_rbot_zh_CN="traditional_chinese"
- local lang_rbot_ru="russian"
- local lang_rbot_nl="dutch"
- local lang_rbot_de="german"
- local lang_rbot_fi="finnish"
- local lang_rbot_fr="french"
- local lang_rbot_it="italian"
- local lang_rbot_ja="japanese"
-
- for lang in ${ILINGUAS}; do
- use linguas_${lang} && continue
-
- lang_varname="lang_rbot_${lang}"
- lang_rbot=${!lang_varname}
-
- rm -r \
- "${S}"/data/rbot/languages/${lang_rbot}.lang \
- "${S}"/data/rbot/templates/lart/larts-${lang_rbot} \
- "${S}"/data/rbot/templates/lart/praises-${lang_rbot} \
- "${S}"/data/rbot/templates/salut/salut-${lang_rbot} \
- "${S}"/po/${lang} &>/dev/null
- done
- fi
-
- ${RUBY} /usr/bin/rake makemo || die "locale generation failed"
- fi
-}
-
-each_ruby_compile() {
- ${RUBY} setup.rb config --prefix="/usr" \
- || die "setup.rb install failed"
-}
-
-each_ruby_install() {
- ${RUBY} setup.rb install --prefix="${D}" \
- || die "setup.rb install failed"
-}
-
-all_ruby_install() {
- diropts -o rbot -g nobody -m 0700
- keepdir /var/lib/rbot
-
- insinto /etc
- doins "${T}"/rbot.conf
-
- newinitd "${FILESDIR}/rbot.init2" rbot
- newconfd "${FILESDIR}/rbot.conf2" rbot
-}
-
-pkg_postinst() {
- elog "rbot can be started as a normal service."
- elog "Check /etc/conf.d/rbot file for more information about this feature."
- ewarn "DEPRECATION NOTICE:"
- ewarn "The bdb database backend is deprecated and only available on Ruby 1.8."
- ewarn "To migrate to the new tokyocabinet-based backend, change the core.db"
- ewarn "parameter in your bot's conf.yaml to 'tc' and restart rbot."
- ewarn "This procedure requires a Ruby version supporting both BDB and TC."
-}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-irc/rbot/
@ 2016-12-16 21:06 Hans de Graaff
0 siblings, 0 replies; 21+ messages in thread
From: Hans de Graaff @ 2016-12-16 21:06 UTC (permalink / raw
To: gentoo-commits
commit: f57f3bb1bf43c0c0a9d9ddbe9ab11f4577c514d5
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 16 20:28:16 2016 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Dec 16 21:02:11 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f57f3bb1
net-irc/rbot: remove unused USE flag description for dict
Package-Manager: portage-2.3.0
net-irc/rbot/metadata.xml | 5 -----
1 file changed, 5 deletions(-)
diff --git a/net-irc/rbot/metadata.xml b/net-irc/rbot/metadata.xml
index 7568c0f..f51f366 100644
--- a/net-irc/rbot/metadata.xml
+++ b/net-irc/rbot/metadata.xml
@@ -30,11 +30,6 @@
Build and install translation for the messages coming from the bot
and its plugins (through <pkg>dev-ruby/ruby-gettext</pkg>).
</flag>
- <flag name="dict">
- Add dependency over <pkg>dev-ruby/ruby-dict</pkg>, which is needed
- to enable the "dict" plugin for rbot. If the USE flag is disabled
- the plugin is also disabled by default.
- </flag>
<flag name="figlet">
Add dependency over <pkg>app-misc/figlet</pkg>, which is used by
the "figlet" plugin for rbot. If the USE flag is disabled the
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-irc/rbot/
@ 2017-07-15 10:20 Hans de Graaff
0 siblings, 0 replies; 21+ messages in thread
From: Hans de Graaff @ 2017-07-15 10:20 UTC (permalink / raw
To: gentoo-commits
commit: b8d1ca81f98edc8cc79df33a53e623cf7530172d
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 15 10:20:07 2017 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Jul 15 10:20:28 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8d1ca81
net-irc/rbot: fix broken tests, bug 624744; add ruby23
Package-Manager: Portage-2.3.6, Repoman-2.3.2
net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild | 195 +++++++++++++++++++++++++++
1 file changed, 195 insertions(+)
diff --git a/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild b/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild
new file mode 100644
index 00000000000..a81b65ee213
--- /dev/null
+++ b/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild
@@ -0,0 +1,195 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby21 ruby22 ruby23"
+
+GITHUB_COMMIT="e358601cc521d8aced941eb928fae2d8c53cf0c2"
+inherit ruby-ng eutils user
+
+DESCRIPTION="A ruby IRC bot"
+HOMEPAGE="http://ruby-rbot.org/"
+SRC_URI="https://github.com/ruby-rbot/rbot/archive/${GITHUB_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="|| ( feh GPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="spell aspell timezone translator shorturl nls figlet
+ fortune cal host toilet"
+ILINGUAS="zh_CN zh_TW ru nl de fi fr it ja"
+RUBY_S="${PN}-${GITHUB_COMMIT}"
+
+for lang in $ILINGUAS; do
+ IUSE="${IUSE} linguas_${lang}"
+done
+
+RUBY_PATCHES=( rbot-rakefile-gettext.patch )
+
+RDEPEND+="
+ spell? (
+ aspell? ( app-text/aspell )
+ !aspell? ( app-text/hunspell )
+ )
+ figlet? ( app-misc/figlet )
+ toilet? ( app-misc/toilet )
+ fortune? ( games-misc/fortune-mod )
+ cal? ( || ( sys-apps/util-linux sys-freebsd/freebsd-ubin ) )
+ host? ( net-dns/bind-tools )"
+
+ruby_add_bdepend "
+ nls? (
+ >=dev-ruby/ruby-gettext-2
+ dev-ruby/rake
+ )"
+
+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 )
+"
+
+pkg_setup() {
+ enewuser rbot -1 -1 /var/lib/rbot nobody
+}
+
+all_ruby_prepare() {
+ # Avoid tests that are only compatible with ruby22
+ rm -f test/test_journal.rb || die
+
+ # Fix deprecated code that was removed with ruby22
+ sed -i -e 's/::Config/::RbConfig/' setup.rb || die
+
+ # Avoid tests for optional dependencies that are not packaged.
+ sed -i -e '/RegistryDaybreakTest/,/^end/ s:^:#:' test/test_registry.rb || die
+
+ # Avoid broken tests that call code that doesn't exist
+ rm -f test/test_plugins_threshold.rb || die
+}
+
+all_ruby_compile() {
+ disable_rbot_plugin() {
+ mv "${S}"/data/rbot/plugins/$1.rb{,.disabled}
+ }
+ use_rbot_plugin() {
+ use $1 && return
+ disable_rbot_plugin "$2"
+ }
+ rbot_conf() {
+ echo "$1: $2" >> "${T}"/rbot.conf
+ }
+ use_rbot_conf_path() {
+ use "$1" \
+ && rbot_conf "$2" "$3" \
+ || rbot_conf "$2" /bin/false
+ }
+
+ local spell_program="/usr/bin/hunspell -i"
+ if use !spell; then
+ disable_rbot_plugin spell
+ spell_program="/bin/false"
+ elif use aspell; then
+ spell_program="/usr/bin/ispell-aspell"
+ fi
+
+ rbot_conf spell.program "${spell_program}"
+
+ if use !figlet && use !toilet; then
+ disable_rbot_plugin figlet
+ fi
+
+ use_rbot_conf_path figlet figlet.path /usr/bin/figlet
+ use_rbot_conf_path toilet toilet.path /usr/bin/toilet
+
+ 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
+
+ use_rbot_plugin cal cal
+ use_rbot_conf_path cal cal.path /usr/bin/cal
+
+ use_rbot_plugin host host
+ use_rbot_conf_path host host.path /usr/bin/host
+
+ local rbot_datadir="${D}"/usr/share/rbot
+
+ # This is unfortunately pretty manual at the moment, but it's just
+ # to avoid having to run special scripts to package new versions
+ # of rbot. The default if new languages are added that are not
+ # considered for an opt-out here is to install them, so you just
+ # need to add them later.
+ if use nls; then
+ strip-linguas ${ILINGUAS}
+ if [[ -n ${LINGUAS} ]]; then
+ # As the the language name used by the rbot data files does
+ # not correspond to the ISO codes we usually use for LINGUAS,
+ # the following list of local varables will work as a
+ # dictionary to get the name used by rbot from the ISO code.
+ local lang_rbot_zh_CN="traditional_chinese"
+ local lang_rbot_ru="russian"
+ local lang_rbot_nl="dutch"
+ local lang_rbot_de="german"
+ local lang_rbot_fi="finnish"
+ local lang_rbot_fr="french"
+ local lang_rbot_it="italian"
+ local lang_rbot_ja="japanese"
+
+ for lang in ${ILINGUAS}; do
+ use linguas_${lang} && continue
+
+ lang_varname="lang_rbot_${lang}"
+ lang_rbot=${!lang_varname}
+
+ rm -r \
+ "${S}"/data/rbot/languages/${lang_rbot}.lang \
+ "${S}"/data/rbot/templates/lart/larts-${lang_rbot} \
+ "${S}"/data/rbot/templates/lart/praises-${lang_rbot} \
+ "${S}"/data/rbot/templates/salut/salut-${lang_rbot} \
+ "${S}"/po/${lang} &>/dev/null
+ done
+ fi
+
+ ${RUBY} /usr/bin/rake makemo || die "locale generation failed"
+ fi
+}
+
+each_ruby_compile() {
+ ${RUBY} setup.rb config --prefix="/usr" \
+ || die "setup.rb install failed"
+}
+
+each_ruby_test() {
+ pushd test || die
+ ${RUBY} -Ilib:. -e "Dir['test_*'].each{|f| require f}" || die
+ popd || die
+}
+
+each_ruby_install() {
+ ${RUBY} setup.rb install --prefix="${D}" \
+ || die "setup.rb install failed"
+}
+
+all_ruby_install() {
+ diropts -o rbot -g nobody -m 0700
+ keepdir /var/lib/rbot
+
+ insinto /etc
+ doins "${T}"/rbot.conf
+
+ newinitd "${FILESDIR}/rbot.init2" rbot
+ newconfd "${FILESDIR}/rbot.conf2" rbot
+}
+
+pkg_postinst() {
+ elog "rbot can be started as a normal service."
+ elog "Check /etc/conf.d/rbot file for more information about this feature."
+ ewarn "DEPRECATION NOTICE:"
+ ewarn "The bdb database backend is deprecated and only available on Ruby 1.8."
+ ewarn "To migrate to the new tokyocabinet-based backend, change the core.db"
+ ewarn "parameter in your bot's conf.yaml to 'tc' and restart rbot."
+ ewarn "This procedure requires a Ruby version supporting both BDB and TC."
+}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-irc/rbot/
@ 2017-07-16 6:49 Hans de Graaff
0 siblings, 0 replies; 21+ messages in thread
From: Hans de Graaff @ 2017-07-16 6:49 UTC (permalink / raw
To: gentoo-commits
commit: 00f0b308103fa371524c7e599dc5390cf9f7e36c
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 16 06:41:13 2017 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Jul 16 06:45:38 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00f0b308
net-irc/rbot: add missing test dependency on sqlite, add USE=sqlite
Package-Manager: Portage-2.3.6, Repoman-2.3.2
net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild b/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild
index a81b65ee213..9d5251d93d3 100644
--- a/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild
+++ b/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild
@@ -15,7 +15,7 @@ LICENSE="|| ( feh GPL-2 )"
SLOT="0"
KEYWORDS="~amd64"
IUSE="spell aspell timezone translator shorturl nls figlet
- fortune cal host toilet"
+ fortune cal host sqlite toilet"
ILINGUAS="zh_CN zh_TW ru nl de fi fr it ja"
RUBY_S="${PN}-${GITHUB_COMMIT}"
@@ -31,12 +31,16 @@ RDEPEND+="
!aspell? ( app-text/hunspell )
)
figlet? ( app-misc/figlet )
+ sqlite? ( dev-ruby/sqlite3 )
toilet? ( app-misc/toilet )
fortune? ( games-misc/fortune-mod )
cal? ( || ( sys-apps/util-linux sys-freebsd/freebsd-ubin ) )
host? ( net-dns/bind-tools )"
ruby_add_bdepend "
+ test? (
+ dev-ruby/sqlite3
+ )
nls? (
>=dev-ruby/ruby-gettext-2
dev-ruby/rake
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-irc/rbot/
@ 2018-01-07 11:21 Ulrich Müller
0 siblings, 0 replies; 21+ messages in thread
From: Ulrich Müller @ 2018-01-07 11:21 UTC (permalink / raw
To: gentoo-commits
commit: 77d6212dcb6dc56546ebd37944bff21bbfc56420
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 7 11:20:11 2018 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Jan 7 11:20:40 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77d6212d
net-irc/rbot: Test LINGUAS rather than linguas_* USE flags.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild | 10 +++-------
net-irc/rbot/rbot-0.9.15_p20160325.ebuild | 10 +++-------
2 files changed, 6 insertions(+), 14 deletions(-)
diff --git a/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild b/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild
index 9d5251d93d3..c176e4cd985 100644
--- a/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild
+++ b/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -19,10 +19,6 @@ IUSE="spell aspell timezone translator shorturl nls figlet
ILINGUAS="zh_CN zh_TW ru nl de fi fr it ja"
RUBY_S="${PN}-${GITHUB_COMMIT}"
-for lang in $ILINGUAS; do
- IUSE="${IUSE} linguas_${lang}"
-done
-
RUBY_PATCHES=( rbot-rakefile-gettext.patch )
RDEPEND+="
@@ -128,7 +124,7 @@ all_ruby_compile() {
# need to add them later.
if use nls; then
strip-linguas ${ILINGUAS}
- if [[ -n ${LINGUAS} ]]; then
+ if [[ -n ${LINGUAS+set} ]]; then
# As the the language name used by the rbot data files does
# not correspond to the ISO codes we usually use for LINGUAS,
# the following list of local varables will work as a
@@ -143,7 +139,7 @@ all_ruby_compile() {
local lang_rbot_ja="japanese"
for lang in ${ILINGUAS}; do
- use linguas_${lang} && continue
+ has ${lang} ${LINGUAS} && continue
lang_varname="lang_rbot_${lang}"
lang_rbot=${!lang_varname}
diff --git a/net-irc/rbot/rbot-0.9.15_p20160325.ebuild b/net-irc/rbot/rbot-0.9.15_p20160325.ebuild
index 48af140afb3..ee7d5458ae7 100644
--- a/net-irc/rbot/rbot-0.9.15_p20160325.ebuild
+++ b/net-irc/rbot/rbot-0.9.15_p20160325.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -19,10 +19,6 @@ IUSE="spell aspell timezone translator shorturl nls figlet
ILINGUAS="zh_CN zh_TW ru nl de fi fr it ja"
RUBY_S="${PN}-${GITHUB_COMMIT}"
-for lang in $ILINGUAS; do
- IUSE="${IUSE} linguas_${lang}"
-done
-
RUBY_PATCHES=( rbot-rakefile-gettext.patch )
RDEPEND+="
@@ -118,7 +114,7 @@ all_ruby_compile() {
# need to add them later.
if use nls; then
strip-linguas ${ILINGUAS}
- if [[ -n ${LINGUAS} ]]; then
+ if [[ -n ${LINGUAS+set} ]]; then
# As the the language name used by the rbot data files does
# not correspond to the ISO codes we usually use for LINGUAS,
# the following list of local varables will work as a
@@ -133,7 +129,7 @@ all_ruby_compile() {
local lang_rbot_ja="japanese"
for lang in ${ILINGUAS}; do
- use linguas_${lang} && continue
+ has ${lang} ${LINGUAS} && continue
lang_varname="lang_rbot_${lang}"
lang_rbot=${!lang_varname}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-irc/rbot/
@ 2018-01-21 19:37 Hans de Graaff
0 siblings, 0 replies; 21+ messages in thread
From: Hans de Graaff @ 2018-01-21 19:37 UTC (permalink / raw
To: gentoo-commits
commit: 0b83ea1efb4e1acc6a76441c86779770a8862b2c
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 21 19:11:24 2018 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Jan 21 19:36:42 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b83ea1e
net-irc/rbot: cleanup
Package-Manager: Portage-2.3.19, Repoman-2.3.6
net-irc/rbot/rbot-0.9.15_p20160325.ebuild | 185 ------------------------------
1 file changed, 185 deletions(-)
diff --git a/net-irc/rbot/rbot-0.9.15_p20160325.ebuild b/net-irc/rbot/rbot-0.9.15_p20160325.ebuild
deleted file mode 100644
index ee7d5458ae7..00000000000
--- a/net-irc/rbot/rbot-0.9.15_p20160325.ebuild
+++ /dev/null
@@ -1,185 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22"
-
-GITHUB_COMMIT="e358601cc521d8aced941eb928fae2d8c53cf0c2"
-inherit ruby-ng eutils user
-
-DESCRIPTION="A ruby IRC bot"
-HOMEPAGE="http://ruby-rbot.org/"
-SRC_URI="https://github.com/ruby-rbot/rbot/archive/${GITHUB_COMMIT}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="|| ( feh GPL-2 )"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="spell aspell timezone translator shorturl nls figlet
- fortune cal host 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 )
- !aspell? ( app-text/hunspell )
- )
- figlet? ( app-misc/figlet )
- toilet? ( app-misc/toilet )
- fortune? ( games-misc/fortune-mod )
- cal? ( || ( sys-apps/util-linux sys-freebsd/freebsd-ubin ) )
- host? ( net-dns/bind-tools )"
-
-ruby_add_bdepend "
- nls? (
- >=dev-ruby/ruby-gettext-2
- dev-ruby/rake
- )"
-
-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 )
-"
-
-pkg_setup() {
- enewuser rbot -1 -1 /var/lib/rbot nobody
-}
-
-all_ruby_prepare() {
- # Avoid tests that are only compatible with ruby22
- rm -f test/test_journal.rb || die
-
- # Fix deprecated code that was removed with ruby22
- sed -i -e 's/::Config/::RbConfig/' setup.rb || die
-}
-
-all_ruby_compile() {
- disable_rbot_plugin() {
- mv "${S}"/data/rbot/plugins/$1.rb{,.disabled}
- }
- use_rbot_plugin() {
- use $1 && return
- disable_rbot_plugin "$2"
- }
- rbot_conf() {
- echo "$1: $2" >> "${T}"/rbot.conf
- }
- use_rbot_conf_path() {
- use "$1" \
- && rbot_conf "$2" "$3" \
- || rbot_conf "$2" /bin/false
- }
-
- local spell_program="/usr/bin/hunspell -i"
- if use !spell; then
- disable_rbot_plugin spell
- spell_program="/bin/false"
- elif use aspell; then
- spell_program="/usr/bin/ispell-aspell"
- fi
-
- rbot_conf spell.program "${spell_program}"
-
- if use !figlet && use !toilet; then
- disable_rbot_plugin figlet
- fi
-
- use_rbot_conf_path figlet figlet.path /usr/bin/figlet
- use_rbot_conf_path toilet toilet.path /usr/bin/toilet
-
- 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
-
- use_rbot_plugin cal cal
- use_rbot_conf_path cal cal.path /usr/bin/cal
-
- use_rbot_plugin host host
- use_rbot_conf_path host host.path /usr/bin/host
-
- local rbot_datadir="${D}"/usr/share/rbot
-
- # This is unfortunately pretty manual at the moment, but it's just
- # to avoid having to run special scripts to package new versions
- # of rbot. The default if new languages are added that are not
- # considered for an opt-out here is to install them, so you just
- # need to add them later.
- if use nls; then
- strip-linguas ${ILINGUAS}
- if [[ -n ${LINGUAS+set} ]]; then
- # As the the language name used by the rbot data files does
- # not correspond to the ISO codes we usually use for LINGUAS,
- # the following list of local varables will work as a
- # dictionary to get the name used by rbot from the ISO code.
- local lang_rbot_zh_CN="traditional_chinese"
- local lang_rbot_ru="russian"
- local lang_rbot_nl="dutch"
- local lang_rbot_de="german"
- local lang_rbot_fi="finnish"
- local lang_rbot_fr="french"
- local lang_rbot_it="italian"
- local lang_rbot_ja="japanese"
-
- for lang in ${ILINGUAS}; do
- has ${lang} ${LINGUAS} && continue
-
- lang_varname="lang_rbot_${lang}"
- lang_rbot=${!lang_varname}
-
- rm -r \
- "${S}"/data/rbot/languages/${lang_rbot}.lang \
- "${S}"/data/rbot/templates/lart/larts-${lang_rbot} \
- "${S}"/data/rbot/templates/lart/praises-${lang_rbot} \
- "${S}"/data/rbot/templates/salut/salut-${lang_rbot} \
- "${S}"/po/${lang} &>/dev/null
- done
- fi
-
- ${RUBY} /usr/bin/rake makemo || die "locale generation failed"
- fi
-}
-
-each_ruby_compile() {
- ${RUBY} setup.rb config --prefix="/usr" \
- || die "setup.rb install failed"
-}
-
-each_ruby_test() {
- pushd test || die
- ${RUBY} -Ilib:. -e "Dir['test_*'].each{|f| require f}" || die
- popd || die
-}
-
-each_ruby_install() {
- ${RUBY} setup.rb install --prefix="${D}" \
- || die "setup.rb install failed"
-}
-
-all_ruby_install() {
- diropts -o rbot -g nobody -m 0700
- keepdir /var/lib/rbot
-
- insinto /etc
- doins "${T}"/rbot.conf
-
- newinitd "${FILESDIR}/rbot.init2" rbot
- newconfd "${FILESDIR}/rbot.conf2" rbot
-}
-
-pkg_postinst() {
- elog "rbot can be started as a normal service."
- elog "Check /etc/conf.d/rbot file for more information about this feature."
- ewarn "DEPRECATION NOTICE:"
- ewarn "The bdb database backend is deprecated and only available on Ruby 1.8."
- ewarn "To migrate to the new tokyocabinet-based backend, change the core.db"
- ewarn "parameter in your bot's conf.yaml to 'tc' and restart rbot."
- ewarn "This procedure requires a Ruby version supporting both BDB and TC."
-}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-irc/rbot/
@ 2018-03-26 18:39 Robin H. Johnson
0 siblings, 0 replies; 21+ messages in thread
From: Robin H. Johnson @ 2018-03-26 18:39 UTC (permalink / raw
To: gentoo-commits
commit: 5c0d94bc1500d1e5b55110cbe18251d456ceabf5
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sat Mar 17 16:26:51 2018 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Mon Mar 26 18:39:12 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c0d94bc
net-irc/rbot: use HTTPS
(cherry picked from commit 84bbb9b316454c7255098caa2508053d3edbcf6d)
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild b/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild
index c176e4cd985..646672e5f3e 100644
--- a/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild
+++ b/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild
@@ -8,7 +8,7 @@ GITHUB_COMMIT="e358601cc521d8aced941eb928fae2d8c53cf0c2"
inherit ruby-ng eutils user
DESCRIPTION="A ruby IRC bot"
-HOMEPAGE="http://ruby-rbot.org/"
+HOMEPAGE="https://ruby-rbot.org/"
SRC_URI="https://github.com/ruby-rbot/rbot/archive/${GITHUB_COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="|| ( feh GPL-2 )"
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-irc/rbot/
@ 2018-07-01 7:01 Hans de Graaff
0 siblings, 0 replies; 21+ messages in thread
From: Hans de Graaff @ 2018-07-01 7:01 UTC (permalink / raw
To: gentoo-commits
commit: 2768073baf667b8e946fc227e89a32ef64ae4a55
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 1 06:49:01 2018 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Jul 1 06:49:01 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2768073b
net-irc/rbot: add ruby24
Package-Manager: Portage-2.3.40, Repoman-2.3.9
net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild b/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild
index 646672e5f3e..016856b20d7 100644
--- a/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild
+++ b/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-USE_RUBY="ruby21 ruby22 ruby23"
+USE_RUBY="ruby23 ruby24"
GITHUB_COMMIT="e358601cc521d8aced941eb928fae2d8c53cf0c2"
inherit ruby-ng eutils user
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-irc/rbot/
@ 2019-04-12 13:58 Hans de Graaff
0 siblings, 0 replies; 21+ messages in thread
From: Hans de Graaff @ 2019-04-12 13:58 UTC (permalink / raw
To: gentoo-commits
commit: 48f11913ea86729372a518c5890982bb7e61ca98
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 12 13:58:05 2019 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Apr 12 13:58:31 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48f11913
net-irc/rbot: add ruby25
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild b/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild
index 016856b20d7..5b654a853d1 100644
--- a/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild
+++ b/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-USE_RUBY="ruby23 ruby24"
+USE_RUBY="ruby23 ruby24 ruby25"
GITHUB_COMMIT="e358601cc521d8aced941eb928fae2d8c53cf0c2"
inherit ruby-ng eutils user
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-irc/rbot/
@ 2020-05-06 17:25 Michał Górny
0 siblings, 0 replies; 21+ messages in thread
From: Michał Górny @ 2020-05-06 17:25 UTC (permalink / raw
To: gentoo-commits
commit: 5049f71057e4f0acf977734c89a48390a4194b79
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 6 16:57:03 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 6 17:24:59 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5049f710
net-irc/rbot: Remove stale sys-freebsd/ deps
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild b/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild
index 5b654a853d1..495f009bcfe 100644
--- a/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild
+++ b/net-irc/rbot/rbot-0.9.15_p20160325-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -30,7 +30,7 @@ RDEPEND+="
sqlite? ( dev-ruby/sqlite3 )
toilet? ( app-misc/toilet )
fortune? ( games-misc/fortune-mod )
- cal? ( || ( sys-apps/util-linux sys-freebsd/freebsd-ubin ) )
+ cal? ( sys-apps/util-linux )
host? ( net-dns/bind-tools )"
ruby_add_bdepend "
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-irc/rbot/
@ 2021-03-09 9:41 Hans de Graaff
0 siblings, 0 replies; 21+ messages in thread
From: Hans de Graaff @ 2021-03-09 9:41 UTC (permalink / raw
To: gentoo-commits
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
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-irc/rbot/
@ 2021-06-30 10:15 Ulrich Müller
0 siblings, 0 replies; 21+ messages in thread
From: Ulrich Müller @ 2021-06-30 10:15 UTC (permalink / raw
To: gentoo-commits
commit: f514d6769b165593280dad5e736555140946cfbc
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 28 10:05:31 2021 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Jun 30 10:15:32 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f514d676
net-irc/rbot: Update inherit from l10n to strip-linguas
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
net-irc/rbot/rbot-0.9.15_p20160325-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-irc/rbot/rbot-0.9.15_p20160325-r2.ebuild b/net-irc/rbot/rbot-0.9.15_p20160325-r2.ebuild
index d4bbfeb5e71..a49349572b5 100644
--- a/net-irc/rbot/rbot-0.9.15_p20160325-r2.ebuild
+++ b/net-irc/rbot/rbot-0.9.15_p20160325-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=7
USE_RUBY="ruby25 ruby26 ruby27"
GITHUB_COMMIT="e358601cc521d8aced941eb928fae2d8c53cf0c2"
-inherit ruby-ng l10n user
+inherit ruby-ng strip-linguas user
DESCRIPTION="A ruby IRC bot"
HOMEPAGE="https://ruby-rbot.org/"
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-irc/rbot/
@ 2021-07-22 19:28 Conrad Kostecki
0 siblings, 0 replies; 21+ messages in thread
From: Conrad Kostecki @ 2021-07-22 19:28 UTC (permalink / raw
To: gentoo-commits
commit: e7295013aa6a98c2c1272f814316e2ceca3a0462
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 22 19:23:35 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Jul 22 19:28:12 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7295013
net-irc/rbot: migrate to GLEP 81
Bug: https://bugs.gentoo.org/781398
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
net-irc/rbot/rbot-0.9.15_p20160325-r3.ebuild | 197 +++++++++++++++++++++++++++
1 file changed, 197 insertions(+)
diff --git a/net-irc/rbot/rbot-0.9.15_p20160325-r3.ebuild b/net-irc/rbot/rbot-0.9.15_p20160325-r3.ebuild
new file mode 100644
index 00000000000..a738ba75619
--- /dev/null
+++ b/net-irc/rbot/rbot-0.9.15_p20160325-r3.ebuild
@@ -0,0 +1,197 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27"
+
+GITHUB_COMMIT="e358601cc521d8aced941eb928fae2d8c53cf0c2"
+inherit ruby-ng strip-linguas
+
+DESCRIPTION="A ruby IRC bot"
+HOMEPAGE="https://ruby-rbot.org/"
+SRC_URI="https://github.com/ruby-rbot/rbot/archive/${GITHUB_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="|| ( feh GPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64"
+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}"
+
+CDEPEND="
+ acct-group/rbot
+ acct-user/rbot
+"
+
+RDEPEND+="
+ ${CDEPEND}
+ spell? (
+ aspell? ( app-text/aspell )
+ !aspell? ( app-text/hunspell )
+ )
+ figlet? ( app-misc/figlet )
+ sqlite? ( dev-ruby/sqlite3 )
+ toilet? ( app-misc/toilet )
+ fortune? ( games-misc/fortune-mod )
+ cal? ( sys-apps/util-linux )
+ host? ( net-dns/bind-tools )"
+
+DEPEND+="${CDEPEND}"
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/sqlite3
+ )
+ nls? (
+ >=dev-ruby/ruby-gettext-2
+ dev-ruby/rake
+ )"
+
+ruby_add_rdepend "
+ dev-ruby/tokyocabinet
+ timezone? ( dev-ruby/tzinfo:* )
+ translator? ( dev-ruby/mechanize )
+ nls? ( dev-ruby/ruby-gettext >=dev-ruby/locale-2.0.5-r2 )
+"
+
+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
+
+ # Fix deprecated code that was removed with ruby22
+ sed -i -e 's/::Config/::RbConfig/' setup.rb || die
+
+ # Avoid tests for optional dependencies that are not packaged.
+ sed -i -e '/RegistryDaybreakTest/,/^end/ s:^:#:' test/test_registry.rb || die
+
+ # Avoid broken tests that call code that doesn't exist
+ rm -f test/test_plugins_threshold.rb || die
+}
+
+all_ruby_compile() {
+ disable_rbot_plugin() {
+ mv "${S}"/data/rbot/plugins/$1.rb{,.disabled}
+ }
+ use_rbot_plugin() {
+ use $1 && return
+ disable_rbot_plugin "$2"
+ }
+ rbot_conf() {
+ echo "$1: $2" >> "${T}"/rbot.conf
+ }
+ use_rbot_conf_path() {
+ use "$1" \
+ && rbot_conf "$2" "$3" \
+ || rbot_conf "$2" /bin/false
+ }
+
+ local spell_program="/usr/bin/hunspell -i"
+ if use !spell; then
+ disable_rbot_plugin spell
+ spell_program="/bin/false"
+ elif use aspell; then
+ spell_program="/usr/bin/ispell-aspell"
+ fi
+
+ rbot_conf spell.program "${spell_program}"
+
+ if use !figlet && use !toilet; then
+ disable_rbot_plugin figlet
+ fi
+
+ use_rbot_conf_path figlet figlet.path /usr/bin/figlet
+ use_rbot_conf_path toilet toilet.path /usr/bin/toilet
+
+ use_rbot_plugin timezone time
+ use_rbot_plugin translator translator
+
+ use_rbot_plugin fortune fortune
+ use_rbot_conf_path fortune fortune.path /usr/bin/fortune
+
+ use_rbot_plugin cal cal
+ use_rbot_conf_path cal cal.path /usr/bin/cal
+
+ use_rbot_plugin host host
+ use_rbot_conf_path host host.path /usr/bin/host
+
+ local rbot_datadir="${D}"/usr/share/rbot
+
+ # This is unfortunately pretty manual at the moment, but it's just
+ # to avoid having to run special scripts to package new versions
+ # of rbot. The default if new languages are added that are not
+ # considered for an opt-out here is to install them, so you just
+ # need to add them later.
+ if use nls; then
+ strip-linguas ${ILINGUAS}
+ if [[ -n ${LINGUAS+set} ]]; then
+ # As the the language name used by the rbot data files does
+ # not correspond to the ISO codes we usually use for LINGUAS,
+ # the following list of local varables will work as a
+ # dictionary to get the name used by rbot from the ISO code.
+ local lang_rbot_zh_CN="traditional_chinese"
+ local lang_rbot_ru="russian"
+ local lang_rbot_nl="dutch"
+ local lang_rbot_de="german"
+ local lang_rbot_fi="finnish"
+ local lang_rbot_fr="french"
+ local lang_rbot_it="italian"
+ local lang_rbot_ja="japanese"
+
+ for lang in ${ILINGUAS}; do
+ has ${lang} ${LINGUAS} && continue
+
+ lang_varname="lang_rbot_${lang}"
+ lang_rbot=${!lang_varname}
+
+ rm -r \
+ "${S}"/data/rbot/languages/${lang_rbot}.lang \
+ "${S}"/data/rbot/templates/lart/larts-${lang_rbot} \
+ "${S}"/data/rbot/templates/lart/praises-${lang_rbot} \
+ "${S}"/data/rbot/templates/salut/salut-${lang_rbot} \
+ "${S}"/po/${lang} &>/dev/null
+ done
+ fi
+
+ ${RUBY} /usr/bin/rake makemo || die "locale generation failed"
+ fi
+}
+
+each_ruby_compile() {
+ ${RUBY} setup.rb config --prefix="/usr" \
+ || die "setup.rb install failed"
+}
+
+each_ruby_test() {
+ pushd test || die
+ ${RUBY} -Ilib:. -e "Dir['test_*'].each{|f| require f}" || die
+ popd || die
+}
+
+each_ruby_install() {
+ ${RUBY} setup.rb install --prefix="${D}" \
+ || die "setup.rb install failed"
+}
+
+all_ruby_install() {
+ diropts -o rbot -g nobody -m 0700
+ keepdir /var/lib/rbot
+
+ insinto /etc
+ doins "${T}"/rbot.conf
+
+ newinitd "${FILESDIR}/rbot.init2" rbot
+ newconfd "${FILESDIR}/rbot.conf2" rbot
+}
+
+pkg_postinst() {
+ elog "rbot can be started as a normal service."
+ elog "Check /etc/conf.d/rbot file for more information about this feature."
+ ewarn "DEPRECATION NOTICE:"
+ ewarn "The bdb database backend is deprecated and only available on Ruby 1.8."
+ ewarn "To migrate to the new tokyocabinet-based backend, change the core.db"
+ ewarn "parameter in your bot's conf.yaml to 'tc' and restart rbot."
+ ewarn "This procedure requires a Ruby version supporting both BDB and TC."
+}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-irc/rbot/
@ 2021-07-22 19:28 Conrad Kostecki
0 siblings, 0 replies; 21+ messages in thread
From: Conrad Kostecki @ 2021-07-22 19:28 UTC (permalink / raw
To: gentoo-commits
commit: f8d039cb8d898e34abb42aaf2de7122d1d4a14c3
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 22 19:24:07 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Jul 22 19:28:13 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8d039cb
net-irc/rbot: drop old version
Closes: https://bugs.gentoo.org/781398
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
net-irc/rbot/rbot-0.9.15_p20160325-r2.ebuild | 193 ---------------------------
1 file changed, 193 deletions(-)
diff --git a/net-irc/rbot/rbot-0.9.15_p20160325-r2.ebuild b/net-irc/rbot/rbot-0.9.15_p20160325-r2.ebuild
deleted file mode 100644
index a49349572b5..00000000000
--- a/net-irc/rbot/rbot-0.9.15_p20160325-r2.ebuild
+++ /dev/null
@@ -1,193 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-USE_RUBY="ruby25 ruby26 ruby27"
-
-GITHUB_COMMIT="e358601cc521d8aced941eb928fae2d8c53cf0c2"
-inherit ruby-ng strip-linguas user
-
-DESCRIPTION="A ruby IRC bot"
-HOMEPAGE="https://ruby-rbot.org/"
-SRC_URI="https://github.com/ruby-rbot/rbot/archive/${GITHUB_COMMIT}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="|| ( feh GPL-2 )"
-SLOT="0"
-KEYWORDS="~amd64"
-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}"
-
-RDEPEND+="
- spell? (
- aspell? ( app-text/aspell )
- !aspell? ( app-text/hunspell )
- )
- figlet? ( app-misc/figlet )
- sqlite? ( dev-ruby/sqlite3 )
- toilet? ( app-misc/toilet )
- fortune? ( games-misc/fortune-mod )
- cal? ( sys-apps/util-linux )
- host? ( net-dns/bind-tools )"
-
-ruby_add_bdepend "
- test? (
- dev-ruby/sqlite3
- )
- nls? (
- >=dev-ruby/ruby-gettext-2
- dev-ruby/rake
- )"
-
-ruby_add_rdepend "
- dev-ruby/tokyocabinet
- timezone? ( dev-ruby/tzinfo:* )
- translator? ( dev-ruby/mechanize )
- nls? ( dev-ruby/ruby-gettext >=dev-ruby/locale-2.0.5-r2 )
-"
-
-pkg_setup() {
- enewuser rbot -1 -1 /var/lib/rbot nobody
-}
-
-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
-
- # Fix deprecated code that was removed with ruby22
- sed -i -e 's/::Config/::RbConfig/' setup.rb || die
-
- # Avoid tests for optional dependencies that are not packaged.
- sed -i -e '/RegistryDaybreakTest/,/^end/ s:^:#:' test/test_registry.rb || die
-
- # Avoid broken tests that call code that doesn't exist
- rm -f test/test_plugins_threshold.rb || die
-}
-
-all_ruby_compile() {
- disable_rbot_plugin() {
- mv "${S}"/data/rbot/plugins/$1.rb{,.disabled}
- }
- use_rbot_plugin() {
- use $1 && return
- disable_rbot_plugin "$2"
- }
- rbot_conf() {
- echo "$1: $2" >> "${T}"/rbot.conf
- }
- use_rbot_conf_path() {
- use "$1" \
- && rbot_conf "$2" "$3" \
- || rbot_conf "$2" /bin/false
- }
-
- local spell_program="/usr/bin/hunspell -i"
- if use !spell; then
- disable_rbot_plugin spell
- spell_program="/bin/false"
- elif use aspell; then
- spell_program="/usr/bin/ispell-aspell"
- fi
-
- rbot_conf spell.program "${spell_program}"
-
- if use !figlet && use !toilet; then
- disable_rbot_plugin figlet
- fi
-
- use_rbot_conf_path figlet figlet.path /usr/bin/figlet
- use_rbot_conf_path toilet toilet.path /usr/bin/toilet
-
- use_rbot_plugin timezone time
- use_rbot_plugin translator translator
-
- use_rbot_plugin fortune fortune
- use_rbot_conf_path fortune fortune.path /usr/bin/fortune
-
- use_rbot_plugin cal cal
- use_rbot_conf_path cal cal.path /usr/bin/cal
-
- use_rbot_plugin host host
- use_rbot_conf_path host host.path /usr/bin/host
-
- local rbot_datadir="${D}"/usr/share/rbot
-
- # This is unfortunately pretty manual at the moment, but it's just
- # to avoid having to run special scripts to package new versions
- # of rbot. The default if new languages are added that are not
- # considered for an opt-out here is to install them, so you just
- # need to add them later.
- if use nls; then
- strip-linguas ${ILINGUAS}
- if [[ -n ${LINGUAS+set} ]]; then
- # As the the language name used by the rbot data files does
- # not correspond to the ISO codes we usually use for LINGUAS,
- # the following list of local varables will work as a
- # dictionary to get the name used by rbot from the ISO code.
- local lang_rbot_zh_CN="traditional_chinese"
- local lang_rbot_ru="russian"
- local lang_rbot_nl="dutch"
- local lang_rbot_de="german"
- local lang_rbot_fi="finnish"
- local lang_rbot_fr="french"
- local lang_rbot_it="italian"
- local lang_rbot_ja="japanese"
-
- for lang in ${ILINGUAS}; do
- has ${lang} ${LINGUAS} && continue
-
- lang_varname="lang_rbot_${lang}"
- lang_rbot=${!lang_varname}
-
- rm -r \
- "${S}"/data/rbot/languages/${lang_rbot}.lang \
- "${S}"/data/rbot/templates/lart/larts-${lang_rbot} \
- "${S}"/data/rbot/templates/lart/praises-${lang_rbot} \
- "${S}"/data/rbot/templates/salut/salut-${lang_rbot} \
- "${S}"/po/${lang} &>/dev/null
- done
- fi
-
- ${RUBY} /usr/bin/rake makemo || die "locale generation failed"
- fi
-}
-
-each_ruby_compile() {
- ${RUBY} setup.rb config --prefix="/usr" \
- || die "setup.rb install failed"
-}
-
-each_ruby_test() {
- pushd test || die
- ${RUBY} -Ilib:. -e "Dir['test_*'].each{|f| require f}" || die
- popd || die
-}
-
-each_ruby_install() {
- ${RUBY} setup.rb install --prefix="${D}" \
- || die "setup.rb install failed"
-}
-
-all_ruby_install() {
- diropts -o rbot -g nobody -m 0700
- keepdir /var/lib/rbot
-
- insinto /etc
- doins "${T}"/rbot.conf
-
- newinitd "${FILESDIR}/rbot.init2" rbot
- newconfd "${FILESDIR}/rbot.conf2" rbot
-}
-
-pkg_postinst() {
- elog "rbot can be started as a normal service."
- elog "Check /etc/conf.d/rbot file for more information about this feature."
- ewarn "DEPRECATION NOTICE:"
- ewarn "The bdb database backend is deprecated and only available on Ruby 1.8."
- ewarn "To migrate to the new tokyocabinet-based backend, change the core.db"
- ewarn "parameter in your bot's conf.yaml to 'tc' and restart rbot."
- ewarn "This procedure requires a Ruby version supporting both BDB and TC."
-}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-irc/rbot/
@ 2023-03-30 13:04 Hans de Graaff
0 siblings, 0 replies; 21+ messages in thread
From: Hans de Graaff @ 2023-03-30 13:04 UTC (permalink / raw
To: gentoo-commits
commit: f788ad1b44a99f6c220723ba1e1870bc047affdd
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 30 13:04:10 2023 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Mar 30 13:04:22 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f788ad1b
net-irc/rbot: enable ruby30
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
net-irc/rbot/rbot-0.9.15_p20160325-r3.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-irc/rbot/rbot-0.9.15_p20160325-r3.ebuild b/net-irc/rbot/rbot-0.9.15_p20160325-r3.ebuild
index a738ba756199..1d85221f96f4 100644
--- a/net-irc/rbot/rbot-0.9.15_p20160325-r3.ebuild
+++ b/net-irc/rbot/rbot-0.9.15_p20160325-r3.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-USE_RUBY="ruby25 ruby26 ruby27"
+USE_RUBY="ruby27 ruby30"
GITHUB_COMMIT="e358601cc521d8aced941eb928fae2d8c53cf0c2"
inherit ruby-ng strip-linguas
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-irc/rbot/
@ 2023-07-09 5:42 Hans de Graaff
0 siblings, 0 replies; 21+ messages in thread
From: Hans de Graaff @ 2023-07-09 5:42 UTC (permalink / raw
To: gentoo-commits
commit: f1b4807c840cfdbaa88a3feb910a12812bd79362
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 9 05:40:28 2023 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Jul 9 05:42:23 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1b4807c
net-irc/rbot: add 0.9.15_p20210609
Closes: https://bugs.gentoo.org/909025
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
net-irc/rbot/Manifest | 1 +
net-irc/rbot/rbot-0.9.15_p20210609.ebuild | 197 ++++++++++++++++++++++++++++++
2 files changed, 198 insertions(+)
diff --git a/net-irc/rbot/Manifest b/net-irc/rbot/Manifest
index ca7d6c77ec02..c1ddbbf15c76 100644
--- a/net-irc/rbot/Manifest
+++ b/net-irc/rbot/Manifest
@@ -1 +1,2 @@
DIST rbot-0.9.15_p20160325.tar.gz 762685 BLAKE2B 68146d241bd57198e0a7a9e5ae033827116bbe31d3bdc05bf42aa644c5dd900254bbe7317461aa553ad92daac299439721a85cd8dd41033cf38b9e97b268e1ee SHA512 b0bc90ee2c6ddb3cdd92cdd5f3a45520d20bc97327b3d694235f7ba94f13ef3c884d4658b083f71bfee2cbeff3cbc7a57c251c4d28bfee293e2556f64e7b4160
+DIST rbot-0.9.15_p20210609.tar.gz 769331 BLAKE2B 7dcdb3ffefefc0b2bfc8d232aec7fec2efecbbf2b025745673acac21733ed115c247cd988db0fb2739174ab1dad9fada83e1a291219e480d294ac32d1bbaad38 SHA512 068e3171bc2d2d0ffea36fbdf342766672fb83b9a4359b154b44b5e0283e6d1d0308dd7fbd66b515bcabb4ecc0eeca95fe670b49654e5d082a0be376138d4e50
diff --git a/net-irc/rbot/rbot-0.9.15_p20210609.ebuild b/net-irc/rbot/rbot-0.9.15_p20210609.ebuild
new file mode 100644
index 000000000000..76d3cf5e8335
--- /dev/null
+++ b/net-irc/rbot/rbot-0.9.15_p20210609.ebuild
@@ -0,0 +1,197 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby30 ruby31"
+
+GITHUB_COMMIT="3ace72d5642284665fce2c33c99dfeb1b931b2c6"
+inherit ruby-ng strip-linguas
+
+DESCRIPTION="A ruby IRC bot"
+HOMEPAGE="https://ruby-rbot.org/"
+SRC_URI="https://github.com/ruby-rbot/rbot/archive/${GITHUB_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="|| ( feh GPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64"
+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}"
+
+CDEPEND="
+ acct-group/rbot
+ acct-user/rbot
+"
+
+RDEPEND+="
+ ${CDEPEND}
+ spell? (
+ aspell? ( app-text/aspell )
+ !aspell? ( app-text/hunspell )
+ )
+ figlet? ( app-misc/figlet )
+ sqlite? ( dev-ruby/sqlite3 )
+ toilet? ( app-misc/toilet )
+ fortune? ( games-misc/fortune-mod )
+ cal? ( sys-apps/util-linux )
+ host? ( net-dns/bind-tools )"
+
+DEPEND+="${CDEPEND}"
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/sqlite3
+ )
+ nls? (
+ >=dev-ruby/ruby-gettext-2
+ dev-ruby/rake
+ )"
+
+ruby_add_rdepend "
+ dev-ruby/tokyocabinet
+ timezone? ( dev-ruby/tzinfo:* )
+ translator? ( dev-ruby/mechanize )
+ nls? ( dev-ruby/ruby-gettext >=dev-ruby/locale-2.0.5-r2 )
+"
+
+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
+
+ # Fix deprecated code that was removed with ruby22
+ sed -i -e 's/::Config/::RbConfig/' setup.rb || die
+
+ # Avoid tests for optional dependencies that are not packaged.
+ # sed -i -e '/RegistryDaybreakTest/,/^end/ s:^:#:' test/test_registry.rb || die
+
+ # Avoid broken tests that call code that doesn't exist
+ rm -f test/test_plugins_threshold.rb || die
+}
+
+all_ruby_compile() {
+ disable_rbot_plugin() {
+ mv "${S}"/data/rbot/plugins/$1.rb{,.disabled}
+ }
+ use_rbot_plugin() {
+ use $1 && return
+ disable_rbot_plugin "$2"
+ }
+ rbot_conf() {
+ echo "$1: $2" >> "${T}"/rbot.conf
+ }
+ use_rbot_conf_path() {
+ use "$1" \
+ && rbot_conf "$2" "$3" \
+ || rbot_conf "$2" /bin/false
+ }
+
+ local spell_program="/usr/bin/hunspell -i"
+ if use !spell; then
+ disable_rbot_plugin spell
+ spell_program="/bin/false"
+ elif use aspell; then
+ spell_program="/usr/bin/ispell-aspell"
+ fi
+
+ rbot_conf spell.program "${spell_program}"
+
+ if use !figlet && use !toilet; then
+ disable_rbot_plugin figlet
+ fi
+
+ use_rbot_conf_path figlet figlet.path /usr/bin/figlet
+ use_rbot_conf_path toilet toilet.path /usr/bin/toilet
+
+ use_rbot_plugin timezone time
+ use_rbot_plugin translator translator
+
+ use_rbot_plugin fortune fortune
+ use_rbot_conf_path fortune fortune.path /usr/bin/fortune
+
+ use_rbot_plugin cal cal
+ use_rbot_conf_path cal cal.path /usr/bin/cal
+
+ use_rbot_plugin host host
+ use_rbot_conf_path host host.path /usr/bin/host
+
+ local rbot_datadir="${D}"/usr/share/rbot
+
+ # This is unfortunately pretty manual at the moment, but it's just
+ # to avoid having to run special scripts to package new versions
+ # of rbot. The default if new languages are added that are not
+ # considered for an opt-out here is to install them, so you just
+ # need to add them later.
+ if use nls; then
+ strip-linguas ${ILINGUAS}
+ if [[ -n ${LINGUAS+set} ]]; then
+ # As the the language name used by the rbot data files does
+ # not correspond to the ISO codes we usually use for LINGUAS,
+ # the following list of local varables will work as a
+ # dictionary to get the name used by rbot from the ISO code.
+ local lang_rbot_zh_CN="traditional_chinese"
+ local lang_rbot_ru="russian"
+ local lang_rbot_nl="dutch"
+ local lang_rbot_de="german"
+ local lang_rbot_fi="finnish"
+ local lang_rbot_fr="french"
+ local lang_rbot_it="italian"
+ local lang_rbot_ja="japanese"
+
+ for lang in ${ILINGUAS}; do
+ has ${lang} ${LINGUAS} && continue
+
+ lang_varname="lang_rbot_${lang}"
+ lang_rbot=${!lang_varname}
+
+ rm -r \
+ "${S}"/data/rbot/languages/${lang_rbot}.lang \
+ "${S}"/data/rbot/templates/lart/larts-${lang_rbot} \
+ "${S}"/data/rbot/templates/lart/praises-${lang_rbot} \
+ "${S}"/data/rbot/templates/salut/salut-${lang_rbot} \
+ "${S}"/po/${lang} &>/dev/null
+ done
+ fi
+
+ ${RUBY} /usr/bin/rake makemo || die "locale generation failed"
+ fi
+}
+
+each_ruby_compile() {
+ ${RUBY} setup.rb config --prefix="/usr" \
+ || die "setup.rb install failed"
+}
+
+each_ruby_test() {
+ pushd test || die
+ ${RUBY} -Ilib:. -e "Dir['test_*'].each{|f| require f}" || die
+ popd || die
+}
+
+each_ruby_install() {
+ ${RUBY} setup.rb install --prefix="${D}" \
+ || die "setup.rb install failed"
+}
+
+all_ruby_install() {
+ diropts -o rbot -g nobody -m 0700
+ keepdir /var/lib/rbot
+
+ insinto /etc
+ doins "${T}"/rbot.conf
+
+ newinitd "${FILESDIR}/rbot.init2" rbot
+ newconfd "${FILESDIR}/rbot.conf2" rbot
+}
+
+pkg_postinst() {
+ elog "rbot can be started as a normal service."
+ elog "Check /etc/conf.d/rbot file for more information about this feature."
+ ewarn "DEPRECATION NOTICE:"
+ ewarn "The bdb database backend is deprecated and only available on Ruby 1.8."
+ ewarn "To migrate to the new tokyocabinet-based backend, change the core.db"
+ ewarn "parameter in your bot's conf.yaml to 'tc' and restart rbot."
+ ewarn "This procedure requires a Ruby version supporting both BDB and TC."
+}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-irc/rbot/
@ 2023-08-19 9:17 Hans de Graaff
0 siblings, 0 replies; 21+ messages in thread
From: Hans de Graaff @ 2023-08-19 9:17 UTC (permalink / raw
To: gentoo-commits
commit: f8072f4fa25807d0ead3968c95c27616ee3f1f64
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 19 08:39:40 2023 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Aug 19 09:17:13 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8072f4f
net-irc/rbot: drop 0.9.15_p20160325-r3
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
net-irc/rbot/Manifest | 1 -
net-irc/rbot/rbot-0.9.15_p20160325-r3.ebuild | 197 ---------------------------
2 files changed, 198 deletions(-)
diff --git a/net-irc/rbot/Manifest b/net-irc/rbot/Manifest
index c1ddbbf15c76..527001b62919 100644
--- a/net-irc/rbot/Manifest
+++ b/net-irc/rbot/Manifest
@@ -1,2 +1 @@
-DIST rbot-0.9.15_p20160325.tar.gz 762685 BLAKE2B 68146d241bd57198e0a7a9e5ae033827116bbe31d3bdc05bf42aa644c5dd900254bbe7317461aa553ad92daac299439721a85cd8dd41033cf38b9e97b268e1ee SHA512 b0bc90ee2c6ddb3cdd92cdd5f3a45520d20bc97327b3d694235f7ba94f13ef3c884d4658b083f71bfee2cbeff3cbc7a57c251c4d28bfee293e2556f64e7b4160
DIST rbot-0.9.15_p20210609.tar.gz 769331 BLAKE2B 7dcdb3ffefefc0b2bfc8d232aec7fec2efecbbf2b025745673acac21733ed115c247cd988db0fb2739174ab1dad9fada83e1a291219e480d294ac32d1bbaad38 SHA512 068e3171bc2d2d0ffea36fbdf342766672fb83b9a4359b154b44b5e0283e6d1d0308dd7fbd66b515bcabb4ecc0eeca95fe670b49654e5d082a0be376138d4e50
diff --git a/net-irc/rbot/rbot-0.9.15_p20160325-r3.ebuild b/net-irc/rbot/rbot-0.9.15_p20160325-r3.ebuild
deleted file mode 100644
index 1d85221f96f4..000000000000
--- a/net-irc/rbot/rbot-0.9.15_p20160325-r3.ebuild
+++ /dev/null
@@ -1,197 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-USE_RUBY="ruby27 ruby30"
-
-GITHUB_COMMIT="e358601cc521d8aced941eb928fae2d8c53cf0c2"
-inherit ruby-ng strip-linguas
-
-DESCRIPTION="A ruby IRC bot"
-HOMEPAGE="https://ruby-rbot.org/"
-SRC_URI="https://github.com/ruby-rbot/rbot/archive/${GITHUB_COMMIT}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="|| ( feh GPL-2 )"
-SLOT="0"
-KEYWORDS="~amd64"
-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}"
-
-CDEPEND="
- acct-group/rbot
- acct-user/rbot
-"
-
-RDEPEND+="
- ${CDEPEND}
- spell? (
- aspell? ( app-text/aspell )
- !aspell? ( app-text/hunspell )
- )
- figlet? ( app-misc/figlet )
- sqlite? ( dev-ruby/sqlite3 )
- toilet? ( app-misc/toilet )
- fortune? ( games-misc/fortune-mod )
- cal? ( sys-apps/util-linux )
- host? ( net-dns/bind-tools )"
-
-DEPEND+="${CDEPEND}"
-
-ruby_add_bdepend "
- test? (
- dev-ruby/sqlite3
- )
- nls? (
- >=dev-ruby/ruby-gettext-2
- dev-ruby/rake
- )"
-
-ruby_add_rdepend "
- dev-ruby/tokyocabinet
- timezone? ( dev-ruby/tzinfo:* )
- translator? ( dev-ruby/mechanize )
- nls? ( dev-ruby/ruby-gettext >=dev-ruby/locale-2.0.5-r2 )
-"
-
-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
-
- # Fix deprecated code that was removed with ruby22
- sed -i -e 's/::Config/::RbConfig/' setup.rb || die
-
- # Avoid tests for optional dependencies that are not packaged.
- sed -i -e '/RegistryDaybreakTest/,/^end/ s:^:#:' test/test_registry.rb || die
-
- # Avoid broken tests that call code that doesn't exist
- rm -f test/test_plugins_threshold.rb || die
-}
-
-all_ruby_compile() {
- disable_rbot_plugin() {
- mv "${S}"/data/rbot/plugins/$1.rb{,.disabled}
- }
- use_rbot_plugin() {
- use $1 && return
- disable_rbot_plugin "$2"
- }
- rbot_conf() {
- echo "$1: $2" >> "${T}"/rbot.conf
- }
- use_rbot_conf_path() {
- use "$1" \
- && rbot_conf "$2" "$3" \
- || rbot_conf "$2" /bin/false
- }
-
- local spell_program="/usr/bin/hunspell -i"
- if use !spell; then
- disable_rbot_plugin spell
- spell_program="/bin/false"
- elif use aspell; then
- spell_program="/usr/bin/ispell-aspell"
- fi
-
- rbot_conf spell.program "${spell_program}"
-
- if use !figlet && use !toilet; then
- disable_rbot_plugin figlet
- fi
-
- use_rbot_conf_path figlet figlet.path /usr/bin/figlet
- use_rbot_conf_path toilet toilet.path /usr/bin/toilet
-
- use_rbot_plugin timezone time
- use_rbot_plugin translator translator
-
- use_rbot_plugin fortune fortune
- use_rbot_conf_path fortune fortune.path /usr/bin/fortune
-
- use_rbot_plugin cal cal
- use_rbot_conf_path cal cal.path /usr/bin/cal
-
- use_rbot_plugin host host
- use_rbot_conf_path host host.path /usr/bin/host
-
- local rbot_datadir="${D}"/usr/share/rbot
-
- # This is unfortunately pretty manual at the moment, but it's just
- # to avoid having to run special scripts to package new versions
- # of rbot. The default if new languages are added that are not
- # considered for an opt-out here is to install them, so you just
- # need to add them later.
- if use nls; then
- strip-linguas ${ILINGUAS}
- if [[ -n ${LINGUAS+set} ]]; then
- # As the the language name used by the rbot data files does
- # not correspond to the ISO codes we usually use for LINGUAS,
- # the following list of local varables will work as a
- # dictionary to get the name used by rbot from the ISO code.
- local lang_rbot_zh_CN="traditional_chinese"
- local lang_rbot_ru="russian"
- local lang_rbot_nl="dutch"
- local lang_rbot_de="german"
- local lang_rbot_fi="finnish"
- local lang_rbot_fr="french"
- local lang_rbot_it="italian"
- local lang_rbot_ja="japanese"
-
- for lang in ${ILINGUAS}; do
- has ${lang} ${LINGUAS} && continue
-
- lang_varname="lang_rbot_${lang}"
- lang_rbot=${!lang_varname}
-
- rm -r \
- "${S}"/data/rbot/languages/${lang_rbot}.lang \
- "${S}"/data/rbot/templates/lart/larts-${lang_rbot} \
- "${S}"/data/rbot/templates/lart/praises-${lang_rbot} \
- "${S}"/data/rbot/templates/salut/salut-${lang_rbot} \
- "${S}"/po/${lang} &>/dev/null
- done
- fi
-
- ${RUBY} /usr/bin/rake makemo || die "locale generation failed"
- fi
-}
-
-each_ruby_compile() {
- ${RUBY} setup.rb config --prefix="/usr" \
- || die "setup.rb install failed"
-}
-
-each_ruby_test() {
- pushd test || die
- ${RUBY} -Ilib:. -e "Dir['test_*'].each{|f| require f}" || die
- popd || die
-}
-
-each_ruby_install() {
- ${RUBY} setup.rb install --prefix="${D}" \
- || die "setup.rb install failed"
-}
-
-all_ruby_install() {
- diropts -o rbot -g nobody -m 0700
- keepdir /var/lib/rbot
-
- insinto /etc
- doins "${T}"/rbot.conf
-
- newinitd "${FILESDIR}/rbot.init2" rbot
- newconfd "${FILESDIR}/rbot.conf2" rbot
-}
-
-pkg_postinst() {
- elog "rbot can be started as a normal service."
- elog "Check /etc/conf.d/rbot file for more information about this feature."
- ewarn "DEPRECATION NOTICE:"
- ewarn "The bdb database backend is deprecated and only available on Ruby 1.8."
- ewarn "To migrate to the new tokyocabinet-based backend, change the core.db"
- ewarn "parameter in your bot's conf.yaml to 'tc' and restart rbot."
- ewarn "This procedure requires a Ruby version supporting both BDB and TC."
-}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-irc/rbot/
@ 2024-01-25 10:23 Hans de Graaff
0 siblings, 0 replies; 21+ messages in thread
From: Hans de Graaff @ 2024-01-25 10:23 UTC (permalink / raw
To: gentoo-commits
commit: 82bbe19104e920846b6d16f115c303f07d40066b
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 25 10:23:14 2024 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Jan 25 10:23:30 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82bbe191
net-irc/rbot: enable ruby32
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
net-irc/rbot/rbot-0.9.15_p20210609.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-irc/rbot/rbot-0.9.15_p20210609.ebuild b/net-irc/rbot/rbot-0.9.15_p20210609.ebuild
index 76d3cf5e8335..fda274cc6b6a 100644
--- a/net-irc/rbot/rbot-0.9.15_p20210609.ebuild
+++ b/net-irc/rbot/rbot-0.9.15_p20210609.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby30 ruby31"
+USE_RUBY="ruby30 ruby31 ruby32"
GITHUB_COMMIT="3ace72d5642284665fce2c33c99dfeb1b931b2c6"
inherit ruby-ng strip-linguas
^ permalink raw reply related [flat|nested] 21+ messages in thread
end of thread, other threads:[~2024-01-25 10:23 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-15 10:20 [gentoo-commits] repo/gentoo:master commit in: net-irc/rbot/ Hans de Graaff
-- strict thread matches above, loose matches on Subject: below --
2024-01-25 10:23 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
2021-03-09 9:41 Hans de Graaff
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
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox