summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2021-04-07 14:20:54 +0300
committerMikle Kolyada <zlogene@gentoo.org>2021-04-07 14:20:54 +0300
commit826dd61aa2cbc5a624adf5e75fb4a1759e2a3d10 (patch)
tree6424a46475aa39056f18ca4c33a2bbdcb23a6eec /app-metrics
parentacct-user/alertmanager: initial import (diff)
downloadgentoo-826dd61aa2cbc5a624adf5e75fb4a1759e2a3d10.tar.gz
gentoo-826dd61aa2cbc5a624adf5e75fb4a1759e2a3d10.tar.bz2
gentoo-826dd61aa2cbc5a624adf5e75fb4a1759e2a3d10.zip
app-metrics/alertmanager: migrate to glep81
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'app-metrics')
-rw-r--r--app-metrics/alertmanager/alertmanager-0.21.0-r1.ebuild (renamed from app-metrics/alertmanager/alertmanager-0.21.0.ebuild)15
1 files changed, 8 insertions, 7 deletions
diff --git a/app-metrics/alertmanager/alertmanager-0.21.0.ebuild b/app-metrics/alertmanager/alertmanager-0.21.0-r1.ebuild
index 7fff854258f8..5be06b8761fb 100644
--- a/app-metrics/alertmanager/alertmanager-0.21.0.ebuild
+++ b/app-metrics/alertmanager/alertmanager-0.21.0-r1.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit go-module user
+
+inherit go-module
+
GIT_COMMIT=4c6c03eb
MY_PV="${PV/_rc/-rc.}"
@@ -13,16 +15,15 @@ SRC_URI="https://github.com/prometheus/alertmanager/archive/v${MY_PV}.tar.gz ->
LICENSE="Apache-2.0 BSD BSD-2 MIT MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
-IUSE=""
BDEPEND="dev-util/promu"
RESTRICT+=" test"
-pkg_setup() {
- enewgroup ${PN}
- enewuser ${PN} -1 -1 -1 ${PN}
-}
+BDEPEND="
+ acct-group/alertmanager
+ acct-user/alertmanager
+"
src_prepare() {
default