mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-analyzer/opsgenie-lamp: drop 2.5.1_p20181102
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST opsgenie-lamp-2.5.1_p20181102-vendor.tar.gz 204755 BLAKE2B 65c92b5bbbdec8b4bdccad884435273a6aec51c472437de92613dcda76c3a6cff1b84dfe5028713a353b861ff868cb8377e97c9322423b7a887a121a92c9515f SHA512 08f86e1520f2ca6d5208994c5836d511bea13d9e8ccf707a121956e23ff1c6f411d730ab6445ac30158e90d76efcdbbf65a19cef39641493c76b836980b6792a
|
||||
DIST opsgenie-lamp-2.5.1_p20181102.tar.gz 19259 BLAKE2B 1a4f54b817b0210654f42e4ea1eb9dc29e0416ab37a90ca00ba86788cdcde6a8a7330bd095c238268b7e00525da33a67c4fa0aa68602442887dc81091f802fd2 SHA512 9a2c5d23b530a5c2df99f1b63afcb47d8fb3cdf9a45142f82d52df5c9dd570bad444735d851af3fe03306179076e78ece3be9b1a6b63da04740d0a02752db67a
|
||||
DIST opsgenie-lamp-3.1.4.tar.gz 994564 BLAKE2B bbc8801b9943eb57bd784ddd7a8f2631e0879c88b6760b9759dc37d95149dbc2c7013544c481f69cd4272bb19eca2df537a5d4a60acd56d5b70a88ad4449fbc8 SHA512 e5770d0188d9e8ef9d9c24f2cc3d160bca75732fff8c6bd1a694f18c604a1c85303b803817c15f461358521eafee029e86475c2f11177c719e173eaf18f4d5c1
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit vcs-snapshot
|
||||
|
||||
DESCRIPTION="command line client for the opsgenie service"
|
||||
HOMEPAGE="https://docs.opsgenie.com/docs/lamp-command-line-interface-for-opsgenie"
|
||||
HASH=062016b
|
||||
SRC_URI="https://github.com/opsgenie/${PN}/archive/${HASH}.tar.gz -> ${P}.tar.gz
|
||||
https://dev.gentoo.org/~williamh/dist/${P}-vendor.tar.gz"
|
||||
|
||||
# I followed the following steps to create the vendor tarball:
|
||||
#
|
||||
# git clone https://github.com/opsgenie/opsgenie-lamp
|
||||
# cd opsgenie-lamp
|
||||
# go mod init # creates go.mod and go.sum
|
||||
# go mod vendor # updates go.mod/sum and adds vendor directory
|
||||
# mv -i go.mod go.sum vendor
|
||||
# tar cf ${P}.tar vendor
|
||||
# gzip ${P}.tar
|
||||
#
|
||||
# Upstream doesn't tag releases, but the most recent version number is
|
||||
# in the sources, see the lampVersion variable.
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="dev-lang/go:="
|
||||
|
||||
RESTRICT="strip"
|
||||
|
||||
src_prepare() {
|
||||
mv ../${P}-vendor vendor || die "mv failed"
|
||||
mv vendor/go.mod vendor/go.sum . || die "mv failed"
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
GOCACHE="${T}"/go-cache go build -mod vendor || die "build failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin ${PN} lamp
|
||||
dodoc conf/lamp.conf
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user