Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / vim-jedi
Commits: 11a86dfe by Jelle van der Waa at 2025-12-29T14:57:48+01:00 Drop python2-jedi optdepends and fix tests Fetch the patch from https://github.com/davidhalter/jedi-vim/issues/1134 - - - - - 4 changed files: - .SRCINFO - PKGBUILD - REUSE.toml - + test-signature.patch Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = vim-jedi pkgdesc = Vim plugin for jedi, an awesome Python autocompletion pkgver = 0.11.2 - pkgrel = 3 + pkgrel = 4 url = https://github.com/davidhalter/jedi-vim arch = any groups = vim-plugins @@ -11,13 +11,15 @@ pkgbase = vim-jedi depends = python-jedi depends = python optdepends = vim-supertab: tab completion - optdepends = python2-jedi: Python 2 support options = !emptydirs source = https://github.com/davidhalter/jedi-vim/archive/v0.11.2/vim-jedi-0.11.2.tar.gz source = python-3.13-accept-test-results.patch + source = test-signature.patch sha256sums = e169429a6a4bce5a32b94a3d7cc784c746f9d4fd78354122895ba50ded867afa sha256sums = 08fe5fd50fac1f5d74ec95defb2411d079e518c396b94d4721105f6d5900099f + sha256sums = 03e03f8a6b2b1ad6fd41034e9aeb0a274f1835ebefcb6a3fcc59a2bde58f2f9e b2sums = 375cdf4742eb6328f5dc601b7a0b529a3d18b70711f93ab860e2827275f36454281c9d4ec85de0cfe280115fadde3a45f1bf74bfb4a4f1036b603eaa6051bf56 b2sums = 5c160c31c46cf887a4b20e72b4386ad8c762dd229a469c184257dbc288c56f02fc256fce72cd993dfd7c843d347d55aef55683997449ad9955330adf21270d15 + b2sums = d6f2a067ea28a9dd6ae7af010f90a79965f1051a00f1139212ae33d7f38b7b9e7d8c913c4ee5027179fb85fe041e39d7b3c0ea0602382c37e61863b532643a88 pkgname = vim-jedi ===================================== PKGBUILD ===================================== @@ -5,27 +5,30 @@ pkgname=vim-jedi _reponame=jedi-vim pkgver=0.11.2 -pkgrel=3 +pkgrel=4 pkgdesc='Vim plugin for jedi, an awesome Python autocompletion' url='https://github.com/davidhalter/jedi-vim' arch=('any') license=('MIT') depends=('vim-plugin-runtime' 'python-jedi' 'python') -optdepends=('vim-supertab: tab completion' - 'python2-jedi: Python 2 support') +optdepends=('vim-supertab: tab completion') checkdepends=('python-pytest') groups=('vim-plugins') options=('!emptydirs') source=(https://github.com/davidhalter/${_reponame}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz - python-3.13-accept-test-results.patch) + python-3.13-accept-test-results.patch + test-signature.patch) sha256sums=('e169429a6a4bce5a32b94a3d7cc784c746f9d4fd78354122895ba50ded867afa' - '08fe5fd50fac1f5d74ec95defb2411d079e518c396b94d4721105f6d5900099f') + '08fe5fd50fac1f5d74ec95defb2411d079e518c396b94d4721105f6d5900099f' + '03e03f8a6b2b1ad6fd41034e9aeb0a274f1835ebefcb6a3fcc59a2bde58f2f9e') b2sums=('375cdf4742eb6328f5dc601b7a0b529a3d18b70711f93ab860e2827275f36454281c9d4ec85de0cfe280115fadde3a45f1bf74bfb4a4f1036b603eaa6051bf56' - '5c160c31c46cf887a4b20e72b4386ad8c762dd229a469c184257dbc288c56f02fc256fce72cd993dfd7c843d347d55aef55683997449ad9955330adf21270d15') + '5c160c31c46cf887a4b20e72b4386ad8c762dd229a469c184257dbc288c56f02fc256fce72cd993dfd7c843d347d55aef55683997449ad9955330adf21270d15' + 'd6f2a067ea28a9dd6ae7af010f90a79965f1051a00f1139212ae33d7f38b7b9e7d8c913c4ee5027179fb85fe041e39d7b3c0ea0602382c37e61863b532643a88') prepare() { cd ${_reponame}-${pkgver} patch -Np1 -i ../python-3.13-accept-test-results.patch + patch -Np1 -i ../test-signature.patch } check() { ===================================== REUSE.toml ===================================== @@ -24,6 +24,7 @@ SPDX-License-Identifier = "0BSD" [[annotations]] path = [ "python-3.13-accept-test-results.patch", + "test-signature.patch", ] SPDX-FileCopyrightText = "vim-jedi contributors" SPDX-License-Identifier = "MIT" ===================================== test-signature.patch ===================================== @@ -0,0 +1,20 @@ +--- a/test/vspec/signatures.vim ++++ b/test/vspec/signatures.vim +@@ -111,7 +111,7 @@ describe 'signatures' + let funcname = repeat('a', &columns - (30 + (&ruler ? 18 : 0))) + put = 'def '.funcname.'(arg1, arg2, arg3, a, b, c):' + put = ' pass' +- execute "normal o\<BS>".funcname."( " ++ execute "normal o".funcname."( " + Expect Signature() == "\n".funcname."(arg1, …)" + + exe 'normal sarg1, ' +@@ -126,7 +126,7 @@ describe 'signatures' + g/^/d + put = 'def '.funcname.'('.repeat('b', 20).', arg2):' + put = ' pass' +- execute "normal o\<BS>".funcname."( " ++ execute "normal o".funcname."( " + Expect Signature() == "\n".funcname."(…)" + end + View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/vim-jedi/-/commit/11a86dfe9a37d4c7c28dd4c54e6f3d7c0f872f1c -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/vim-jedi/-/commit/11a86dfe9a37d4c7c28dd4c54e6f3d7c0f872f1c You're receiving this email because of your account on gitlab.archlinux.org.
