Lines 13-23
Link Here
|
13 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
14 |
SLOT="0" |
14 |
SLOT="0" |
15 |
KEYWORDS="alpha ~amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd" |
15 |
KEYWORDS="alpha ~amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd" |
16 |
IUSE="emacs" |
16 |
IUSE="emacs zsh" |
17 |
|
17 |
|
18 |
RDEPEND=">=dev-lang/python-2.3" |
18 |
RDEPEND=">=dev-lang/python-2.3" |
19 |
DEPEND="${RDEPEND} |
19 |
DEPEND="${RDEPEND} |
20 |
emacs? ( virtual/emacs )" |
20 |
emacs? ( virtual/emacs ) |
|
|
21 |
zsh? ( app-shells/zsh )" |
21 |
|
22 |
|
22 |
PYTHON_MODNAME="${PN} hgext" |
23 |
PYTHON_MODNAME="${PN} hgext" |
23 |
|
24 |
|
Lines 51-56
Link Here
|
51 |
doins contrib/mercurial.el* |
52 |
doins contrib/mercurial.el* |
52 |
elisp-site-file-install "${FILESDIR}"/70mercurial-gentoo.el |
53 |
elisp-site-file-install "${FILESDIR}"/70mercurial-gentoo.el |
53 |
fi |
54 |
fi |
|
|
55 |
|
56 |
if use zsh; then |
57 |
insinto /usr/share/zsh/site-functions |
58 |
newins contrib/zsh_completion _zsh |
59 |
fi |
54 |
} |
60 |
} |
55 |
|
61 |
|
56 |
pkg_postinst() { |
62 |
pkg_postinst() { |