[arch-commits] Commit in vim-jedi/trunk (PKGBUILD vim-jedi-update.patch)
Felix Yan
felixonmars at archlinux.org
Fri Nov 20 16:51:57 UTC 2020
Date: Friday, November 20, 2020 @ 16:51:57
Author: felixonmars
Revision: 757909
add fix for new jedi (from https://github.com/davidhalter/jedi-vim/pull/974)
Added:
vim-jedi/trunk/vim-jedi-update.patch
Modified:
vim-jedi/trunk/PKGBUILD
-----------------------+
PKGBUILD | 7 +++++--
vim-jedi-update.patch | 22 ++++++++++++++++++++++
2 files changed, 27 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-20 15:11:21 UTC (rev 757908)
+++ PKGBUILD 2020-11-20 16:51:57 UTC (rev 757909)
@@ -16,11 +16,14 @@
checkdepends=('python-pytest')
groups=('vim-plugins')
options=('!emptydirs')
-source=(https://github.com/davidhalter/${_reponame}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('4a5d9e572d08ee4b7637adba5cda355273c35c04e83790e918ea66483a000ffc')
+source=(https://github.com/davidhalter/${_reponame}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
+ vim-jedi-update.patch)
+sha256sums=('4a5d9e572d08ee4b7637adba5cda355273c35c04e83790e918ea66483a000ffc'
+ 'b003c64823ad63fbfc12d6684980f4c99ba977868cc179e5e3f724ff9721eea9')
prepare() {
cd ${_reponame}-${pkgver}
+ patch -p1 -i ../vim-jedi-update.patch
sed -E 's|zipimport|zipimport\\nzipp|' -i test/vspec/pyimport.vim
}
Added: vim-jedi-update.patch
===================================================================
--- vim-jedi-update.patch (rev 0)
+++ vim-jedi-update.patch 2020-11-20 16:51:57 UTC (rev 757909)
@@ -0,0 +1,22 @@
+diff --git a/test/vspec/signatures.vim b/test/vspec/signatures.vim
+index ca4248e..6090ee9 100644
+--- a/test/vspec/signatures.vim
++++ b/test/vspec/signatures.vim
+@@ -41,7 +41,7 @@ describe 'signatures'
+ doautocmd CursorHoldI
+ noautocmd normal istaticmethod()
+ doautocmd CursorHoldI
+- Expect getline(1) == '?!?jedi=0, ?!? (*_*f: Callable*_*) ?!?jedi?!?'
++ Expect getline(1) == '?!?jedi=0, ?!? (*_*f: Callable[..., Any]*_*) ?!?jedi?!?'
+ end
+
+ it 'no signature'
+@@ -68,7 +68,7 @@ describe 'signatures'
+ redir => msg
+ Python jedi_vim.show_call_signatures()
+ redir END
+- Expect msg == "\nstaticmethod(f: Callable)"
++ Expect msg == "\nstaticmethod(f: Callable[..., Any])"
+
+ redir => msg
+ doautocmd InsertLeave
More information about the arch-commits
mailing list