equal
deleted
inserted
replaced
1 # Copyright 1999-2010 Gentoo Foundation |
1 # Copyright 1999-2013 Gentoo Foundation |
2 # Distributed under the terms of the GNU General Public License v2 |
2 # Distributed under the terms of the GNU General Public License v2 |
3 # $Header: $ |
3 # $Header: $ |
4 |
4 |
5 EAPI=3 |
5 EAPI=5 |
6 |
6 |
7 inherit python git |
7 PYTHON_COMPAT=( python2_6 python2_7 ) |
|
8 |
|
9 inherit python-single-r1 git-2 |
8 |
10 |
9 DESCRIPTION="xib-bot is an XMPP-IRC bridge bot written in python." |
11 DESCRIPTION="xib-bot is an XMPP-IRC bridge bot written in python." |
10 HOMEPAGE="http://changaco.net/code/xib/" |
12 HOMEPAGE="http://changaco.net/code/xib/" |
11 EGIT_REPO_URI="git://changaco.net/xib.git" |
13 EGIT_REPO_URI="git://github.com/Changaco/xib.git" |
12 |
14 |
13 LICENSE="GPL-3" |
15 LICENSE="GPL-3" |
14 SLOT="0" |
16 SLOT="0" |
15 KEYWORDS="~amd64" |
17 KEYWORDS="~amd64" |
16 IUSE="" |
18 IUSE="" |
17 |
19 |
18 PYTHON_DEPEND="2:6" |
|
19 |
|
20 RDEPEND="dev-python/xmppony |
20 RDEPEND="dev-python/xmppony |
21 dev-python/argparse" |
21 dev-python/argparse" |
22 |
22 |
23 src_install() { |
23 src_install() { |
24 cd $S |
24 python_fix_shebang start_bots_from_xml_config.py |
25 dodir "/usr/share/xib-bot" |
25 python_moduleroot=xib-bot |
26 cp *.py "${D}/usr/share/xib-bot/" |
26 python_domodule *.py |
27 dodoc README example_config.xml |
27 dodoc README.md example_config.xml |
28 newinitd "${FILESDIR}/xib-bot.initd" xib-bot |
28 newinitd "${FILESDIR}/xib-bot.initd" xib-bot |
29 } |
29 } |