mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-admin/hcloud: remove old
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST hcloud-1.51.0.tar.xz 2654224 BLAKE2B 02c6ff3ceb2dc6bb88625ff2f69552c6c0cc48e124829432b111219a80bd76780d67bcde3935e58157fa3970318c980159fb6abdcffeb941dfafb6da2423dd8c SHA512 ecb9d0fcb1945f030f5499ca48d2a4fc06e7917de1298a14812425789b1258bbe1d126fa08fc82e2af378b79923dd9571b8468aa142618dfad57e9320dacb422
|
||||
DIST hcloud-1.58.0.tar.xz 2393088 BLAKE2B 0bbcd9ec3e8c1c0bc4464e1927c157f4dfa4590c0c522acf88bc762cd4db2ed32a80e89e85ff1e5010046e01d7d1cc592616cf1cbf48d621b388b931776fb9af SHA512 8797b6743b91e7f42567366ab14f0178a9dd367be81b98f813ce4b2150e5db15bc5fc6d5d485ac6b78f97808a8b827e2903ae1856a9363f25f309e636ee1ebd6
|
||||
DIST hcloud-1.59.0.tar.xz 2394932 BLAKE2B d412c283fd80ad7e291c41a0017470a88f49338440a907703ac32979a01e9616f00736796275b252d202829da1c3cfb556a81709e15962f4a6f7c35dfe01260e SHA512 ea54d23818378ca76a4783fb50dc11ee5fe7c42d8eb284c2e44d5a1e566d419c4bb5c667625b308103eb5c987e69b1cdd79963939fef63c6c26b8c9a43c50aeb
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="A command-line interface for Hetzner Cloud"
|
||||
HOMEPAGE="https://github.com/hetznercloud/cli"
|
||||
SRC_URI="https://dev.gentoo.org/~ago/distfiles/${P}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND=">=dev-lang/go-1.25.5"
|
||||
|
||||
src_compile() {
|
||||
ego build -o ${PN} -ldflags "-w -X github.com/hetznercloud/cli/internal/version.versionPrerelease=gentoo" ./cmd/${PN}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
./hcloud version
|
||||
if [[ $? -ne 0 ]]
|
||||
then
|
||||
die "hcloud version test failed"
|
||||
fi
|
||||
|
||||
# Avoid error like:
|
||||
# -buildmode=pie not supported when -race is enabled on linux/amd64
|
||||
GOFLAGS=${GOFLAGS//-buildmode=pie}
|
||||
ego test -coverpkg=./internal/... -coverprofile=coverage.txt -v -race ./...
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
}
|
||||
Reference in New Issue
Block a user