Date: Sunday, February 10, 2019 @ 17:56:15 Author: anthraxx Revision: 431629
archrelease: copy trunk to community-any Added: vim-jedi/repos/community-any/PKGBUILD (from rev 431628, vim-jedi/trunk/PKGBUILD) Deleted: vim-jedi/repos/community-any/PKGBUILD vim-jedi/repos/community-any/vim-jedi.install ------------------+ PKGBUILD | 79 ++++++++++++++++++++++++++--------------------------- vim-jedi.install | 19 ------------ 2 files changed, 39 insertions(+), 59 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-02-10 17:56:08 UTC (rev 431628) +++ PKGBUILD 2019-02-10 17:56:15 UTC (rev 431629) @@ -1,40 +0,0 @@ -# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Danilo Bargen <gez...@gmail.com> - -pkgname=vim-jedi -_reponame=jedi-vim -pkgver=0.9.0 -pkgrel=1 -pkgdesc='Vim plugin for jedi, an awesome Python autocompletion' -arch=('any') -url="https://github.com/davidhalter/jedi-vim" -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=(${pkgname}-${pkgver}.tar.gz::https://github.com/davidhalter/${_reponame}/archive/${pkgver}.tar.gz) -sha256sums=('e53ef98472dd4789d5382f5082c0c25bf713264422389fca2f2a9bcddc1435d5') -install=${pkgname}.install - -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 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: vim-jedi/repos/community-any/PKGBUILD (from rev 431628, vim-jedi/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-02-10 17:56:15 UTC (rev 431629) @@ -0,0 +1,39 @@ +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Danilo Bargen <gez...@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}" +} Deleted: vim-jedi.install =================================================================== --- vim-jedi.install 2019-02-10 17:56:08 UTC (rev 431628) +++ vim-jedi.install 2019-02-10 17:56:15 UTC (rev 431629) @@ -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 -}