summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc/rbot')
-rw-r--r--net-irc/rbot/ChangeLog9
-rw-r--r--net-irc/rbot/files/digest-rbot-9999-r6 (renamed from net-irc/rbot/files/digest-rbot-9999-r5)0
-rw-r--r--net-irc/rbot/rbot-9999-r6.ebuild (renamed from net-irc/rbot/rbot-9999-r5.ebuild)12
3 files changed, 16 insertions, 5 deletions
diff --git a/net-irc/rbot/ChangeLog b/net-irc/rbot/ChangeLog
index 12a7c9b97525..ea28f00110be 100644
--- a/net-irc/rbot/ChangeLog
+++ b/net-irc/rbot/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-irc/rbot
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/ChangeLog,v 1.24 2007/12/17 22:13:09 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/ChangeLog,v 1.25 2007/12/26 20:25:18 flameeyes Exp $
+
+*rbot-9999-r6 (26 Dec 2007)
+
+ 26 Dec 2007; Diego Pettenò <flameeyes@gentoo.org> -rbot-9999-r5.ebuild,
+ +rbot-9999-r6.ebuild:
+ Bump revision to add proper support to nls: depend on ruby-gettext when
+ enabled and build the locale data.
*rbot-9999-r5 (17 Dec 2007)
diff --git a/net-irc/rbot/files/digest-rbot-9999-r5 b/net-irc/rbot/files/digest-rbot-9999-r6
index e69de29bb2d1..e69de29bb2d1 100644
--- a/net-irc/rbot/files/digest-rbot-9999-r5
+++ b/net-irc/rbot/files/digest-rbot-9999-r6
diff --git a/net-irc/rbot/rbot-9999-r5.ebuild b/net-irc/rbot/rbot-9999-r6.ebuild
index 00b4cc9434c2..7892b4a4b7fc 100644
--- a/net-irc/rbot/rbot-9999-r5.ebuild
+++ b/net-irc/rbot/rbot-9999-r6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/rbot-9999-r5.ebuild,v 1.1 2007/12/17 22:13:09 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/rbot-9999-r6.ebuild,v 1.1 2007/12/26 20:25:18 flameeyes Exp $
inherit ruby gems eutils
@@ -12,7 +12,7 @@ HOMEPAGE="http://www.linuxbrit.co.uk/rbot/"
LICENSE="as-is"
SLOT="0"
KEYWORDS=""
-IUSE="spell aspell timezone translator shorturl"
+IUSE="spell aspell timezone translator shorturl nls"
ILINGUAS="zh ru nl de fr it en ja"
for lang in $ILINGUAS; do
@@ -27,8 +27,9 @@ RDEPEND=">=virtual/ruby-1.8
!aspell? ( app-text/ispell )
)
translator? ( dev-ruby/mechanize )
- shorturl? ( dev-ruby/shorturl )"
-DEPEND=""
+ shorturl? ( dev-ruby/shorturl )
+ nls? ( dev-ruby/ruby-gettext )"
+DEPEND="nls? ( dev-ruby/ruby-gettext )"
if [[ ${PV} == "9999" ]]; then
SRC_URI=""
@@ -66,6 +67,9 @@ src_unpack() {
src_compile() {
[[ ${PV} == "9999" ]] || return 0
+ if use nls; then
+ rake makemo || die "locale generation failed"
+ fi
rake || die "Gem generation failed"
}