public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-irc/rbot: rbot-0.9.15_p20131020-r1.ebuild ChangeLog
@ 2015-02-10  9:27 Agostino Sarubbo (ago)
  0 siblings, 0 replies; 3+ messages in thread
From: Agostino Sarubbo (ago) @ 2015-02-10  9:27 UTC (permalink / raw
  To: gentoo-commits

ago         15/02/10 09:27:21

  Modified:             rbot-0.9.15_p20131020-r1.ebuild ChangeLog
  Log:
  Add ~ppc, wrt bug #522056
  
  (Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="~ppc", signed Manifest commit with key 7194459F)

Revision  Changes    Path
1.3                  net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild?r1=1.2&r2=1.3

Index: rbot-0.9.15_p20131020-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- rbot-0.9.15_p20131020-r1.ebuild	5 Feb 2015 10:21:25 -0000	1.2
+++ rbot-0.9.15_p20131020-r1.ebuild	10 Feb 2015 09:27:21 -0000	1.3
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild,v 1.2 2015/02/05 10:21:25 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild,v 1.3 2015/02/10 09:27:21 ago Exp $
 
 EAPI=5
 USE_RUBY="ruby19 ruby20 ruby21"
@@ -13,7 +13,7 @@
 
 LICENSE="|| ( feh GPL-2 )"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+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"



1.61                 net-irc/rbot/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/rbot/ChangeLog?rev=1.61&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/rbot/ChangeLog?rev=1.61&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/rbot/ChangeLog?r1=1.60&r2=1.61

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-irc/rbot/ChangeLog,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- ChangeLog	5 Feb 2015 10:21:25 -0000	1.60
+++ ChangeLog	10 Feb 2015 09:27:21 -0000	1.61
@@ -1,6 +1,10 @@
 # ChangeLog for net-irc/rbot
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/ChangeLog,v 1.60 2015/02/05 10:21:25 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/ChangeLog,v 1.61 2015/02/10 09:27:21 ago Exp $
+
+  10 Feb 2015; Agostino Sarubbo <ago@gentoo.org>
+  rbot-0.9.15_p20131020-r1.ebuild:
+  Add ~ppc, wrt bug #522056
 
   05 Feb 2015; Agostino Sarubbo <ago@gentoo.org>
   rbot-0.9.15_p20131020-r1.ebuild:





^ permalink raw reply	[flat|nested] 3+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-irc/rbot: rbot-0.9.15_p20131020-r1.ebuild ChangeLog
@ 2015-02-05 10:21 Agostino Sarubbo (ago)
  0 siblings, 0 replies; 3+ messages in thread
From: Agostino Sarubbo (ago) @ 2015-02-05 10:21 UTC (permalink / raw
  To: gentoo-commits

ago         15/02/05 10:21:25

  Modified:             rbot-0.9.15_p20131020-r1.ebuild ChangeLog
  Log:
  Add ~x86, wrt bug #522056
  
  (Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="~x86", signed Manifest commit with key 7194459F)

Revision  Changes    Path
1.2                  net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild?r1=1.1&r2=1.2

Index: rbot-0.9.15_p20131020-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- rbot-0.9.15_p20131020-r1.ebuild	25 Jan 2015 09:24:49 -0000	1.1
+++ rbot-0.9.15_p20131020-r1.ebuild	5 Feb 2015 10:21:25 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild,v 1.1 2015/01/25 09:24:49 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild,v 1.2 2015/02/05 10:21:25 ago Exp $
 
 EAPI=5
 USE_RUBY="ruby19 ruby20 ruby21"
@@ -13,7 +13,7 @@
 
 LICENSE="|| ( feh GPL-2 )"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~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"



1.60                 net-irc/rbot/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/rbot/ChangeLog?rev=1.60&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/rbot/ChangeLog?rev=1.60&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/rbot/ChangeLog?r1=1.59&r2=1.60

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-irc/rbot/ChangeLog,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- ChangeLog	25 Jan 2015 09:24:49 -0000	1.59
+++ ChangeLog	5 Feb 2015 10:21:25 -0000	1.60
@@ -1,6 +1,10 @@
 # ChangeLog for net-irc/rbot
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/ChangeLog,v 1.59 2015/01/25 09:24:49 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/ChangeLog,v 1.60 2015/02/05 10:21:25 ago Exp $
+
+  05 Feb 2015; Agostino Sarubbo <ago@gentoo.org>
+  rbot-0.9.15_p20131020-r1.ebuild:
+  Add ~x86, wrt bug #522056
 
 *rbot-0.9.15_p20131020-r1 (25 Jan 2015)
 





^ permalink raw reply	[flat|nested] 3+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-irc/rbot: rbot-0.9.15_p20131020-r1.ebuild ChangeLog
@ 2015-01-25  9:24 Manuel Rueger (mrueg)
  0 siblings, 0 replies; 3+ messages in thread
From: Manuel Rueger (mrueg) @ 2015-01-25  9:24 UTC (permalink / raw
  To: gentoo-commits

mrueg       15/01/25 09:24:49

  Modified:             ChangeLog
  Added:                rbot-0.9.15_p20131020-r1.ebuild
  Log:
  EAPI bump, add ruby 2.0, 2.1 targets. Drop ~ppc, ~x86 keywords.
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key )

Revision  Changes    Path
1.59                 net-irc/rbot/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/rbot/ChangeLog?rev=1.59&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/rbot/ChangeLog?rev=1.59&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/rbot/ChangeLog?r1=1.58&r2=1.59

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-irc/rbot/ChangeLog,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- ChangeLog	14 Aug 2014 14:39:38 -0000	1.58
+++ ChangeLog	25 Jan 2015 09:24:49 -0000	1.59
@@ -1,6 +1,11 @@
 # ChangeLog for net-irc/rbot
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/ChangeLog,v 1.58 2014/08/14 14:39:38 mrueg Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/ChangeLog,v 1.59 2015/01/25 09:24:49 mrueg Exp $
+
+*rbot-0.9.15_p20131020-r1 (25 Jan 2015)
+
+  25 Jan 2015; Manuel Rüger <mrueg@gentoo.org> +rbot-0.9.15_p20131020-r1.ebuild:
+  EAPI bump, add ruby 2.0, 2.1 targets. Drop ~ppc, ~x86 keywords.
 
   14 Aug 2014; Manuel Rüger <mrueg@gentoo.org> rbot-0.9.15_p20131020.ebuild:
   Remove ruby18 from USE_RUBY.



1.1                  net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild?rev=1.1&content-type=text/plain

Index: rbot-0.9.15_p20131020-r1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/rbot-0.9.15_p20131020-r1.ebuild,v 1.1 2015/01/25 09:24:49 mrueg Exp $

EAPI=5
USE_RUBY="ruby19 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"
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	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-10  9:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-10  9:27 [gentoo-commits] gentoo-x86 commit in net-irc/rbot: rbot-0.9.15_p20131020-r1.ebuild ChangeLog Agostino Sarubbo (ago)
  -- strict thread matches above, loose matches on Subject: below --
2015-02-05 10:21 Agostino Sarubbo (ago)
2015-01-25  9:24 Manuel Rueger (mrueg)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox