From 952a7fc89398baff82843332c73d5e3f3def8562 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 17 Aug 2020 11:06:47 +0300 Subject: gnu: vim: Update to 8.2.1471. * gnu/packages/vim.scm (vim): Update to 8.2.1471. [arguments]: Adjust custom 'patch-absolute-paths, 'skip-failing-tests phases for changes in the sources. --- gnu/packages/vim.scm | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'gnu/packages/vim.scm') diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index 5a8011bc76..fe8163465e 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -70,7 +70,7 @@ (define-module (gnu packages vim) (define-public vim (package (name "vim") - (version "8.2.1145") + (version "8.2.1471") (source (origin (method git-fetch) (uri (git-reference @@ -79,7 +79,7 @@ (define-public vim (file-name (git-file-name name version)) (sha256 (base32 - "01z5hgi7m8d63gl1fgfn4p9rsdaqbl5xn4vr247nbxjq5x5hrs7a")))) + "1rd2d8lil0liiyfzcqb2b96l4hn99pzfikpjy4w4z1jd4jkfcx17")))) (build-system gnu-build-system) (arguments `(#:test-target "test" @@ -92,6 +92,7 @@ (define-public vim (("/usr/bin/nawk") (which "gawk"))) (substitute* '("src/testdir/Makefile" "src/testdir/test_normal.vim" + "src/testdir/test_popupwin.vim" "src/testdir/test_system.vim" "src/testdir/test_terminal.vim" "src/testdir/test_terminal2.vim") @@ -120,21 +121,16 @@ (define-public vim (substitute* "src/testdir/test_swap.vim" (("if !IsRoot\\(\\)") "if 0")) - ;; These tests fail on upstream's CI on FreeBSD because they are - ;; run as root. They fail for us because PID 1 and the test suite - ;; are run by the same user. - (substitute* '("src/testdir/test_backup.vim" - "src/testdir/test_writefile.vim") - (("CheckNotBSD") "throw 'Skipped: this test fails on Guix'") - (("'bsd'") "'unix'")) - - ;; This test checks how the terminal looks after executing some + ;; These tests check how the terminal looks after executing some ;; actions. The path of the bash binary is shown, which results in ;; a difference being detected. Patching the expected result is ;; non-trivial due to the special format used, so skip the test. (substitute* "src/testdir/test_terminal.vim" ((".*Test_terminal_postponed_scrollback.*" line) (string-append line "return\n"))) + (substitute* "src/testdir/test_popupwin.vim" + ((".*Test_popup_drag_termwin.*" line) + (string-append line "return\n"))) #t))))) (inputs `(("gawk" ,gawk) -- cgit v1.2.3