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

Lukas Fleischer lfleischer at archlinux.org
Sat Jan 14 11:47:44 UTC 2017


    Date: Saturday, January 14, 2017 @ 11:47:43
  Author: lfleischer
Revision: 207315

archrelease: copy trunk to community-any

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

------------------+
 PKGBUILD         |   68 ++++++++++++++++++++++++++---------------------------
 vim-jedi.install |   50 ++++++++++++++------------------------
 2 files changed, 53 insertions(+), 65 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-14 11:47:36 UTC (rev 207314)
+++ PKGBUILD	2017-01-14 11:47:43 UTC (rev 207315)
@@ -1,34 +0,0 @@
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-# Contributor: Danilo Bargen <gezuru at gmail.com>
-
-pkgname=vim-jedi
-_reponame=jedi-vim
-pkgver=0.8.0
-pkgrel=2
-pkgdesc='Vim plugin for jedi, an awesome Python autocompletion.'
-arch=('any')
-url="https://github.com/davidhalter/${_reponame}"
-license=('MIT')
-depends=('vim' 'python-jedi' 'python')
-optdepends=('vim-supertab: for tab completion'
-            'python2-jedi: for Python 2 support')
-groups=('vim-plugins')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/davidhalter/${_reponame}/archive/${pkgver}.tar.gz")
-sha256sums=('d1f000b8c93c915a1bcc379a4784e68e58192747a6fddc992af04245f68743b6')
-install=${pkgname}.install
-
-package() {
-  cd "$srcdir/$_reponame-$pkgver"
-
-  install -d "${pkgdir}/usr/share/vim/vimfiles/doc"
-
-  cp -dp --no-preserve=ownership jedi_vim.py initialize.py "${pkgdir}/usr/share/vim/vimfiles/"
-  cp -dp --no-preserve=ownership doc/jedi-vim.txt "${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 license file
-  install -Dm0644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: vim-jedi/repos/community-any/PKGBUILD (from rev 207314, vim-jedi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-01-14 11:47:43 UTC (rev 207315)
@@ -0,0 +1,34 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Danilo Bargen <gezuru at gmail.com>
+
+pkgname=vim-jedi
+_reponame=jedi-vim
+pkgver=0.8.0
+pkgrel=3
+pkgdesc='Vim plugin for jedi, an awesome Python autocompletion.'
+arch=('any')
+url="https://github.com/davidhalter/${_reponame}"
+license=('MIT')
+depends=('vim' 'python-jedi' 'python')
+optdepends=('vim-supertab: for tab completion'
+            'python2-jedi: for Python 2 support')
+groups=('vim-plugins')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/davidhalter/${_reponame}/archive/${pkgver}.tar.gz")
+sha256sums=('d1f000b8c93c915a1bcc379a4784e68e58192747a6fddc992af04245f68743b6')
+install=${pkgname}.install
+
+package() {
+  cd "$srcdir/$_reponame-$pkgver"
+
+  install -d "${pkgdir}/usr/share/vim/vimfiles/doc"
+
+  cp -dp --no-preserve=ownership jedi_vim.py initialize.py "${pkgdir}/usr/share/vim/vimfiles/"
+  cp -dp --no-preserve=ownership doc/jedi-vim.txt "${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 license file
+  install -Dm0644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Deleted: vim-jedi.install
===================================================================
--- vim-jedi.install	2017-01-14 11:47:36 UTC (rev 207314)
+++ vim-jedi.install	2017-01-14 11:47:43 UTC (rev 207315)
@@ -1,31 +0,0 @@
-warn_nopy3() {
-	py3grep=`vim --version | grep "\+python3"`
-    if [ ${#py3grep} -le 1 ]
-    then
-        echo "-----------------------------------------------------"
-        echo -e "\e[1mWarning:\e[m"
-        echo "Your vim install doesn't seem to support Python 3."
-        echo "If that's the case you should install the python2 and python2-jedi packages."
-        echo "-----------------------------------------------------"
-    fi
-}
-
-update_helptags() {
-    printf "Updating vim help tags..."
-    vim -e -s -c "helptags /usr/share/vim/vimfiles/doc/" -c "quit"
-    printf "done\n"
-}
-
-post_install() {
-    update_helptags
-    warn_nopy3
-}
-
-post_upgrade() {
-    update_helptags
-    warn_nopy3
-}
-
-post_remove() {
-    update_helptags
-}

Copied: vim-jedi/repos/community-any/vim-jedi.install (from rev 207314, vim-jedi/trunk/vim-jedi.install)
===================================================================
--- vim-jedi.install	                        (rev 0)
+++ vim-jedi.install	2017-01-14 11:47:43 UTC (rev 207315)
@@ -0,0 +1,19 @@
+warn_nopy3() {
+	py3grep=`vim --version | grep "\+python3"`
+    if [ ${#py3grep} -le 1 ]
+    then
+        echo "-----------------------------------------------------"
+        echo -e "\e[1mWarning:\e[m"
+        echo "Your vim install doesn't seem to support Python 3."
+        echo "If that's the case you should install the python2 and python2-jedi packages."
+        echo "-----------------------------------------------------"
+    fi
+}
+
+post_install() {
+    warn_nopy3
+}
+
+post_upgrade() {
+    warn_nopy3
+}



More information about the arch-commits mailing list