Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / grafana-zabbix
Commits: ad232377 by Robin Candau at 2023-10-13T15:44:29+02:00 upgpkg: 4.4.3-1: New upstream release + Temporary patch for lint test + Switch to nodejs-lts-hydrogen > Temporary fix for the lint test to pass, can be removed at next upstream release: https://github.com/grafana/grafana-zabbix/commit/43f2c6653bda5a0dcd9b824a11839d2531202906, https://github.com/grafana/grafana-zabbix/pull/1710, https://github.com/grafana/grafana-zabbix/issues/1709 > Switch to a newer nodejs: https://bugs.archlinux.org/task/79684, https://archlinux.org/todo/update-to-a-newer-nodejs-version-for-packages-depending-on-nodejs-lts-gallium/ - - - - - 2 changed files: - + .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -0,0 +1,20 @@ +pkgbase = grafana-zabbix + pkgdesc = Zabbix plugin for Grafana dashboard + pkgver = 4.4.3 + pkgrel = 1 + url = https://github.com/alexanderzobnin/grafana-zabbix + arch = any + license = APACHE + makedepends = yarn + makedepends = libfaketime + makedepends = go + makedepends = git + makedepends = nodejs-lts-hydrogen + makedepends = mage + depends = grafana + source = grafana-zabbix-4.4.3-retagged-1.tar.gz::https://github.com/alexanderzobnin/grafana-zabbix/archive/v4.4.3.tar.gz + source = fix_prettier_issues_in_test_files.patch::https://github.com/grafana/grafana-zabbix/commit/43f2c6653bda5a0dcd9b824a11839d2531202906.patch + sha256sums = 023c5c143195df6f255132428e90bd8cd107b046f119d88d22538bc683f33eff + sha256sums = 3c9d44cab26971417333ef5d1f7f331bed9e10b0048eb61c9b16ebcb7cc67a93 + +pkgname = grafana-zabbix ===================================== PKGBUILD ===================================== @@ -1,21 +1,30 @@ # Maintainer: Florian Pritz <[email protected]> +# Maintainer: Robin Candau <[email protected]> + pkgname=grafana-zabbix -pkgver=4.4.1 +pkgver=4.4.3 pkgrel=1 pkgdesc="Zabbix plugin for Grafana dashboard" arch=('any') url="https://github.com/alexanderzobnin/grafana-zabbix" license=('APACHE') depends=('grafana') -makedepends=(yarn libfaketime go git nodejs-lts-gallium mage) -source=("$pkgname-$pkgver-retagged-1.tar.gz::https://github.com/alexanderzobnin/grafana-zabbix/archive/v$pkgver.tar.gz") -sha256sums=('1d6a17c3b17b2435c70550a873c1bf337f29fb0d1846e0143987441023456651') +makedepends=(yarn libfaketime go git nodejs-lts-hydrogen mage) +source=("$pkgname-$pkgver-retagged-1.tar.gz::https://github.com/alexanderzobnin/grafana-zabbix/archive/v$pkgver.tar.gz" + "fix_prettier_issues_in_test_files.patch::https://github.com/grafana/grafana-zabbix/commit/43f2c6653bda5a0dcd9b824a11839d2531202906.patch") +sha256sums=('023c5c143195df6f255132428e90bd8cd107b046f119d88d22538bc683f33eff' + '3c9d44cab26971417333ef5d1f7f331bed9e10b0048eb61c9b16ebcb7cc67a93') prepare() { cd "$pkgname-$pkgver" # Fix tests not working without git clone sed -i 's#jest --watch --onlyChanged#jest#' package.json + + # Temporary patch to fix tests + # https://github.com/grafana/grafana-zabbix/issues/1709 + # https://github.com/grafana/grafana-zabbix/pull/1710 + patch -Np1 < "${srcdir}/fix_prettier_issues_in_test_files.patch" } build() { View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/grafana-zabbix/-/commit/ad232377ebdd04e3cfcb20ba2b419ca720ac3527 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/grafana-zabbix/-/commit/ad232377ebdd04e3cfcb20ba2b419ca720ac3527 You're receiving this email because of your account on gitlab.archlinux.org.
