Lines 2-8
Link Here
|
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: /var/cvsroot/gentoo-x86/dev-util/ciabot-svn/ciabot-svn-1.15.ebuild,v 1.5 2010/12/18 17:00:24 fauli Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/ciabot-svn/ciabot-svn-1.15.ebuild,v 1.5 2010/12/18 17:00:24 fauli Exp $ |
4 |
|
4 |
|
5 |
inherit eutils |
5 |
EAPI="3" |
|
|
6 |
PYTHON_DEPEND="2" |
7 |
|
8 |
inherit eutils python |
6 |
|
9 |
|
7 |
DESCRIPTION="CIA-bot script for Subversion repositories" |
10 |
DESCRIPTION="CIA-bot script for Subversion repositories" |
8 |
HOMEPAGE="http://cia.navi.cx/doc/clients" |
11 |
HOMEPAGE="http://cia.navi.cx/doc/clients" |
Lines 13-28
Link Here
|
13 |
KEYWORDS="amd64 ~ppc ~ppc64 x86" |
15 |
KEYWORDS="amd64 ~ppc ~ppc64 x86" |
14 |
IUSE="" |
16 |
IUSE="" |
15 |
|
17 |
|
16 |
DEPEND="dev-lang/python" |
18 |
DEPEND="" |
17 |
|
19 |
RDEPEND="${DEPEND}" |
18 |
S=${WORKDIR} |
20 |
S=${WORKDIR} |
19 |
|
21 |
|
|
|
22 |
pkg_setup() { |
23 |
python_set_active_version 2 |
24 |
python_pkg_setup |
25 |
} |
26 |
|
20 |
src_install() { |
27 |
src_install() { |
21 |
dodir /etc/${PN} |
28 |
dodir /etc/${PN} |
22 |
insinto /etc/${PN} |
29 |
insinto /etc/${PN} |
23 |
doins "${FILESDIR}"/config.py |
30 |
doins "${FILESDIR}"/config.py |
24 |
|
31 |
|
25 |
newbin ${P}.py ${PN} || die |
32 |
newbin ${P}.py ${PN} || die |
|
|
33 |
python_convert_shebangs -r 2 "${ED}" |
26 |
} |
34 |
} |
27 |
|
35 |
|
28 |
pkg_postinst() { |
36 |
pkg_postinst() { |