version bump 4 commits vim-youcompleteme-git

This commit is contained in:
Trent Palmer 2020-07-19 15:46:48 -07:00
parent 71682edea7
commit 3a7af7c795
2 changed files with 13 additions and 9 deletions

View File

@ -1,6 +1,6 @@
pkgbase = vim-youcompleteme-git pkgbase = vim-youcompleteme-git
pkgdesc = A code-completion engine for Vim pkgdesc = A code-completion engine for Vim
pkgver = r2707.9309f777 pkgver = r2709.321700e8
pkgrel = 1 pkgrel = 1
url = https://github.com/Valloric/YouCompleteMe url = https://github.com/Valloric/YouCompleteMe
install = install install = install
@ -11,16 +11,16 @@ pkgbase = vim-youcompleteme-git
makedepends = git makedepends = git
makedepends = make makedepends = make
makedepends = curl makedepends = curl
makedepends = gopls makedepends = go
makedepends = npm makedepends = npm
depends = boost depends = boost
depends = boost-libs depends = boost-libs
depends = nodejs depends = nodejs
depends = vim depends = vim
depends = clang depends = clang
depends = omnisharp-roslyn
depends = rustup depends = rustup
depends = python depends = python
noextract = omnisharp-mono.tar.gz
source = git+https://github.com/Valloric/YouCompleteMe.git source = git+https://github.com/Valloric/YouCompleteMe.git
source = git+https://github.com/ycm-core/ycmd.git source = git+https://github.com/ycm-core/ycmd.git
source = git+https://github.com/davidhalter/jedi.git source = git+https://github.com/davidhalter/jedi.git
@ -39,6 +39,7 @@ pkgbase = vim-youcompleteme-git
source = git+https://github.com/gorakhargosh/watchdog source = git+https://github.com/gorakhargosh/watchdog
source = git+https://github.com/gorakhargosh/pathtools source = git+https://github.com/gorakhargosh/pathtools
source = git+https://github.com/mitsuhiko/flask-sphinx-themes.git source = git+https://github.com/mitsuhiko/flask-sphinx-themes.git
source = https://github.com/OmniSharp/omnisharp-roslyn/releases/download/v1.35.3/omnisharp-mono.tar.gz
sha256sums = SKIP sha256sums = SKIP
sha256sums = SKIP sha256sums = SKIP
sha256sums = SKIP sha256sums = SKIP
@ -57,6 +58,7 @@ pkgbase = vim-youcompleteme-git
sha256sums = SKIP sha256sums = SKIP
sha256sums = SKIP sha256sums = SKIP
sha256sums = SKIP sha256sums = SKIP
sha256sums = 7e8a7b03abd697e1f961101c546eb9441c47a0406776661a659d1dddeb85c429
pkgname = vim-youcompleteme-git pkgname = vim-youcompleteme-git

View File

@ -20,8 +20,8 @@
# Build Options # # Build Options #
#=========================================================================================================# #=========================================================================================================#
# _omnisharp="y" # OmniSharpServer deleted # _omnisharp="y" # OmniSharpServer deleted
_gocode="n" _gocode="y"
_use_system_gocode="y" _use_system_gocode="n"
_rust="y" _rust="y"
_tern="y" _tern="y"
_typescript="y" _typescript="y"
@ -32,7 +32,7 @@ _use_system_clang="ON"
_use_python2="OFF" _use_python2="OFF"
_use_system_python="n" # seems broken _use_system_python="n" # seems broken
_use_OmniSharp_Roslyn="y" _use_OmniSharp_Roslyn="y"
_use_system_OmniSharp_Roslyn="y" _use_system_OmniSharp_Roslyn="n"
_use_system_jedi="n" _use_system_jedi="n"
_use_system_python_watchdog="n" _use_system_python_watchdog="n"
@ -46,7 +46,7 @@ _neovim="$NEOVIM_YOUCOMPLETEME"
# Default PKGBUILD Configuration # # Default PKGBUILD Configuration #
#=========================================================================================================# #=========================================================================================================#
pkgname=vim-youcompleteme-git pkgname=vim-youcompleteme-git
pkgver=r2707.9309f777 pkgver=r2709.321700e8
pkgver() { pkgver() {
cd "YouCompleteMe" || exit cd "YouCompleteMe" || exit
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
@ -89,11 +89,12 @@ sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP
# Applying PKBUILD Build Options # # Applying PKBUILD Build Options #
#=========================================================================================================# #=========================================================================================================#
# find omnisharp-roslyn version by greppin third_party/ycmd/build.py
if [[ "$_use_OmniSharp_Roslyn" == "y" ]];then if [[ "$_use_OmniSharp_Roslyn" == "y" ]];then
if [[ "$_use_system_OmniSharp_Roslyn" == "n" ]];then if [[ "$_use_system_OmniSharp_Roslyn" == "n" ]];then
source+=('https://github.com/OmniSharp/omnisharp-roslyn/releases/download/v1.33.0/omnisharp-mono.tar.gz') source+=('https://github.com/OmniSharp/omnisharp-roslyn/releases/download/v1.35.3/omnisharp-mono.tar.gz')
noextract=('omnisharp-mono.tar.gz') noextract=('omnisharp-mono.tar.gz')
sha256sums+=('c3bd370b0e31838418756f3879269b224b1920d6f3527c8f711d661dfc008c8c') sha256sums+=('7e8a7b03abd697e1f961101c546eb9441c47a0406776661a659d1dddeb85c429')
elif [[ "$_use_system_OmniSharp_Roslyn" == "y" ]];then elif [[ "$_use_system_OmniSharp_Roslyn" == "y" ]];then
depends+=('omnisharp-roslyn') depends+=('omnisharp-roslyn')
fi fi
@ -276,6 +277,7 @@ build() {
export GOPATH="$srcdir/YouCompleteMe/third_party/ycmd/third_party/go" export GOPATH="$srcdir/YouCompleteMe/third_party/ycmd/third_party/go"
msg2 'Building gopls for go completion...' # BuildGoCode() msg2 'Building gopls for go completion...' # BuildGoCode()
cd "$srcdir/YouCompleteMe/third_party/ycmd/third_party/go" || exit cd "$srcdir/YouCompleteMe/third_party/ycmd/third_party/go" || exit
# find gopls version by grepping third_party/ycmd/build.py
go get golang.org/x/tools/gopls@v0.4.2 go get golang.org/x/tools/gopls@v0.4.2
else else
msg2 'Skipping Gocode completer...' msg2 'Skipping Gocode completer...'