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: add patch fixing anot...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/477996b3080a
branches:  trunk
changeset: 450133:477996b3080a
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Apr 11 23:07:03 2021 +0000

description:
py-mercurial: add patch fixing another test case.

diffstat:

 devel/py-mercurial/Makefile                               |   4 +-
 devel/py-mercurial/distinfo                               |   3 +-
 devel/py-mercurial/patches/patch-tests_test-merge-tools.t |  25 +++++++++++++++
 3 files changed, 29 insertions(+), 3 deletions(-)

diffs (62 lines):

diff -r 8c814b11c19b -r 477996b3080a devel/py-mercurial/Makefile
--- a/devel/py-mercurial/Makefile       Sun Apr 11 22:55:42 2021 +0000
+++ b/devel/py-mercurial/Makefile       Sun Apr 11 23:07:03 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2021/04/11 22:55:42 wiz Exp $
+# $NetBSD: Makefile,v 1.53 2021/04/11 23:07:03 wiz Exp $
 #
 # Changelog sometimes at: https://www.mercurial-scm.org/wiki/WhatsNew
 
@@ -40,7 +40,7 @@
 # test-archive.t:
 # https://bz.mercurial-scm.org/show_bug.cgi?id=6499
 #
-# Ran 868 tests, 80 skipped, 2 failed.
+# Ran 868 tests, 80 skipped, 1 failed.
 
 TEST_TARGET=           tests
 TEST_MAKE_FLAGS+=      PYTHON=${PYTHONBIN} TESTFLAGS=${_MAKE_JOBS:Q}
diff -r 8c814b11c19b -r 477996b3080a devel/py-mercurial/distinfo
--- a/devel/py-mercurial/distinfo       Sun Apr 11 22:55:42 2021 +0000
+++ b/devel/py-mercurial/distinfo       Sun Apr 11 23:07:03 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.100 2021/04/11 22:55:42 wiz Exp $
+$NetBSD: distinfo,v 1.101 2021/04/11 23:07:03 wiz Exp $
 
 SHA1 (mercurial-5.7.1.tar.gz) = 44f2d2dbdbebeb86358d9e6bac0867f43ae06178
 RMD160 (mercurial-5.7.1.tar.gz) = 3f059122baa88a4cbfa0ec16681b07f560b624df
@@ -7,4 +7,5 @@
 SHA1 (patch-D8574) = 56cecc1c83558803186e84d90ef67b4dce68f8e9
 SHA1 (patch-rust_hg-core_src_lib.rs) = 38dc2a8c5f5ba9318cfa89e408cc7322e8429b8f
 SHA1 (patch-tests_test-convert-cvs.t) = 36423cbc58f5fea71f37e3a846fb2144924f6a45
+SHA1 (patch-tests_test-merge-tools.t) = 4d5386e8c3caebc683f73fb0edd26d7c93952c79
 SHA1 (patch-tests_test-transaction-rollback-on-sigpipe.t) = 8d7152cf2c913fa418cd0dfd179358f2f6aa9ed5
diff -r 8c814b11c19b -r 477996b3080a devel/py-mercurial/patches/patch-tests_test-merge-tools.t
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-mercurial/patches/patch-tests_test-merge-tools.t Sun Apr 11 23:07:03 2021 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-tests_test-merge-tools.t,v 1.3 2021/04/11 23:07:03 wiz Exp $
+
+Fix python interpreter.
+https://bz.mercurial-scm.org/show_bug.cgi?id=6480
+
+--- tests/test-merge-tools.t.orig      2021-03-09 05:48:58.000000000 +0000
++++ tests/test-merge-tools.t
+@@ -1921,7 +1921,7 @@ Verify naming of temporary files and tha
+ Binary files capability checking
+ 
+   $ hg update -q -C 0
+-  $ python <<EOF
++  $ $PYTHON <<EOF
+   > with open('b', 'wb') as fp:
+   >     fp.write(b'\x00\x01\x02\x03')
+   > EOF
+@@ -1929,7 +1929,7 @@ Binary files capability checking
+   $ hg commit -qm "add binary file (#1)"
+ 
+   $ hg update -q -C 0
+-  $ python <<EOF
++  $ $PYTHON <<EOF
+   > with open('b', 'wb') as fp:
+   >     fp.write(b'\x03\x02\x01\x00')
+   > EOF



Home | Main Index | Thread Index | Old Index