diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-13 12:17:26 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-13 12:17:26 +0100 |
commit | 41c2683a5cfac2bd3280dc5d5aaed73b6c377bcf (patch) | |
tree | 05752a3fb2f0dba34c0384a9178c0fd4c5b3cadb /app-admin/hcloud | |
parent | 3b0753af8a3a0f5ac9f7248d90393dcc0d3a84c1 (diff) |
gentoo auto-resync : 13:10:2023 - 12:17:25
Diffstat (limited to 'app-admin/hcloud')
-rw-r--r-- | app-admin/hcloud/Manifest | 2 | ||||
-rw-r--r-- | app-admin/hcloud/hcloud-1.38.2.ebuild | 34 |
2 files changed, 36 insertions, 0 deletions
diff --git a/app-admin/hcloud/Manifest b/app-admin/hcloud/Manifest index 9bc898c39d79..b2796e05c8a6 100644 --- a/app-admin/hcloud/Manifest +++ b/app-admin/hcloud/Manifest @@ -1,3 +1,5 @@ DIST hcloud-1.37.0.tar.xz 1868892 BLAKE2B 40268017c28877a5d26cb752e28511de591ca8dac9ab834b8ad5d15005306910a80501659ed1f827ca7184f1399a054519360c3a27d4081d08346bca53978537 SHA512 c785851a2085511bfb9b257a7267f51b4c8bcc9d14f6b595d772712aeb99c1d9db99a481b211bf110ee5c0fd260cc5a98d3dc5445a68807d5abeb050d0e89b81 +DIST hcloud-1.38.2.tar.xz 1871052 BLAKE2B f40ec4f40b251e61139409905bd71270982f0dca2662c3a066057343681bb9859ab61520e7dacb3252a8501a88494b2293998647dbf92a7f4c83d3c08543dd57 SHA512 fbc25cab1350d236e2d1fd6afb86262c97e7e95b345c4606e274f48fa935a23d77220398d2c20f13145927e0ee5a2ec9065f2436034a08e873bd3222c6ae87f5 EBUILD hcloud-1.37.0.ebuild 732 BLAKE2B d0128966e4c9444fdd91124e8513215e7f3373c49da216cd6f35268d435d8df8e1889b138c7c71759f4032dc437f31ff9a040eeada70e2a279e18275164b01d8 SHA512 05258150e4eb1ad133cddc7df6d651724746c2a9235497593b11ababb90d519cd1e21a906b853d7b564af3fd5751a049ecb016adcf63699f9d5015b8576cbcb7 +EBUILD hcloud-1.38.2.ebuild 733 BLAKE2B 243068c1606b7abc5670b9e3f24316f633102b7c5772518550fc786bcd73432d9f7778d4ed952614e3400d2b4d44dddae1ffbe67ec20e05affc1f9730f624b53 SHA512 2a527f6fef4de540f28f9742b97d4fb5d8497a0143a875cff4af8f57f400cc234bdb614fb69e969fe7f94a50907a8b76f757faa4afe361864f6db1a95cc5614b MISC metadata.xml 338 BLAKE2B 6ba2cbe509581ac35dabd93abe166f960d69d1f14336779848483386d28e22dd06e5d196061312827b7a945369f05a466417a1636b607e138515957a75db6f84 SHA512 cc69ce0ab7ba3a9af94ef1918738074cdd725bef2ff70d6c19e46d07bb9514d05ef6415c7ba5b372e7a98902a8440cdb9f7b14a848c3ff2f054863356971ddde diff --git a/app-admin/hcloud/hcloud-1.38.2.ebuild b/app-admin/hcloud/hcloud-1.38.2.ebuild new file mode 100644 index 000000000000..c7dcd8ef353e --- /dev/null +++ b/app-admin/hcloud/hcloud-1.38.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" + +IUSE="" +DEPEND=">=dev-lang/go-1.18:=" +RESTRICT="strip" +QA_FLAGS_IGNORED=".*" + +src_compile() { + go build -mod vendor -o ${PN} -ldflags "-w -X github.com/hetznercloud/cli/internal/version.Version=${PV}-gentoo" ./cmd/${PN} || die "build failed" +} + +src_test() { + # For upstream a simple test is run 'hcloud version' + ./hcloud version + if [[ $? -ne 0 ]] + then + die "Test failed" + fi +} + +src_install() { + dobin ${PN} +} |