version bump 2 commits deoplete-jedi-git, add typeshift submodule, tested on raspberrypi

This commit is contained in:
Trent Palmer 2019-06-22 23:56:24 -07:00
parent b346d054ac
commit 0296cea0c8
2 changed files with 28 additions and 8 deletions

View File

@ -1,6 +1,6 @@
pkgbase = deoplete-jedi-git pkgbase = deoplete-jedi-git
pkgdesc = jedi add-on for deoplete completion plugin for neovim pkgdesc = jedi add-on for deoplete completion plugin for neovim
pkgver = r341.55471c2 pkgver = r343.afd01dc
pkgrel = 1 pkgrel = 1
url = https://github.com/deoplete-plugins/deoplete-jedi url = https://github.com/deoplete-plugins/deoplete-jedi
arch = any arch = any
@ -11,10 +11,12 @@ pkgbase = deoplete-jedi-git
conflicts = deoplete-jedi conflicts = deoplete-jedi
source = git+https://github.com/deoplete-plugins/deoplete-jedi source = git+https://github.com/deoplete-plugins/deoplete-jedi
source = git+https://github.com/davidhalter/jedi.git source = git+https://github.com/davidhalter/jedi.git
source = git+https://github.com/davidhalter/typeshed.git
source = git+https://github.com/davidhalter/parso.git source = git+https://github.com/davidhalter/parso.git
md5sums = SKIP md5sums = SKIP
md5sums = SKIP md5sums = SKIP
md5sums = SKIP md5sums = SKIP
md5sums = SKIP
pkgname = deoplete-jedi-git pkgname = deoplete-jedi-git

View File

@ -10,7 +10,7 @@ _neovim="n"
_name='deoplete-jedi' _name='deoplete-jedi'
pkgname="${_name}-git" pkgname="${_name}-git"
pkgver=r341.55471c2 pkgver=r343.afd01dc
pkgrel=1 pkgrel=1
pkgdesc="jedi add-on for deoplete completion plugin for neovim" pkgdesc="jedi add-on for deoplete completion plugin for neovim"
arch=('any') arch=('any')
@ -27,10 +27,11 @@ options=()
source=( source=(
'git+https://github.com/deoplete-plugins/deoplete-jedi' # deopletejedi 'git+https://github.com/deoplete-plugins/deoplete-jedi' # deopletejedi
'git+https://github.com/davidhalter/jedi.git' # jedi 'git+https://github.com/davidhalter/jedi.git' # jedi
'git+https://github.com/davidhalter/typeshed.git' # jedi
'git+https://github.com/davidhalter/parso.git' # parso 'git+https://github.com/davidhalter/parso.git' # parso
) )
noextract=() noextract=()
md5sums=('SKIP' 'SKIP' 'SKIP') md5sums=('SKIP' 'SKIP' 'SKIP' 'SKIP')
pkgver() { pkgver() {
cd "${srcdir}/${_name}" cd "${srcdir}/${_name}"
@ -42,6 +43,9 @@ prepare() {
deopletejedi=("jedi" "parso") deopletejedi=("jedi" "parso")
gitprepare "deoplete-jedi" "rplugin/python3/deoplete/vendored/" "${deopletejedi[@]}" gitprepare "deoplete-jedi" "rplugin/python3/deoplete/vendored/" "${deopletejedi[@]}"
deopletejeditypeshed=("typeshed")
gitprepare "deoplete-jedi/rplugin/python3/deoplete/vendored/jedi" "jedi/third_party/" "${deopletejeditypeshed[@]}"
} }
gitprepare() { gitprepare() {
@ -68,15 +72,29 @@ gitprepare() {
package() { package() {
if [ "$_neovim" = "y" ]; then if [ "$_neovim" = "y" ]; then
mkdir -p "$pkgdir/usr/share/nvim/runtime/rplugin/python3/deoplete" mkdir -p "$pkgdir/usr/share/nvim/runtime/rplugin/python3/deoplete/vendored/jedi"
cp -r "${srcdir}/${_name}/rplugin/python3/deoplete/"{sources,vendored} \ mkdir -p "$pkgdir/usr/share/nvim/runtime/rplugin/python3/deoplete/vendored/parso"
cp -r "${srcdir}/${_name}/rplugin/python3/deoplete/vendored/parso/parso" \
"$pkgdir/usr/share/nvim/runtime/rplugin/python3/deoplete/vendored/parso/"
cp -r "${srcdir}/${_name}/rplugin/python3/deoplete/vendored/jedi/jedi" \
"$pkgdir/usr/share/nvim/runtime/rplugin/python3/deoplete/vendored/jedi/"
cp -r "${srcdir}/${_name}/rplugin/python3/deoplete/vendored/jedi/jedi/third_party/typeshed"{stdlib,third_party} \
"$pkgdir/usr/share/nvim/runtime/rplugin/python3/deoplete/vendored/jedi/jedi/third_party/typeshed/"
cp -r "${srcdir}/${_name}/rplugin/python3/deoplete/sources" \
"$pkgdir/usr/share/nvim/runtime/rplugin/python3/deoplete/" "$pkgdir/usr/share/nvim/runtime/rplugin/python3/deoplete/"
fi fi
if [ "$_vim" = "y" ]; then if [ "$_vim" = "y" ]; then
mkdir -p "$pkgdir/usr/share/vim/vimfiles/rplugin/python3/deoplete" mkdir -p "$pkgdir/usr/share/nvim/runtime/rplugin/python3/deoplete/vendored/jedi"
cp -r "${srcdir}/${_name}/rplugin/python3/deoplete/"{sources,vendored} \ mkdir -p "$pkgdir/usr/share/nvim/runtime/rplugin/python3/deoplete/vendored/parso"
"$pkgdir/usr/share/vim/vimfiles/rplugin/python3/deoplete/" cp -r "${srcdir}/${_name}/rplugin/python3/deoplete/vendored/parso/parso" \
"$pkgdir/usr/share/nvim/runtime/rplugin/python3/deoplete/vendored/parso/"
cp -r "${srcdir}/${_name}/rplugin/python3/deoplete/vendored/jedi/jedi" \
"$pkgdir/usr/share/nvim/runtime/rplugin/python3/deoplete/vendored/jedi/"
cp -r "${srcdir}/${_name}/rplugin/python3/deoplete/vendored/jedi/jedi/third_party/typeshed/"{stdlib,third_party} \
"$pkgdir/usr/share/nvim/runtime/rplugin/python3/deoplete/vendored/jedi/jedi/third_party/typeshed/"
cp -r "${srcdir}/${_name}/rplugin/python3/deoplete/sources" \
"$pkgdir/usr/share/nvim/runtime/rplugin/python3/deoplete/"
fi fi
install -D -m644 "${srcdir}/${_name}/README.md" $pkgdir/usr/share/doc/$pkgname/README.md install -D -m644 "${srcdir}/${_name}/README.md" $pkgdir/usr/share/doc/$pkgname/README.md