diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-12-17 22:13:09 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-12-17 22:13:09 +0000 |
commit | d73cbecb6b1274b3f90315ab681bba7427733210 (patch) | |
tree | e9f7d08250ffd4edd2c6d62e40c352ac253a3157 /net-irc | |
parent | Stable for HPPA (bug #200414). (diff) | |
download | gentoo-2-d73cbecb6b1274b3f90315ab681bba7427733210.tar.gz gentoo-2-d73cbecb6b1274b3f90315ab681bba7427733210.tar.bz2 gentoo-2-d73cbecb6b1274b3f90315ab681bba7427733210.zip |
Add a new revision with USE flags for shorturl and translator plugins, with their dependencies added.
(Portage version: 2.1.4_rc10)
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/rbot/ChangeLog | 9 | ||||
-rw-r--r-- | net-irc/rbot/files/digest-rbot-9999-r5 (renamed from net-irc/rbot/files/digest-rbot-9999-r4) | 0 | ||||
-rw-r--r-- | net-irc/rbot/metadata.xml | 10 | ||||
-rw-r--r-- | net-irc/rbot/rbot-9999-r5.ebuild (renamed from net-irc/rbot/rbot-9999-r4.ebuild) | 11 |
4 files changed, 26 insertions, 4 deletions
diff --git a/net-irc/rbot/ChangeLog b/net-irc/rbot/ChangeLog index 90d1dd2b8a93..12a7c9b97525 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.23 2007/11/23 22:45:44 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/ChangeLog,v 1.24 2007/12/17 22:13:09 flameeyes Exp $ + +*rbot-9999-r5 (17 Dec 2007) + + 17 Dec 2007; Diego Pettenò <flameeyes@gentoo.org> metadata.xml, + -rbot-9999-r4.ebuild, +rbot-9999-r5.ebuild: + Add a new revision with USE flags for shorturl and translator plugins, with + their dependencies added. 23 Nov 2007; Diego Pettenò <flameeyes@gentoo.org> metadata.xml: Add documentation about the snapshot, timezone and aspell USE flags. diff --git a/net-irc/rbot/files/digest-rbot-9999-r4 b/net-irc/rbot/files/digest-rbot-9999-r5 index e69de29bb2d1..e69de29bb2d1 100644 --- a/net-irc/rbot/files/digest-rbot-9999-r4 +++ b/net-irc/rbot/files/digest-rbot-9999-r5 diff --git a/net-irc/rbot/metadata.xml b/net-irc/rbot/metadata.xml index df01fbd25b22..cfc061d6a983 100644 --- a/net-irc/rbot/metadata.xml +++ b/net-irc/rbot/metadata.xml @@ -21,5 +21,15 @@ vanilla plugin uses ispell, but enabling this flag makes it use the ispell interface for aspell instead. </flag> + <flag name="translator"> + 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> </use> </pkgmetadata> diff --git a/net-irc/rbot/rbot-9999-r4.ebuild b/net-irc/rbot/rbot-9999-r5.ebuild index b8e0edaaa473..00b4cc9434c2 100644 --- a/net-irc/rbot/rbot-9999-r4.ebuild +++ b/net-irc/rbot/rbot-9999-r5.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-r4.ebuild,v 1.1 2007/11/19 16:42:46 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/rbot-9999-r5.ebuild,v 1.1 2007/12/17 22:13:09 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" +IUSE="spell aspell timezone translator shorturl" ILINGUAS="zh ru nl de fr it en ja" for lang in $ILINGUAS; do @@ -25,7 +25,9 @@ RDEPEND=">=virtual/ruby-1.8 spell? ( aspell? ( app-text/aspell ) !aspell? ( app-text/ispell ) - )" + ) + translator? ( dev-ruby/mechanize ) + shorturl? ( dev-ruby/shorturl )" DEPEND="" if [[ ${PV} == "9999" ]]; then @@ -99,6 +101,9 @@ src_install() { || die "Unable to replace ispell with aspell." fi + use translator || disable_rbot_plugin translator + use shorturl || disable_rbot_plugin shortenurls + # 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 |