[arch-commits] Commit in vim-jedi/repos/community-any (3 files)
Levente Polyak
anthraxx at archlinux.org
Wed Mar 17 00:42:02 UTC 2021
Date: Wednesday, March 17, 2021 @ 00:42:02
Author: anthraxx
Revision: 892640
archrelease: copy trunk to community-any
Added:
vim-jedi/repos/community-any/PKGBUILD
(from rev 892639, vim-jedi/trunk/PKGBUILD)
Deleted:
vim-jedi/repos/community-any/PKGBUILD
vim-jedi/repos/community-any/vim-jedi-update.patch
-----------------------+
PKGBUILD | 87 ++++++++++++++++++++++--------------------------
vim-jedi-update.patch | 22 ------------
2 files changed, 40 insertions(+), 69 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-17 00:41:56 UTC (rev 892639)
+++ PKGBUILD 2021-03-17 00:42:02 UTC (rev 892640)
@@ -1,47 +0,0 @@
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Danilo Bargen <gezuru at gmail.com>
-
-pkgname=vim-jedi
-_reponame=jedi-vim
-pkgver=0.10.0
-pkgrel=4
-pkgdesc='Vim plugin for jedi, an awesome Python autocompletion'
-url='https://github.com/davidhalter/jedi-vim'
-arch=('any')
-license=('MIT')
-depends=('vim' 'python-jedi' 'python')
-optdepends=('vim-supertab: tab completion'
- 'python2-jedi: Python 2 support')
-checkdepends=('python-pytest')
-groups=('vim-plugins')
-options=('!emptydirs')
-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
-}
-
-check() {
- cd ${_reponame}-${pkgver}
- py.test
-}
-
-package() {
- cd ${_reponame}-${pkgver}
-
- install -d "${pkgdir}/usr/share/vim/vimfiles"
- cp -dpr --no-preserve=ownership pythonx "${pkgdir}/usr/share/vim/vimfiles"
- cp -dpr --no-preserve=ownership doc "${pkgdir}/usr/share/vim/vimfiles/doc"
- cp -dpr --no-preserve=ownership after "${pkgdir}/usr/share/vim/vimfiles/after"
- cp -dpr --no-preserve=ownership autoload "${pkgdir}/usr/share/vim/vimfiles/autoload"
- cp -dpr --no-preserve=ownership ftplugin "${pkgdir}/usr/share/vim/vimfiles/ftplugin"
- cp -dpr --no-preserve=ownership plugin "${pkgdir}/usr/share/vim/vimfiles/plugin"
-
- install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
Copied: vim-jedi/repos/community-any/PKGBUILD (from rev 892639, vim-jedi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-03-17 00:42:02 UTC (rev 892640)
@@ -0,0 +1,40 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Danilo Bargen <gezuru at gmail.com>
+
+pkgname=vim-jedi
+_reponame=jedi-vim
+pkgver=0.11.0
+pkgrel=1
+pkgdesc='Vim plugin for jedi, an awesome Python autocompletion'
+url='https://github.com/davidhalter/jedi-vim'
+arch=('any')
+license=('MIT')
+depends=('vim' 'python-jedi' 'python')
+optdepends=('vim-supertab: tab completion'
+ 'python2-jedi: Python 2 support')
+checkdepends=('python-pytest')
+groups=('vim-plugins')
+options=('!emptydirs')
+source=(https://github.com/davidhalter/${_reponame}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('27eec24470b2f96e2a2939e9bab039f8401f2c9ed6e07ee4d8acb59de3b7b879')
+b2sums=('146f60f43a3fc764c66e2ca94c2b4051be3e25b5a94ca3f6d82533b624433946013c7df38e61262e6ac40a00de9d3b9b0e647e794191b6deb8ed09124d2accc7')
+
+check() {
+ cd ${_reponame}-${pkgver}
+ py.test
+}
+
+package() {
+ cd ${_reponame}-${pkgver}
+
+ install -d "${pkgdir}/usr/share/vim/vimfiles"
+ cp -dpr --no-preserve=ownership pythonx "${pkgdir}/usr/share/vim/vimfiles"
+ cp -dpr --no-preserve=ownership doc "${pkgdir}/usr/share/vim/vimfiles/doc"
+ cp -dpr --no-preserve=ownership after "${pkgdir}/usr/share/vim/vimfiles/after"
+ cp -dpr --no-preserve=ownership autoload "${pkgdir}/usr/share/vim/vimfiles/autoload"
+ cp -dpr --no-preserve=ownership ftplugin "${pkgdir}/usr/share/vim/vimfiles/ftplugin"
+ cp -dpr --no-preserve=ownership plugin "${pkgdir}/usr/share/vim/vimfiles/plugin"
+
+ install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
Deleted: vim-jedi-update.patch
===================================================================
--- vim-jedi-update.patch 2021-03-17 00:41:56 UTC (rev 892639)
+++ vim-jedi-update.patch 2021-03-17 00:42:02 UTC (rev 892640)
@@ -1,22 +0,0 @@
-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