Commit 037bcbdb authored by Oleg Titov's avatar Oleg Titov Committed by Leo

testing/bazel3: upgrade to 3.5.0

- Ref https://github.com/bazelbuild/bazel/releases/tag/3.5.0
- Add coreutils to makedepends. With full featured expr from coreutils
  there is no need in patch.
- Remove bash_completion.patch
parent 27e0f825
# Contributor: Oleg Titov <oleg.titov@gmail.com>
# Maintainer: Oleg Titov <oleg.titov@gmail.com>
pkgname=bazel3
pkgver=3.4.1
pkgver=3.5.0
pkgrel=0
pkgdesc="A fast, scalable, multi-language and extensible build system"
url="https://bazel.build/"
......@@ -12,15 +12,14 @@ arch="$arch !ppc64le" # build timeouts in CI
arch="$arch !mips !mips64" # no jvm
license="Apache-2.0"
depends="bash libarchive openjdk8 zip unzip"
makedepends="python3 linux-headers protobuf"
makedepends="python3 linux-headers protobuf coreutils"
options="!strip"
subpackages="
$pkgname-doc
$pkgname-bash-completion
$pkgname-zsh-completion
"
source="https://github.com/bazelbuild/bazel/releases/download/$pkgver/bazel-$pkgver-dist.zip
bash_completion.patch"
source="https://github.com/bazelbuild/bazel/releases/download/$pkgver/bazel-$pkgver-dist.zip"
build() {
# based on
......@@ -94,5 +93,4 @@ unpack() {
unzip "$srcdir"/bazel-$pkgver-dist.zip -d "$builddir" > /dev/null
}
sha512sums="6cb537d7dfc180a4d2d51f20fdc773c222ebb638391e7030e90844f5889c8e4719f087401712a19c78ff8421faf13e374813ff0e2df3313894aa072029d5b807 bazel-3.4.1-dist.zip
6eb1fcb553518348f5c2dacf239377dbaa2593b751ba98c0c257d0138c55b159891fa3744168a6cff8b305758c64f9153cdc01dd3394b5fff2168319188288df bash_completion.patch"
sha512sums="d9e1bac8422b48474709cae5b5a1cba2d71780e2666594d397d874bb86bb13e53b4b953800b4eb50c2a02385fa576bf7b4c2a71534bf13fbdb03d8b96a481f6a bazel-3.5.0-dist.zip"
Bash completion patch to fix error in expr
--- a/scripts/generate_bash_completion.sh.orig
+++ a/scripts/generate_bash_completion.sh
@@ -34,7 +34,7 @@
}
get_optarg() {
- expr -- "${1}" : "[^=]*=\\(.*\\)"
+ expr "${1}" : "[^=]*=\\(.*\\)"
}
append=
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment