commit:     fa555fd699a20d1c3cf379baa3f2666196fb9b29
Author:     Thomas Schneider <qsx <AT> qsx <DOT> re>
AuthorDate: Thu Mar 28 17:23:13 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Mar 28 17:27:25 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa555fd6

dev-vcs/mercurial: Install contrib/chg

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Schneider <qsx <AT> qsx.re>
Closes: https://github.com/gentoo/gentoo/pull/11525
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 dev-vcs/mercurial/{mercurial-4.9.ebuild => mercurial-4.9-r1.ebuild} | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-vcs/mercurial/mercurial-4.9.ebuild 
b/dev-vcs/mercurial/mercurial-4.9-r1.ebuild
similarity index 96%
rename from dev-vcs/mercurial/mercurial-4.9.ebuild
rename to dev-vcs/mercurial/mercurial-4.9-r1.ebuild
index e0bacc4958f..2c1934673ed 100644
--- a/dev-vcs/mercurial/mercurial-4.9.ebuild
+++ b/dev-vcs/mercurial/mercurial-4.9-r1.ebuild
@@ -58,6 +58,7 @@ python_configure_all() {
 
 python_compile_all() {
        rm -r contrib/win32 || die
+       emake -C contrib/chg
        if use emacs; then
                cd contrib || die
                elisp-compile mercurial.el || die "elisp-compile failed!"
@@ -85,7 +86,10 @@ python_install_all() {
                elisp-site-file-install "${FILESDIR}"/${SITEFILE}
        fi
 
-       local RM_CONTRIB=( hgk hg-ssh bash_completion zsh_completion wix plan9 
*.el )
+       dobin contrib/chg/chg
+       doman contrib/chg/chg.1
+
+       local RM_CONTRIB=( chg hgk hg-ssh bash_completion zsh_completion wix 
plan9 *.el )
        for f in ${RM_CONTRIB[@]}; do
                rm -r contrib/${f} || die
        done

Reply via email to