pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-mercurial py-mercurial: update to 4.4.2.
details: https://anonhg.NetBSD.org/pkgsrc/rev/6727f144d979
branches: trunk
changeset: 373890:6727f144d979
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Jan 10 19:32:13 2018 +0000
description:
py-mercurial: update to 4.4.2.
Add upstream patch to fix a test case.
Mercurial 4.4.2 (2017-12-01)
This is a regularly-scheduled bugfix release.
1.1. Notable changes
1.1.1. Stricter command option parsing
Mercurial can now optionally parse "early" options (-R/--repository,
--cwd, --config, --debugger, and --profile) more strictly, for more
secure integration with tools that invoke 'hg' commands. Setting
HGPLAIN=+strictflags will parse these options more strictly, which
prevents them from being injected as arguments to other flags.
1.2. Bug fixes
'hg amend' now correctly handles deleted and removed files, as
well as subrepos. (issue5732, issue5677)
largefiles now correctly handles dropped standin files when
updating largefiles.
Fixed an issue with deleting symlinks to directories when
ui.origbackuppath is set. (issue5731)
1.3. Performance improvements
Improved performance in path conflict checking introduced in
Mercurial 4.4. (issue5716)
diffstat:
devel/py-mercurial/Makefile | 6 +-
devel/py-mercurial/Makefile.version | 9 +-
devel/py-mercurial/distinfo | 12 ++-
devel/py-mercurial/patches/patch-tests_list-tree.py | 35 +++++++++++
devel/py-mercurial/patches/patch-tests_test-largefiles-misc.t | 17 +++++
5 files changed, 66 insertions(+), 13 deletions(-)
diffs (117 lines):
diff -r 66ddaee6d61e -r 6727f144d979 devel/py-mercurial/Makefile
--- a/devel/py-mercurial/Makefile Wed Jan 10 16:53:07 2018 +0000
+++ b/devel/py-mercurial/Makefile Wed Jan 10 19:32:13 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2017/12/08 21:24:26 joerg Exp $
+# $NetBSD: Makefile,v 1.20 2018/01/10 19:32:13 wiz Exp $
DISTNAME= mercurial-${VERSION}
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -24,10 +24,10 @@
.include "Makefile.version"
# Known test failures:
+# test-run-tests.t:
+# https://bz.mercurial-scm.org/show_bug.cgi?id=5735
# test-status-color.t:
# https://bz.mercurial-scm.org/show_bug.cgi?id=5698
-# test-run-tests.t:
-# https://bz.mercurial-scm.org/show_bug.cgi?id=5735
do-test:
cd ${WRKSRC} && make tests PYTHON=${PYTHONBIN} TESTFLAGS=${_MAKE_JOBS:Q}
diff -r 66ddaee6d61e -r 6727f144d979 devel/py-mercurial/Makefile.version
--- a/devel/py-mercurial/Makefile.version Wed Jan 10 16:53:07 2018 +0000
+++ b/devel/py-mercurial/Makefile.version Wed Jan 10 19:32:13 2018 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile.version,v 1.54 2017/11/23 20:44:47 wiz Exp $
-
-VERSION= 4.4.1
+# $NetBSD: Makefile.version,v 1.55 2018/01/10 19:32:13 wiz Exp $
-PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # not yet ported as of 3.9
+VERSION= 4.4.2
+
+PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # not yet ported as of 4.3
# see also https://www.mercurial-scm.org/wiki/SupportedPythonVersions
-# 3.x support is not planned for the near future
#
# the following setup argument was requested when compiling
# for python-3.x
diff -r 66ddaee6d61e -r 6727f144d979 devel/py-mercurial/distinfo
--- a/devel/py-mercurial/distinfo Wed Jan 10 16:53:07 2018 +0000
+++ b/devel/py-mercurial/distinfo Wed Jan 10 19:32:13 2018 +0000
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.56 2017/11/23 20:44:47 wiz Exp $
+$NetBSD: distinfo,v 1.57 2018/01/10 19:32:13 wiz Exp $
-SHA1 (mercurial-4.4.1.tar.gz) = 99fedcebccdb53f67aefaba5cdade9e84d79cf7e
-RMD160 (mercurial-4.4.1.tar.gz) = 7f7affb0e86e096f60a8cdec1fd16ac2037e9087
-SHA512 (mercurial-4.4.1.tar.gz) = 4c87adb6d3d30f7f9211eee64df727aefdac246be3ca9e3af412b76c32b76d701b19e00ca339168446ee5e20fad2ffc24f0c87438b6bda954560108235ab14a8
-Size (mercurial-4.4.1.tar.gz) = 5636532 bytes
+SHA1 (mercurial-4.4.2.tar.gz) = df543ee5bfef9ac224e2b3c108d3d2df234b043f
+RMD160 (mercurial-4.4.2.tar.gz) = 34c671ff1f2034c548c65a293fa563013a79482e
+SHA512 (mercurial-4.4.2.tar.gz) = 3d1d103689eac4f50cc1005be44144b37d75ebfac3ff3b4fc90d6f41fbee46e107a168d04f2c366ce7cca2733ea4e5b5127df462af8e253f61a72f8938833993
+Size (mercurial-4.4.2.tar.gz) = 5647013 bytes
+SHA1 (patch-tests_list-tree.py) = be9749aa09490efa28cb7cc9231fa3acf85afc7d
+SHA1 (patch-tests_test-largefiles-misc.t) = f05ab87c76b51fe2a784a86d872d8e19bde30193
diff -r 66ddaee6d61e -r 6727f144d979 devel/py-mercurial/patches/patch-tests_list-tree.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-mercurial/patches/patch-tests_list-tree.py Wed Jan 10 19:32:13 2018 +0000
@@ -0,0 +1,35 @@
+$NetBSD: patch-tests_list-tree.py,v 1.1 2018/01/10 19:32:13 wiz Exp $
+
+From upstream:
+tests: write and use a custom helper script to avoid find's -printf.
+
+--- tests/list-tree.py.orig 2018-01-10 14:21:58.440677374 +0000
++++ tests/list-tree.py
+@@ -0,0 +1,27 @@
++from __future__ import (
++ absolute_import,
++ print_function,
++)
++
++import argparse
++import os
++
++ap = argparse.ArgumentParser()
++ap.add_argument('path', nargs='+')
++opts = ap.parse_args()
++
++def gather():
++ for p in opts.path:
++ if not os.path.exists(p):
++ return
++ if os.path.isdir(p):
++ yield p + os.path.sep
++ for dirpath, dirs, files in os.walk(p):
++ for d in dirs:
++ yield os.path.join(dirpath, d) + os.path.sep
++ for f in files:
++ yield os.path.join(dirpath, f)
++ else:
++ yield p
++
++print('\n'.join(sorted(gather())))
diff -r 66ddaee6d61e -r 6727f144d979 devel/py-mercurial/patches/patch-tests_test-largefiles-misc.t
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-mercurial/patches/patch-tests_test-largefiles-misc.t Wed Jan 10 19:32:13 2018 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-tests_test-largefiles-misc.t,v 1.1 2018/01/10 19:32:13 wiz Exp $
+
+From upstream:
+tests: write and use a custom helper script to avoid find's -printf.
+
+--- tests/test-largefiles-misc.t.orig 2017-12-01 19:49:46.000000000 +0000
++++ tests/test-largefiles-misc.t
+@@ -1095,8 +1095,7 @@ largefiles (issue4547)
+ Move (and then undo) a directory move with only largefiles.
+
+ $ listtree() {
+- > find $@ \( -type d -printf "%p/\n" -o -type f -printf "%p\n" \) \
+- > -a -name .hg -prune | sort
++ > $PYTHON $TESTDIR/list-tree.py $@
+ > }
+
+ $ cd subrepo-root
Home |
Main Index |
Thread Index |
Old Index