[arch-commits] Commit in vim-jedi/trunk (PKGBUILD vim-jedi.install)

2019-02-10 Thread Levente Polyak via arch-commits
Date: Sunday, February 10, 2019 @ 17:56:08
  Author: anthraxx
Revision: 431628

upgpkg: vim-jedi 0.9.0-2 python 3.7 rebuild

Modified:
  vim-jedi/trunk/PKGBUILD
Deleted:
  vim-jedi/trunk/vim-jedi.install

--+
 PKGBUILD |9 -
 vim-jedi.install |   19 ---
 2 files changed, 4 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-02-10 17:48:14 UTC (rev 431627)
+++ PKGBUILD2019-02-10 17:56:08 UTC (rev 431628)
@@ -5,10 +5,10 @@
 pkgname=vim-jedi
 _reponame=jedi-vim
 pkgver=0.9.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Vim plugin for jedi, an awesome Python autocompletion'
+url="https://github.com/davidhalter/jedi-vim;
 arch=('any')
-url="https://github.com/davidhalter/jedi-vim;
 license=('MIT')
 depends=('vim' 'python-jedi' 'python')
 optdepends=('vim-supertab: tab completion'
@@ -16,9 +16,8 @@
 checkdepends=('python-pytest')
 groups=('vim-plugins')
 options=('!emptydirs')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/davidhalter/${_reponame}/archive/${pkgver}.tar.gz)
+source=(https://github.com/davidhalter/${_reponame}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
 sha256sums=('e53ef98472dd4789d5382f5082c0c25bf713264422389fca2f2a9bcddc1435d5')
-install=${pkgname}.install
 
 check() {
   cd ${_reponame}-${pkgver}
@@ -36,5 +35,5 @@
   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 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }

Deleted: vim-jedi.install
===
--- vim-jedi.install2019-02-10 17:48:14 UTC (rev 431627)
+++ vim-jedi.install2019-02-10 17:56:08 UTC (rev 431628)
@@ -1,19 +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
-}
-
-post_install() {
-warn_nopy3
-}
-
-post_upgrade() {
-warn_nopy3
-}


[arch-commits] Commit in vim-jedi/trunk (PKGBUILD vim-jedi.install)

2017-01-14 Thread Lukas Fleischer
Date: Saturday, January 14, 2017 @ 11:47:36
  Author: lfleischer
Revision: 207314

upgpkg: vim-jedi 0.8.0-3

vimdoc hook cleanup.

Modified:
  vim-jedi/trunk/PKGBUILD
  vim-jedi/trunk/vim-jedi.install

--+
 PKGBUILD |2 +-
 vim-jedi.install |   12 
 2 files changed, 1 insertion(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-01-14 11:40:51 UTC (rev 207313)
+++ PKGBUILD2017-01-14 11:47:36 UTC (rev 207314)
@@ -4,7 +4,7 @@
 pkgname=vim-jedi
 _reponame=jedi-vim
 pkgver=0.8.0
-pkgrel=2
+pkgrel=3
 pkgdesc='Vim plugin for jedi, an awesome Python autocompletion.'
 arch=('any')
 url="https://github.com/davidhalter/${_reponame};

Modified: vim-jedi.install
===
--- vim-jedi.install2017-01-14 11:40:51 UTC (rev 207313)
+++ vim-jedi.install2017-01-14 11:47:36 UTC (rev 207314)
@@ -10,22 +10,10 @@
 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
-}