[arch-commits] Commit in vim-jedi/repos/community-any (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sat Sep 21 19:17:26 UTC 2019


    Date: Saturday, September 21, 2019 @ 19:17:26
  Author: anthraxx
Revision: 511430

archrelease: copy trunk to community-any

Added:
  vim-jedi/repos/community-any/PKGBUILD
    (from rev 511429, vim-jedi/trunk/PKGBUILD)
Deleted:
  vim-jedi/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   83 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 44 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-21 19:17:17 UTC (rev 511429)
+++ PKGBUILD	2019-09-21 19:17:26 UTC (rev 511430)
@@ -1,39 +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.9.0
-pkgrel=2
-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=('e53ef98472dd4789d5382f5082c0c25bf713264422389fca2f2a9bcddc1435d5')
-
-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 511429, vim-jedi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-21 19:17:26 UTC (rev 511430)
@@ -0,0 +1,44 @@
+# 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=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=('4a5d9e572d08ee4b7637adba5cda355273c35c04e83790e918ea66483a000ffc')
+
+prepare() {
+  cd ${_reponame}-${pkgver}
+  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}"
+}


More information about the arch-commits mailing list