Lines 8-14
Link Here
|
8 |
SUPPORT_PYTHON_ABIS="1" |
8 |
SUPPORT_PYTHON_ABIS="1" |
9 |
RESTRICT_PYTHON_ABIS="2.[45] 3.* 2.7-pypy-*" |
9 |
RESTRICT_PYTHON_ABIS="2.[45] 3.* 2.7-pypy-*" |
10 |
|
10 |
|
11 |
inherit eutils bash-completion-r1 python |
11 |
inherit eutils bash-completion-r1 python prefix |
12 |
|
12 |
|
13 |
DESCRIPTION="A collection of tools to let /etc be stored in a repository" |
13 |
DESCRIPTION="A collection of tools to let /etc be stored in a repository" |
14 |
HOMEPAGE="http://kitenet.net/~joey/code/etckeeper/" |
14 |
HOMEPAGE="http://kitenet.net/~joey/code/etckeeper/" |
Lines 38-51
Link Here
|
38 |
} |
38 |
} |
39 |
|
39 |
|
40 |
src_install(){ |
40 |
src_install(){ |
41 |
default |
41 |
emake DESTDIR="${ED}" install |
42 |
|
42 |
|
43 |
bzr_install() { |
43 |
bzr_install() { |
44 |
$(PYTHON) ./etckeeper-bzr/__init__.py install --root="${D}" || |
44 |
$(PYTHON) ./etckeeper-bzr/__init__.py install --root="${ED}" || |
45 |
die "bzr support installation failed!" |
45 |
die "bzr support installation failed!" |
46 |
} |
46 |
} |
47 |
use bazaar && python_execute_function bzr_install |
47 |
use bazaar && python_execute_function bzr_install |
48 |
|
48 |
|
|
|
49 |
if use prefix; then |
50 |
doenvd "${FILESDIR}"/99etckeeper |
51 |
eprefixify "${ED}"/etc/env.d/99etckeeper |
52 |
fi |
53 |
|
49 |
newbashcomp bash_completion ${PN} |
54 |
newbashcomp bash_completion ${PN} |
50 |
docinto examples |
55 |
docinto examples |
51 |
dodoc "${FILESDIR}"/bashrc |
56 |
dodoc "${FILESDIR}"/bashrc |