diff --git a/dev-vcs/mercurial/mercurial-6.0.1.recipe b/dev-vcs/mercurial/mercurial-6.5.2.recipe similarity index 72% rename from dev-vcs/mercurial/mercurial-6.0.1.recipe rename to dev-vcs/mercurial/mercurial-6.5.2.recipe index a58d0f3b2..78926a233 100644 --- a/dev-vcs/mercurial/mercurial-6.0.1.recipe +++ b/dev-vcs/mercurial/mercurial-6.5.2.recipe @@ -2,11 +2,11 @@ SUMMARY="Free, distributed source control management tool" DESCRIPTION="Mercurial (hg) is a free, distributed source control management \ tool." HOMEPAGE="https://www.mercurial-scm.org/" -COPYRIGHT="2005-2022 Matt Mackall et al." +COPYRIGHT="2005-2023 Matt Mackall et al." LICENSE="GNU GPL v2" -REVISION="2" +REVISION="1" SOURCE_URI="https://www.mercurial-scm.org/release/mercurial-$portVersion.tar.gz" -CHECKSUM_SHA256="05fd0b480389c96547f5a6c769e90ee00f1d13f7ac0d465e40a381c6cf3a56e2" +CHECKSUM_SHA256="afc39d7067976593c8332b8e97a12afd393b55037c5fb9c3cab1a42c7560f60a" PATCHES="mercurial-$portVersion.patch" ARCHITECTURES="all !x86_gcc2" @@ -49,6 +49,14 @@ INSTALL() { $portPackageLinksDir/cmd~python$PYTHON_VERSION/bin/python$PYTHON_VERSION setup.py install \ --prefix="$prefix" --force + + mkdir -pv $dataDir/bash-completion/completions + mv -v $prefix/share/bash-completion/completions/hg $dataDir/bash-completion/completions + + mkdir -pv $dataDir/zsh/site-functions + mv -v $prefix/share/zsh/site-functions/_hg $dataDir/zsh/site-functions + + rm -rfv $prefix/share } TEST() diff --git a/dev-vcs/mercurial/patches/mercurial-6.0.1.patch b/dev-vcs/mercurial/patches/mercurial-6.5.2.patch similarity index 100% rename from dev-vcs/mercurial/patches/mercurial-6.0.1.patch rename to dev-vcs/mercurial/patches/mercurial-6.5.2.patch