--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dev-python/xmppony/Manifest Mon Aug 30 17:04:38 2010 +0200
@@ -0,0 +1,2 @@
+DIST xmppony-0.1.tar.bz2 68759 RMD160 d09907abbfad2b7f3e485fc4ba86468d68cc2f13 SHA1 9a271d7cae6d9613c7ccd2c8d40405b19ee99487 SHA256 99259a749c435f21b44d1e00392db63556f53b33a9904dca3cc3fcc77358fad1
+EBUILD xmppony-0.1.ebuild 432 RMD160 8e7a3c117c9d35f94b70af3c7303099ca327d627 SHA1 c09383a09566bbb6495a3ca901cebb80124bbc87 SHA256 2cdf50fc2d881d6b9be979e824a3d782497c93bb7e2caffa28b528cacc191cd7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dev-python/xmppony/xmppony-0.1.ebuild Mon Aug 30 17:04:38 2010 +0200
@@ -0,0 +1,20 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+inherit distutils python
+
+DESCRIPTION="xmppony is an XMPP library writtenin python and is distributed
+under the GPL-3 license"
+HOMEPAGE="http://xmppony.last-exile.org"
+SRC_URI="http://xmppony.last-exile.org/sources/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+PYTHON_DEPEND="2:5"
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net-im/xib-bot/Manifest Mon Aug 30 17:04:38 2010 +0200
@@ -0,0 +1,3 @@
+AUX xib-bot.initd 654 RMD160 fc4a1b83358a1a703f351624cf892ed274dabb30 SHA1 8ea27c69bd3ee97edd26367b7ad8b26721e92262 SHA256 8052481c7e7f20d64fe95124906a2db5f292a1301ca1d3fd4bdccbecf0d4773f
+EBUILD xib-bot-9999.ebuild 593 RMD160 a81a69fd97e46e2ac34115e396a6c63b06aa6c48 SHA1 e6e167f68b53037dd25864ca96a5478bfdd047d9 SHA256 6544d3907956d4e949290fcbe7373928675a5ba57ed3e58d1f2dd5ec189a983c
+MISC xib-bot-9999.ebuild~ 593 RMD160 d98a8a9981312bfc498e7a590571adc09b961045 SHA1 f4ec5b27c13bd263230439e1fc53243ece06eae7 SHA256 f011d438313ef32c2a71375ff1d38015239c7b3d663a9a3dc08470da31243149
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net-im/xib-bot/files/xib-bot.initd Mon Aug 30 17:04:38 2010 +0200
@@ -0,0 +1,27 @@
+#!/sbin/runscript
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+PIDFILE=${PIDFILE:=/var/run/xib-bot.pid}
+CONF=${CONF:=/usr/share/xib-bot/config.xml}
+LOGFILE=${LOGFILE:=/var/log/xib-bot.log}
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting ${SVCNAME}"
+ start-stop-daemon --start --exec /usr/share/xib-bot/start_bots_from_xml_config.py \
+ -1 ${LOGFILE} -2 ${LOGFILE} \
+ -m --pidfile "${PIDFILE}" -b -- "${CONF}"
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ${SVCNAME}"
+ start-stop-daemon --stop --exec /usr/share/xib-bot/start_bots_from_xml_config.py \
+ --pidfile "${PIDFILE}"
+}
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net-im/xib-bot/xib-bot-9999.ebuild Mon Aug 30 17:04:38 2010 +0200
@@ -0,0 +1,29 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+inherit python git
+
+DESCRIPTION="xib-bot is an XMPP-IRC bridge bot written in python."
+HOMEPAGE="http://changaco.net/code/xib/"
+EGIT_REPO_URI="git://changaco.net/xib.git"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+PYTHON_DEPEND="2:6"
+
+RDEPEND="dev-python/xmppony
+ dev-python/argparse"
+
+src_install() {
+ cd $S
+ dodir "/usr/share/xib-bot"
+ cp *.py "${D}/usr/share/xib-bot/"
+ dodoc README example_config.xml
+ newinitd "${FILESDIR}/xib-bot.initd" xib-bot
+}