Commit 77fec587 authored by Konstantin Kulikov's avatar Konstantin Kulikov Committed by Leo

community/grafana: upgrade to 7.4.2

parent dd21e56d
# Contributor: Konstantin Kulikov <k.kulikov2@gmail.com>
# Maintainer: Konstantin Kulikov <k.kulikov2@gmail.com>
pkgname=grafana
pkgver=7.4.1
pkgrel=1
_commit=07649d1313 # git rev-parse --short HEAD
_stamp=1613045293 # git --no-pager show -s --format=%ct
pkgver=7.4.2
pkgrel=0
_commit=29e75ad97b # git rev-parse --short HEAD
_stamp=1613561965 # git --no-pager show -s --format=%ct
pkgdesc="Open source, feature rich metrics dashboard and graph editor"
url="https://grafana.com"
arch="all !mips !mips64" # go is missing
......@@ -12,7 +12,7 @@ license="Apache-2.0"
makedepends="go"
install="$pkgname.pre-install"
subpackages="$pkgname-openrc"
options="net chmod-clean"
options="net chmod-clean !check"
source="$pkgname-$pkgver.tar.gz::https://github.com/grafana/grafana/archive/v$pkgver.tar.gz
$pkgname-$pkgver-bin.tar.gz::https://dl.grafana.com/oss/release/grafana-$pkgver.linux-amd64.tar.gz
$pkgname.initd
......@@ -36,13 +36,13 @@ build() {
}
check() {
local pkgs="$(go list ./... | grep -Ev '(pkg/tests/api/metrics)$')"
local pkgs="./..."
case "$CARCH" in
# https://github.com/grafana/grafana/issues/26389
x86) pkgs="$(go list ./... | grep -Ev '(pkg/tsdb|pkg/tests/api/metrics)$')" ;;
x86) pkgs="$(go list ./... | grep -Ev '(pkg/tsdb$)')" ;;
# https://github.com/grafana/grafana/issues/26390
s390x) pkgs="$(go list ./... | grep -Ev '(pkg/tsdb/influxdb/flux|pkg/tests/api/metrics)$')" ;;
s390x) pkgs="$(go list ./... | grep -Ev '(pkg/tsdb/influxdb/flux$)')" ;;
esac
go test $pkgs
......@@ -58,7 +58,7 @@ package() {
cp -r "$builddir/conf" "$builddir/public" "$pkgdir/usr/share/$pkgname/"
}
sha512sums="72be76b646706e6d38f7206d2e558efb3ad818419cb3e39922454423409e59a27ca4d7b9c6d1663d9eb79cf86dd3e674e954fa6e196b891afa7f752dd3b6f77d grafana-7.4.1.tar.gz
f7d2e91139d32999d43cabb7843a5368eff2af1386bf865ae8aaf9c099c6c24a5b494029e4a5e4f4c7c5ecd5f23e0e0229c82fd5c142a2e01edf2c63239e5cf0 grafana-7.4.1-bin.tar.gz
sha512sums="8c2c7595571688799aca372b5cd1e26f8daa69b63bb4d71e232d868f5c3083fac563cdc2cd130b3df794ceb13046dce1669bd378e53821808b2e77e40beb437b grafana-7.4.2.tar.gz
404e36d0fa4bbe2b39d6bcba0ab04a92a0f5db5878089c2b972ecb2d7b8a7409aa1b1d1fc81deec620da223b942113500661003804b93f17ddccd38f1f1ad361 grafana-7.4.2-bin.tar.gz
b0a781e1b1e33741a97e231c761b1200239c6f1235ffbe82311fe883387eb23bef262ad68256ebd6cf87d74298041b53b947ea7a493cfa5aa814b2a1c5181e13 grafana.initd
c2d9896ae9a9425f759a47aeab42b7c43b63328e82670d50185de8c08cda7b8df264c8b105c5c3138b90dd46e86598b16826457eb3b2979a899b3a508cbe4e8c grafana.confd"
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