1367486f71
closes #21698
31 lines
978 B
Bash
31 lines
978 B
Bash
# Template file for 'mercurial'
|
|
pkgname=mercurial
|
|
version=5.4
|
|
revision=1
|
|
build_style=python3-module
|
|
hostmakedepends="python3 python3-setuptools python3-devel"
|
|
makedepends="python3-devel"
|
|
depends="python3 ca-certificates"
|
|
checkdepends="iana-etc tar unzip which xz"
|
|
short_desc="Fast, lightweight source control management system"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://www.mercurial-scm.org/"
|
|
distfiles="https://www.mercurial-scm.org/release/mercurial-${version}.tar.gz"
|
|
checksum=1df8d1978aefcbb65dc51e3666a452583f47aeaf3c5682e4c00a3b23cd805d6a
|
|
|
|
do_check() {
|
|
cd tests
|
|
rm test-doctest.py test-hghave.t test-https.t test-merge-tools.t test-persistent-nodemap.t
|
|
python3 run-tests.py ${makejobs}
|
|
}
|
|
|
|
post_install() {
|
|
for i in doc/*.1 doc/*.8 doc/*.5 ; do
|
|
vman $i
|
|
done
|
|
vinstall contrib/bash_completion 644 \
|
|
usr/share/bash-completion/completions hg
|
|
vinstall contrib/zsh_completion 644 \
|
|
usr/share/zsh/site-functions _hg
|
|
}
|