From 4670b56ed90a49e87f20f20140e641a7045b15dd Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 8 Mar 2017 15:36:15 -0300 Subject: vim-8.0.0427-1.parabola1: updating version --- libre/vim/PKGBUILD | 11 +++-------- libre/vim/fix-tests-python36.patch | 38 -------------------------------------- 2 files changed, 3 insertions(+), 46 deletions(-) delete mode 100644 libre/vim/fix-tests-python36.patch diff --git a/libre/vim/PKGBUILD b/libre/vim/PKGBUILD index 30a2b721f..411992507 100644 --- a/libre/vim/PKGBUILD +++ b/libre/vim/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 288991 2017-02-14 19:36:55Z anatolik $ +# $Id: PKGBUILD 290068 2017-03-06 22:24:55Z anatolik $ # Maintainer (Arch): Anatol Pomozov # Contributor (Arch): Thomas Dziedzic # Contributor (Arch): Jan "heftig" Steffens @@ -11,7 +11,7 @@ pkgbase=vim pkgname=(vim gvim vim-runtime) -pkgver=8.0.0329 +pkgver=8.0.0427 _versiondir=80 pkgrel=1.parabola1 arch=(i686 x86_64 armv7h) @@ -21,14 +21,12 @@ makedepends=(gpm python2 python ruby libxt gtk2 lua gawk tcl) source=(vim-$pkgver.tar.gz::http://github.com/vim/vim/archive/v$pkgver.tar.gz 0001-Fix-widget-sizing-on-current-Gtk-3.22-branch.patch 0002-Further-fix-widget-sizing.patch - fix-tests-python36.patch vimrc parabola.vim vimdoc.hook) -sha1sums=('162d2876a612da32ce099e05d2f05a201043617a' +sha1sums=('ba62eaec8847892c8bb20fd9498ae0af05eda2ba' 'ca4a3bdf8b512336bff4af3ae93d95a8580e0eaf' '04b86163bb379a7d42058d932aed3075ed49d2a9' - '6e1f78544449293cd0b19d8265a26a83106994b5' '1030d4be309802375832b8b2313c69e8fe9724b9' 'a72ca0f8d941ff221598091338d9c1bf75a3494b' 'adc4c82b6c4097944e5a767270a772721455eb8c') @@ -41,9 +39,6 @@ prepare() { #patch -Np2 -i "$srcdir"/0001-Fix-widget-sizing-on-current-Gtk-3.22-branch.patch #patch -Np2 -i "$srcdir"/0002-Further-fix-widget-sizing.patch - # https://github.com/vim/vim/issues/1359 - patch -p2 < "$srcdir"/fix-tests-python36.patch - # define the place for the global (g)vimrc file (set to /etc/vimrc) sed -i 's|^.*\(#define SYS_.*VIMRC_FILE.*"\) .*$|\1|' feature.h sed -i 's|^.*\(#define VIMRC_FILE.*"\) .*$|\1|' feature.h diff --git a/libre/vim/fix-tests-python36.patch b/libre/vim/fix-tests-python36.patch deleted file mode 100644 index db3ea3fc6..000000000 --- a/libre/vim/fix-tests-python36.patch +++ /dev/null @@ -1,38 +0,0 @@ -commit 70c8d2d8c412ad5639db8a018c7385fd99d0373f -Author: Anatol Pomozov -Date: Sat Jan 7 09:26:22 2017 -0800 - - Fix error messages for Python 3.6 - - https://github.com/vim/vim/issues/1359 - https://bugs.archlinux.org/task/52401 - https://bbs.archlinux.org/viewtopic.php?id=221579 - -diff --git a/src/testdir/test87.ok b/src/testdir/test87.ok -index d90ef8625..b51788bde 100644 ---- a/src/testdir/test87.ok -+++ b/src/testdir/test87.ok -@@ -658,10 +658,10 @@ assert sys.stderr.closed()==False:NOT FAILED - assert sys.stdout.errors=="strict":NOT FAILED - assert sys.stderr.errors=="strict":NOT FAILED - assert sys.stdout.encoding==sys.stderr.encoding:NOT FAILED --sys.stdout.write(None):(, TypeError("Can't convert 'NoneType' object to str implicitly",)) -+sys.stdout.write(None):(, TypeError('argument must be str, bytes or bytearray, not None',)) - >> OutputWriteLines - sys.stdout.writelines(None):(, TypeError("'NoneType' object is not iterable",)) --sys.stdout.writelines([1]):(, TypeError("Can't convert 'int' object to str implicitly",)) -+sys.stdout.writelines([1]):(, TypeError('argument must be str, bytes or bytearray, not int',)) - >>> Testing *Iter* using sys.stdout.writelines(%s) - sys.stdout.writelines(FailingIter()):(, NotImplementedError('iter',)) - sys.stdout.writelines(FailingIterNext()):(, NotImplementedError('next',)) -@@ -700,8 +700,8 @@ vim.foreach_rtp(NoArgsCall()):(, TypeError('__call__() takes - vim.foreach_rtp(FailingCall()):(, NotImplementedError('call',)) - vim.foreach_rtp(int, 2):(, TypeError('foreach_rtp() takes exactly one argument (2 given)',)) - > import --import xxx_no_such_module_xxx:(, ImportError('No module named xxx_no_such_module_xxx',)) --import failing_import:(, ImportError('No module named failing_import',)) -+import xxx_no_such_module_xxx:(, ModuleNotFoundError("No module named 'xxx_no_such_module_xxx'",)) -+import failing_import:(, ModuleNotFoundError("No module named 'failing_import'",)) - import failing:(, NotImplementedError()) - > Options - >> OptionsItem -- cgit v1.2.3