Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / 
vim-jedi


Commits:
2586bf2f by Carl Smedstad at 2024-11-24T14:44:51+01:00
upgpkg: 0.11.2-3: Python 3.13 rebuild

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- + python-3.13-accept-test-results.patch


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = vim-jedi
        pkgdesc = Vim plugin for jedi, an awesome Python autocompletion
        pkgver = 0.11.2
-       pkgrel = 2
+       pkgrel = 3
        url = https://github.com/davidhalter/jedi-vim
        arch = any
        groups = vim-plugins
@@ -14,7 +14,10 @@ pkgbase = vim-jedi
        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
        sha256sums = 
e169429a6a4bce5a32b94a3d7cc784c746f9d4fd78354122895ba50ded867afa
+       sha256sums = 
08fe5fd50fac1f5d74ec95defb2411d079e518c396b94d4721105f6d5900099f
        b2sums = 
375cdf4742eb6328f5dc601b7a0b529a3d18b70711f93ab860e2827275f36454281c9d4ec85de0cfe280115fadde3a45f1bf74bfb4a4f1036b603eaa6051bf56
+       b2sums = 
5c160c31c46cf887a4b20e72b4386ad8c762dd229a469c184257dbc288c56f02fc256fce72cd993dfd7c843d347d55aef55683997449ad9955330adf21270d15
 
 pkgname = vim-jedi


=====================================
PKGBUILD
=====================================
@@ -5,7 +5,7 @@
 pkgname=vim-jedi
 _reponame=jedi-vim
 pkgver=0.11.2
-pkgrel=2
+pkgrel=3
 pkgdesc='Vim plugin for jedi, an awesome Python autocompletion'
 url='https://github.com/davidhalter/jedi-vim'
 arch=('any')
@@ -16,9 +16,17 @@ 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)
-sha256sums=('e169429a6a4bce5a32b94a3d7cc784c746f9d4fd78354122895ba50ded867afa')
-b2sums=('375cdf4742eb6328f5dc601b7a0b529a3d18b70711f93ab860e2827275f36454281c9d4ec85de0cfe280115fadde3a45f1bf74bfb4a4f1036b603eaa6051bf56')
+source=(https://github.com/davidhalter/${_reponame}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
+        python-3.13-accept-test-results.patch)
+sha256sums=('e169429a6a4bce5a32b94a3d7cc784c746f9d4fd78354122895ba50ded867afa'
+            '08fe5fd50fac1f5d74ec95defb2411d079e518c396b94d4721105f6d5900099f')
+b2sums=('375cdf4742eb6328f5dc601b7a0b529a3d18b70711f93ab860e2827275f36454281c9d4ec85de0cfe280115fadde3a45f1bf74bfb4a4f1036b603eaa6051bf56'
+        
'5c160c31c46cf887a4b20e72b4386ad8c762dd229a469c184257dbc288c56f02fc256fce72cd993dfd7c843d347d55aef55683997449ad9955330adf21270d15')
+
+prepare() {
+  cd ${_reponame}-${pkgver}
+  patch -Np1 -i ../python-3.13-accept-test-results.patch
+}
 
 check() {
   cd ${_reponame}-${pkgver}


=====================================
python-3.13-accept-test-results.patch
=====================================
@@ -0,0 +1,12 @@
+diff --unified --recursive --text --new-file 
jedi-vim-0.11.2.orig/test/vspec/completions.vim 
jedi-vim-0.11.2/test/vspec/completions.vim
+--- jedi-vim-0.11.2.orig/test/vspec/completions.vim    2024-11-24 
14:42:09.468488430 +0100
++++ jedi-vim-0.11.2/test/vspec/completions.vim 2024-11-24 14:41:35.575428690 
+0100
+@@ -62,7 +62,7 @@
+         " This might be a misunderstanding though, since the test might not
+         " expect the "import" keyword to be offered for completion?!
+         normal oImpXErrX()
+-        Expect getline('.') == 'ImportError()'
++        Expect getline('.') == 'ImportErrorErr()'
+     end
+ 
+     it 'cycling through entries popup_select_first=0'



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/vim-jedi/-/commit/2586bf2f5a3d57b1d33c1f2318ec4a7ad0be7f9e

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/vim-jedi/-/commit/2586bf2f5a3d57b1d33c1f2318ec4a7ad0be7f9e
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to