mercurial: update to 6.5.3.

This commit is contained in:
dataCobra 2023-11-16 11:11:40 +01:00 committed by Andrew J. Hesford
parent fceda0f711
commit ee6769d1ba
2 changed files with 2 additions and 21 deletions

View file

@ -9,22 +9,3 @@
def has_python_range(v):
major, minor = v.split('.')[0:2]
py_major, py_minor = sys.version_info.major, sys.version_info.minor
--- ./tests/test-remotefilelog-gc.t 2023-10-11 03:20:30.678179308 +0200
+++ ./tests/test-remotefilelog-gc.t 2023-10-11 03:20:23.587178739 +0200
@@ -106,6 +106,11 @@
# Test that warning is displayed when the repo path is malformed
$ printf "asdas\0das" >> $CACHEDIR/repos
+#if py312
+ $ hg gc
+ abort: invalid path asdas\x00da: .*(null|NULL).* (re)
+ [255]
+#else
#if py311
$ hg gc
finished: removed 0 of 4 files (0.00 GB to 0.00 GB)
@@ -114,3 +119,4 @@
abort: invalid path asdas\x00da: .*(null|NULL).* (re)
[255]
#endif
+#endif

View file

@ -1,6 +1,6 @@
# Template file for 'mercurial'
pkgname=mercurial
version=6.5.2
version=6.5.3
revision=1
build_style=python3-module
hostmakedepends="python3 python3-setuptools python3-devel gettext git"
@ -14,7 +14,7 @@ maintainer="dataCobra <datacobra@thinkbot.de>"
license="GPL-2.0-or-later"
homepage="https://www.mercurial-scm.org/"
distfiles="https://www.mercurial-scm.org/release/mercurial-${version}.tar.gz"
checksum=afc39d7067976593c8332b8e97a12afd393b55037c5fb9c3cab1a42c7560f60a
checksum=2cdc81fade129cf56b128417527f190ba72fd776567394ce54eed764e667e7d5
pre_check() {
if [ "$XBPS_TARGET_LIBC" = musl ]; then