mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-admin/hcloud: remove old
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST hcloud-1.61.0.tar.xz 2395300 BLAKE2B e287c87d8918ec78e96f2ec876be72154f2dfa1783fbe3f7c4450c5152edc055b7ddee6ac3f134e5f2f9e082b4b372bf40038f7a0779263dfc620b3ea13f7be0 SHA512 93a6208ee2b78193a91783e8439e0c4dc029e5ab2d8e27dca8cb2d16b53b0a3f0f437f3191ef8a888f0286cef5f3d7af29f5a6462878fb3ba9824346edca8da9
|
||||
DIST hcloud-1.65.0.tar.xz 2283444 BLAKE2B 9be3a7a1e4083fa410ae0c2fd39dd329dc2a4475ddd99a632e46b50e3e9990b9db4254bcfd15fdadedd033b3badcecba8563d4786e4a00618a51f503596d6c0a SHA512 5a43ed8b71fb199e82c2d0d651de12e8baaf24f722afaafef2592a409523a48e92ba38897a6d56cf49b0e7dbfdc1c66f92d1412d7e878a95daa9976a6e9fae11
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2026 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