dev-vcs/mercurial: Install contrib/chg
authorThomas Schneider <qsx@qsx.re>
Thu, 28 Mar 2019 17:23:13 +0000 (18:23 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Thu, 28 Mar 2019 17:27:25 +0000 (18:27 +0100)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Schneider <qsx@qsx.re>
Closes: https://github.com/gentoo/gentoo/pull/11525
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
dev-vcs/mercurial/mercurial-4.9-r1.ebuild [moved from dev-vcs/mercurial/mercurial-4.9.ebuild with 96% similarity]

similarity index 96%
rename from dev-vcs/mercurial/mercurial-4.9.ebuild
rename to dev-vcs/mercurial/mercurial-4.9-r1.ebuild
index e0bacc4958f8c74ae90cd8601202d61a8c924f9b..2c1934673ed4c57e3ea4fd9f578a363f3e146b11 100644 (file)
@@ -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