summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <a3li@gentoo.org>2009-11-07 20:22:24 +0000
committerAlex Legler <a3li@gentoo.org>2009-11-07 20:22:24 +0000
commitf9160502a4facfb1465127798ce77c87564a9b66 (patch)
tree22d5f414db57d5dc0f8b1d85f214d07f3897aa34 /net-irc/rbot
parentKeywording for ppc. (diff)
downloadhistorical-f9160502a4facfb1465127798ce77c87564a9b66.tar.gz
historical-f9160502a4facfb1465127798ce77c87564a9b66.tar.bz2
historical-f9160502a4facfb1465127798ce77c87564a9b66.zip
Taking over maintenance; restrict ruby-gettext dependency to the 1.x versions, bug 292297; remove old version
Package-Manager: portage-2.2_rc48/cvs/Linux x86_64
Diffstat (limited to 'net-irc/rbot')
-rw-r--r--net-irc/rbot/ChangeLog9
-rw-r--r--net-irc/rbot/Manifest18
-rw-r--r--net-irc/rbot/metadata.xml4
-rw-r--r--net-irc/rbot/rbot-0.9.11_rc2.ebuild185
-rw-r--r--net-irc/rbot/rbot-0.9.14.ebuild6
5 files changed, 16 insertions, 206 deletions
diff --git a/net-irc/rbot/ChangeLog b/net-irc/rbot/ChangeLog
index 2f3642880e31..09593ad17197 100644
--- a/net-irc/rbot/ChangeLog
+++ b/net-irc/rbot/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-irc/rbot
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/ChangeLog,v 1.40 2008/10/22 13:08:56 flameeyes Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/ChangeLog,v 1.41 2009/11/07 20:22:24 a3li Exp $
+
+ 07 Nov 2009; Alex Legler <a3li@gentoo.org> -rbot-0.9.11_rc2.ebuild,
+ rbot-0.9.14.ebuild, metadata.xml:
+ Taking over maintenance; restrict ruby-gettext dependency to the 1.x
+ versions, bug 292297; remove old version
*rbot-0.9.14 (22 Oct 2008)
diff --git a/net-irc/rbot/Manifest b/net-irc/rbot/Manifest
index f4f93755170e..f2026014ac6f 100644
--- a/net-irc/rbot/Manifest
+++ b/net-irc/rbot/Manifest
@@ -1,21 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX rbot.conf 944 RMD160 1926da2ac328f7a76dacc0ee3690f664a6419cfc SHA1 79c59f667599a92a88363338e12e42b22b574d32 SHA256 89ccc3e036414c2a4b1ba8338408cc9a5b89c3bfae4268a27fb9c6094bcc95f6
AUX rbot.init 1564 RMD160 75a73a12ee0b40fbdaaaf084504a5fe67bbb8770 SHA1 3ed3ba18f82d87d6dbc57c3d7b5f3525b74f9f33 SHA256 6755c99f34b679decace984c63d1c93f1f2d44cd73eab92ad0a225c5add5af57
DIST rbot-0.9.10.gem 387584 RMD160 a29dd55aa894fac89b2cc0a05f694df8c7e1489c SHA1 53c85bf45239fc572fcc6e4d68bb9601a0d5df6e SHA256 3433783e2be481d63072c5ef03dd4f61b09bee0520c306607ad1e0fa46b8a4b5
-DIST rbot-0.9.11-rc2.tgz 623806 RMD160 8ff0521699a8170e2bfdcd4afdf2aaa751830e7f SHA1 8ad7e794916988ad30e56f72c96c6778df4e3ddb SHA256 0c26b97df9f79ea57478811fb360d9631b1cfbd22bb75337f1152296c528d1af
DIST rbot-0.9.14.tgz 630261 RMD160 46360a63f61520b60053c2db5fbe6e167123b93f SHA1 c5858ad483b358a9fb28106feeabc1f4f704a0e8 SHA256 4f20cfb6b2fbb3add7edca46a99e7e09d491ac8e63509848dd80342017259321
EBUILD rbot-0.9.10-r1.ebuild 641 RMD160 d27bacc724b57e685cc112efd8f5dfdf84431c04 SHA1 21cd8238ec956f1d1677db004ba7e85fcdbb8668 SHA256 7495b3782e13fe7ff39b4fd0fa52a6568c88cc3198ff995075251b82afa13597
-EBUILD rbot-0.9.11_rc2.ebuild 4699 RMD160 5b93b5c96da5384048ae71d67d35e2f1ea92145d SHA1 05dd49e8b00f414203881cb519abf91669ab93c9 SHA256 54e9513e341614ef74eba6d846bb625519939591849e5aadee5896e0774526a1
-EBUILD rbot-0.9.14.ebuild 4699 RMD160 34a7f0d1b02385e5c9c0e37b743604738b0c2455 SHA1 0d0d524b3837f2807f5d2654f3c135ade1afc721 SHA256 292129dfdd7dfc3b713bb96e4f6a9b7d91b44508ef3fc721fc3e8e91a18f4ec5
+EBUILD rbot-0.9.14.ebuild 4698 RMD160 1caff0bcd183bc8abc5a5ff7a7645aa9d77e8137 SHA1 c01edfb810cee6226fa622920fec3f51279cc1fb SHA256 914f6332ea0ce6fcb4aaf463be04f6a87b04f91c6c833ad4edd9c4b0cf4c5583
EBUILD rbot-9999-r10.ebuild 4668 RMD160 bd829e0c9bd50ef8d3f6a436a16eebf428d6c386 SHA1 33682565f034e238d002b84e85a5cfc5945be289 SHA256 a2c9427e1f3d7f70ed871e7e18e4f235bb2c3a2b4040470e824f269844ec268c
-MISC ChangeLog 7374 RMD160 3dda85aff4373105809b102969ddff9b0cc56a7d SHA1 b74e57e684d855e52e6fe78fce54aa71b949c07f SHA256 e6d8e6cc141c48cc9a3aece5dc7e25851966213d936899ab627fc17d2c3f611f
-MISC metadata.xml 3059 RMD160 6422e54762960f35af992d79a5bd55a8044a47fa SHA1 01d4124e25c079e813bd3992111b143e2629525d SHA256 a8872b7aab9ba8f8bcb35714d317becb42cd3cf14fc7a8d2b5ec911e72b2f988
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkj/JfkACgkQAiZjviIA2XjGdQCgx+ShifTqGjqHT8717kMnGYMH
-jMkAoJJ1uKlgc1tUQ2GZupGWjhNBlNw4
-=8KBK
------END PGP SIGNATURE-----
+MISC ChangeLog 7590 RMD160 7d50910465b340374c0d4277366956d1e169a652 SHA1 309428fcc971c5fe0eacd75b7446c6832065f2b3 SHA256 1b9a06339df4b6a40185a7388d93c50dddb1f1123e32f1ddb2acde460a2ca943
+MISC metadata.xml 3129 RMD160 0fb1197e68e3cddb6f1a44f725d075c1370924cd SHA1 f93a2258e36b84336dbbbd347e0a222e81849a73 SHA256 1041e878f79c428834fcd1f3e3d6062e1f48223648c52963dadeb1eeb0a0574e
diff --git a/net-irc/rbot/metadata.xml b/net-irc/rbot/metadata.xml
index bd801cd84a2f..70239ddc887c 100644
--- a/net-irc/rbot/metadata.xml
+++ b/net-irc/rbot/metadata.xml
@@ -3,7 +3,9 @@
<pkgmetadata>
<herd>net-irc</herd>
<maintainer>
- <email>flameeyes@gentoo.org</email>
+ <email>a3li@gentoo.org</email>
+ <name>Alex Legler</name>
+ <description>Primary maintainer</description>
</maintainer>
<use>
<flag name="timezone">
diff --git a/net-irc/rbot/rbot-0.9.11_rc2.ebuild b/net-irc/rbot/rbot-0.9.11_rc2.ebuild
deleted file mode 100644
index 2f0699c86771..000000000000
--- a/net-irc/rbot/rbot-0.9.11_rc2.ebuild
+++ /dev/null
@@ -1,185 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/rbot-0.9.11_rc2.ebuild,v 1.3 2008/07/25 07:27:42 wormo Exp $
-
-inherit ruby eutils
-
-[[ ${PV} == *"9999" ]] && inherit git
-
-DESCRIPTION="rbot is a ruby IRC bot"
-HOMEPAGE="http://ruby-rbot.org/"
-
-LICENSE="GPL-2 as-is"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
-IUSE="spell aspell timezone translator shorturl nls dict figlet
- fortune cal host toilet hunspell"
-ILINGUAS="zh_CN zh_TW ru nl de fr it ja"
-
-for lang in $ILINGUAS; do
- IUSE="${IUSE} linguas_${lang}"
-done
-
-RDEPEND=">=virtual/ruby-1.8
- dev-ruby/ruby-bdb
- timezone? ( dev-ruby/tzinfo )
- spell? (
- aspell? ( app-text/aspell )
- !aspell? (
- hunspell? ( app-text/hunspell )
- !hunspell? ( app-text/ispell )
- )
- )
- translator? ( dev-ruby/mechanize )
- shorturl? ( dev-ruby/shorturl )
- nls? ( dev-ruby/ruby-gettext )
- dict? ( dev-ruby/ruby-dict )
- 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 )"
-DEPEND="
- nls? (
- dev-ruby/ruby-gettext
- dev-ruby/rake
- )"
-
-if [[ ${PV} == *"9999" ]]; then
- SRC_URI=""
- EGIT_REPO_URI="git://ruby-rbot.org/rbot.git"
-else
- MY_P="${P/_/-}"
- S="${WORKDIR}/${P%_*}"
- SRC_URI="http://ruby-rbot.org/download/${MY_P}.tgz"
-fi
-
-pkg_setup() {
- enewuser rbot -1 -1 /var/lib/rbot nobody
-}
-
-src_unpack() {
- if [[ ${PV} == *"9999" ]]; then
- git_src_unpack
-
- cd "${S}"
- sed -i -e '/\$version=/s:".\+":"'${PV}'":' bin/rbot \
- || die "Unable to fix rbot script version."
- else
- unpack ${A}
- fi
-}
-
-src_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/ispell"
- if use !spell; then
- disable_rbot_plugin spell
- spell_program="/bin/false"
- elif use aspell; then
- spell_program="/usr/bin/ispell-aspell"
- elif use hunspell; then
- spell_program="/usr/bin/hunspell -i"
- 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_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}
- done
- fi
-
- rake makemo || die "locale generation failed"
- fi
-
- ruby_econf || die "ruby_econf failed"
-}
-
-src_install() {
- ${RUBY} setup.rb install --prefix="${D}" \
- || die "setup.rb install failed"
-
- diropts -o rbot -g nobody -m 0700
- keepdir /var/lib/rbot
-
- insinto /etc
- doins "${T}"/rbot.conf
-
- newinitd "${FILESDIR}/rbot.init" rbot
- newconfd "${FILESDIR}/rbot.conf" rbot
-}
-
-pkg_postinst() {
- einfo
- elog "rbot now can be started as a normal service."
- elog "Check /etc/conf.d/rbot file for more information about this feature."
- einfo
-}
diff --git a/net-irc/rbot/rbot-0.9.14.ebuild b/net-irc/rbot/rbot-0.9.14.ebuild
index 310f3678288f..2a4f8f16403a 100644
--- a/net-irc/rbot/rbot-0.9.14.ebuild
+++ b/net-irc/rbot/rbot-0.9.14.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/rbot-0.9.14.ebuild,v 1.1 2008/10/22 13:08:56 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/rbot-0.9.14.ebuild,v 1.2 2009/11/07 20:22:24 a3li Exp $
inherit ruby eutils
@@ -41,7 +41,7 @@ RDEPEND=">=virtual/ruby-1.8
host? ( net-dns/bind-tools )"
DEPEND="
nls? (
- dev-ruby/ruby-gettext
+ =dev-ruby/ruby-gettext-1*
dev-ruby/rake
)"