From 4920f1cff14b5a5f0224e2307745eabf2be77ec4 Mon Sep 17 00:00:00 2001
From: "Adam J. Stewart" <ajstewart426@gmail.com>
Date: Sat, 1 Sep 2018 08:12:14 -0500
Subject: [PATCH] Vim: add version 8.1.0338 (#9155)

---
 var/spack/repos/builtin/packages/vim/package.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/var/spack/repos/builtin/packages/vim/package.py b/var/spack/repos/builtin/packages/vim/package.py
index 407ad12df9..e1c6d8bc55 100644
--- a/var/spack/repos/builtin/packages/vim/package.py
+++ b/var/spack/repos/builtin/packages/vim/package.py
@@ -35,8 +35,9 @@ class Vim(AutotoolsPackage):
     """
 
     homepage = "http://www.vim.org"
-    url      = "https://github.com/vim/vim/archive/v8.0.1376.tar.gz"
+    url      = "https://github.com/vim/vim/archive/v8.1.0338.tar.gz"
 
+    version('8.1.0338', '94191b4141245a5deb4955c4a80359bb')
     version('8.1.0001', 'edb6f5c67cb3100ea9e3966a43b9c9da')
     version('8.0.1376', '62855881a2d96d48956859d74cfb8a3b')
     version('8.0.0503', '82b77bd5cb38b70514bed47cfe033b8c')
@@ -142,6 +143,10 @@ def configure_args(self):
 
         return configure_args
 
+    # Tests must be run in serial
+    def check(self):
+        make('test', parallel=False)
+
     # Run the install phase with -j 1.  There seems to be a problem with
     # parallel builds that results in the creation of the links (e.g. view)
     # to the vim binary silently failing.
-- 
GitLab