1 |
commit: fa555fd699a20d1c3cf379baa3f2666196fb9b29 |
2 |
Author: Thomas Schneider <qsx <AT> qsx <DOT> re> |
3 |
AuthorDate: Thu Mar 28 17:23:13 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 28 17:27:25 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa555fd6 |
7 |
|
8 |
dev-vcs/mercurial: Install contrib/chg |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Thomas Schneider <qsx <AT> qsx.re> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/11525 |
13 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
14 |
|
15 |
dev-vcs/mercurial/{mercurial-4.9.ebuild => mercurial-4.9-r1.ebuild} | 6 +++++- |
16 |
1 file changed, 5 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/dev-vcs/mercurial/mercurial-4.9.ebuild b/dev-vcs/mercurial/mercurial-4.9-r1.ebuild |
19 |
similarity index 96% |
20 |
rename from dev-vcs/mercurial/mercurial-4.9.ebuild |
21 |
rename to dev-vcs/mercurial/mercurial-4.9-r1.ebuild |
22 |
index e0bacc4958f..2c1934673ed 100644 |
23 |
--- a/dev-vcs/mercurial/mercurial-4.9.ebuild |
24 |
+++ b/dev-vcs/mercurial/mercurial-4.9-r1.ebuild |
25 |
@@ -58,6 +58,7 @@ python_configure_all() { |
26 |
|
27 |
python_compile_all() { |
28 |
rm -r contrib/win32 || die |
29 |
+ emake -C contrib/chg |
30 |
if use emacs; then |
31 |
cd contrib || die |
32 |
elisp-compile mercurial.el || die "elisp-compile failed!" |
33 |
@@ -85,7 +86,10 @@ python_install_all() { |
34 |
elisp-site-file-install "${FILESDIR}"/${SITEFILE} |
35 |
fi |
36 |
|
37 |
- local RM_CONTRIB=( hgk hg-ssh bash_completion zsh_completion wix plan9 *.el ) |
38 |
+ dobin contrib/chg/chg |
39 |
+ doman contrib/chg/chg.1 |
40 |
+ |
41 |
+ local RM_CONTRIB=( chg hgk hg-ssh bash_completion zsh_completion wix plan9 *.el ) |
42 |
for f in ${RM_CONTRIB[@]}; do |
43 |
rm -r contrib/${f} || die |
44 |
done |