[arch-commits] Commit in vim-jedi/trunk (PKGBUILD vim-jedi.install)
Levente Polyak
anthraxx at archlinux.org
Sun Feb 10 17:56:09 UTC 2019
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
===================================================================
--- PKGBUILD 2019-02-10 17:48:14 UTC (rev 431627)
+++ PKGBUILD 2019-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.install 2019-02-10 17:48:14 UTC (rev 431627)
+++ vim-jedi.install 2019-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
-}
More information about the arch-commits
mailing list