mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 08:22:56 +02:00
mercurial: update to 5.8.1.
This commit is contained in:
parent
4740ee5e8f
commit
f8c831cea5
1 changed files with 21 additions and 6 deletions
|
@ -1,23 +1,38 @@
|
|||
# Template file for 'mercurial'
|
||||
pkgname=mercurial
|
||||
version=5.6.1
|
||||
version=5.8.1
|
||||
revision=1
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3 python3-setuptools python3-devel"
|
||||
hostmakedepends="python3 python3-setuptools python3-devel gettext"
|
||||
makedepends="python3-devel"
|
||||
depends="python3 ca-certificates"
|
||||
checkdepends="iana-etc tar unzip which xz"
|
||||
# cvs tests fail
|
||||
checkdepends="iana-etc tar unzip which xz subversion-python python3-docutils gnupg2
|
||||
python3-Pygments"
|
||||
short_desc="Fast, lightweight source control management system"
|
||||
maintainer="Johannes <johannes.brechtmann@gmail.com>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://www.mercurial-scm.org/"
|
||||
distfiles="https://www.mercurial-scm.org/release/mercurial-${version}.tar.gz"
|
||||
checksum=e55c254f4904c45226a106780e57f4279aee03368f6ff6a981d5d2a38243ffad
|
||||
checksum=81baa3fe2087bdda2dd119d7ea948f6badebaeb7b528a7d18b277e2ceb22b19b
|
||||
|
||||
pre_check() {
|
||||
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||
# fix hardcoded strerror() value from glibc
|
||||
vsed -e 's/Address already in use/Address in use/' -i tests/common-pattern.py
|
||||
fi
|
||||
}
|
||||
|
||||
do_check() {
|
||||
if [ "$XBPS_CHECK_PKGS" = full ]; then
|
||||
_additional_test=--allow-slow-tests
|
||||
else
|
||||
_additional_test='test-s*'
|
||||
fi
|
||||
|
||||
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}
|
||||
rm test-hghave.t test-merge-tools.t
|
||||
python3 run-tests.py ${makejobs} ${_additional_test}
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
|
Loading…
Add table
Reference in a new issue