comparison .chezmoiscripts/run_onchange_after_17-install-mercurial.sh.tmpl @ 1082:f27c3aa3233c draft

feat: update mercurial to 6.9.2
author Zeger Van de Vannet <zeger@vandevan.net>
date Sat, 22 Feb 2025 17:53:59 +0100
parents 38b8060cdf24
children
comparison
equal deleted inserted replaced
1081:02f181c43b55 1082:f27c3aa3233c
1 {{ if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.name "Ubuntu")) -}} 1 {{ if (and (eq .chezmoi.os "linux") (eq .chezmoi.osRelease.name "Ubuntu")) -}}
2 {{ $version := "6.7.4" -}} 2 {{ $version := "6.9.2" -}}
3 #!/usr/bin/env bash 3 #!/usr/bin/env bash
4 4
5 set -xe 5 set -xe
6 6
7 sudo apt install --yes clang rustc cargo python3-dev python3-setuptools python3-docutils python3-pip 7 sudo apt install --yes clang rustc cargo python3-dev python3-setuptools python3-docutils python3-pip
10 cd /tmp/mercurial-devel-{{ $version }} 10 cd /tmp/mercurial-devel-{{ $version }}
11 11
12 mkdir -p $HOME/mercurial 12 mkdir -p $HOME/mercurial
13 13
14 $HOME/bin/mise exec [email protected] -- pip install docutils 14 $HOME/bin/mise exec [email protected] -- pip install docutils
15 $HOME/bin/mise exec [email protected] [email protected] -- make PURE=--rust install-home 15 $HOME/bin/mise exec [email protected] [email protected] -- make PURE=--rust install-home
16 $HOME/bin/mise exec [email protected] [email protected] -- pip install --upgrade hg-evolve~=11.1.3 hg-git~=1.1.2 mercurial_keyring~=1.4.4 16 $HOME/bin/mise exec [email protected] [email protected] -- pip install --upgrade hg-evolve~=11.1.3 hg-git~=1.1.2 mercurial_keyring~=1.4.4
17 17
18 18
19 {{ end }} 19 {{ end }}