From 3517852e3b8a68d1e997770fc0650c5053bafc6c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 4 Jan 2022 01:27:12 +0000 Subject: gentoo resync : 04.01.2022 --- app-admin/doctl/Manifest | 4 +++- app-admin/doctl/doctl-1.68.0.ebuild | 43 +++++++++++++++++++++++++++++++++++++ app-admin/doctl/doctl-9999.ebuild | 5 ++--- 3 files changed, 48 insertions(+), 4 deletions(-) create mode 100644 app-admin/doctl/doctl-1.68.0.ebuild (limited to 'app-admin/doctl') diff --git a/app-admin/doctl/Manifest b/app-admin/doctl/Manifest index adc63fc75105..9dae991c9bd5 100644 --- a/app-admin/doctl/Manifest +++ b/app-admin/doctl/Manifest @@ -1,4 +1,6 @@ DIST doctl-1.57.0.tar.gz 5195498 BLAKE2B 17273e9f8f63464aa2ba6c6d48dfabd78b0bdeb7156dc315d1970fb0052710c7a4b37f1d5e2a7a60211f2ab166c0926de438959d853639a8c329ec39b3ee0577 SHA512 0c868c5732a48367a93bf2b884689dbd917ba6690c82516495862546bc31d58d44aab192bd3b3543f951e9fa9b7289e99fbdf828c017af68496b84f1585a5f6b +DIST doctl-1.68.0.tar.gz 5514572 BLAKE2B e44be00e1b7451e84d3d6dc5a19dc04fcb5dab2c8a5c1923c0c0f99058a1938f9567d63681989e869341957586cdf549842cd45ca82503007039ae989664e8ff SHA512 d81799c227c071793af74f78e54d8348782caf158b28e0a12b92adf17b6c78c787a82abbdf3aa340a960f26c929b00f38015725e6e629aad7615096270d19c10 EBUILD doctl-1.57.0.ebuild 1293 BLAKE2B 518183156896035326550d0b8e0054bb83be446cad52cafad07f2bd9a602761e263e0782c5f7eccce9d75863521fc2e99d9f8da74ddf2c490d0f5532367da230 SHA512 bd8c37680fd859bb274f1b489c5953c4190eec0405da2c239c1e523217585d73920bd636a596b1c951a9f5edc916ab2945bb3ecf2c4999d04cacefc819b71d70 -EBUILD doctl-9999.ebuild 1215 BLAKE2B d6aec05a7a515bc9f4073944c1a9267f996fa239e98001909db2b58f2c480c7792a5aaa72375629b384f6d1a983e2e83d35fb868a277b104f2183aa02c1cd565 SHA512 658203b8e3c26b8813409781c197a20964e7f850dc5ac467e222d72cba5004243d766ef4fd8210e89117cf3381f0978eb94a9a4a10492f3b169bec6165db8e28 +EBUILD doctl-1.68.0.ebuild 1285 BLAKE2B a863062d3cb20ff46bbc1ffd58369ddb254cce65fdca008c1dea4c4821c9f937f5962fd4aa0bf67dad5d8f432a5fd0727963d07f32de9755aff10eccb749601c SHA512 2b30bae4fe2cc84f713304754b7951c214258a935cd1d0ea75b6fca88353c3c38164c9fa7fe29cd928d2c5231aa9d6453bfad5567e918f9c78e02560f36b398b +EBUILD doctl-9999.ebuild 1207 BLAKE2B 10dbd80af8f912405d13847003acdadb7398e218e951eca730ccd4311c51093249ea6a9ab02f57590ebe871df497e9fa00b2b0f2d04690e1dda54f5e0f1edf33 SHA512 54f54150d190390e8f295a6374a5d891b2b8fee0d59d7997b803faa973c28373b91ce66c8837681c56065cb4350373c545560dc37b5b67a7bd866356cf8f54c7 MISC metadata.xml 670 BLAKE2B 5ee85d9c94a3bc5bf5a159089a11d22db8eb1923d0e713fd45ba4f76f154e17784fded0819aa2a359d2c582d96ca0db99ae80a01bb62843d136b45729b87407d SHA512 d48173ace378646dcad5eb5eb7025436432291ef03f89847e874c4cae7afebcd3c05549553543890581dccc8a7ab2808a6bab7fab6c1f315dcef7300897472d7 diff --git a/app-admin/doctl/doctl-1.68.0.ebuild b/app-admin/doctl/doctl-1.68.0.ebuild new file mode 100644 index 000000000000..30469673185f --- /dev/null +++ b/app-admin/doctl/doctl-1.68.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 go-module + +DESCRIPTION="A command line tool for DigitalOcean services" +HOMEPAGE="https://github.com/digitalocean/doctl" +SRC_URI="https://github.com/digitalocean/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 MIT BSD BSD-2 ISC MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +src_compile() { + LDFLAGS="-X github.com/digitalocean/doctl.Major=$(ver_cut 1) + -X github.com/digitalocean/doctl.Minor=$(ver_cut 2) + -X github.com/digitalocean/doctl.Patch=$(ver_cut 3-) + -X github.com/digitalocean/doctl.Label=release" + GOFLAGS="-v -x -mod=vendor" \ + go build -ldflags "$LDFLAGS" ./cmd/... || die "build failed" + + ./doctl completion bash > doctl.bash || die "completion for bash failed" + ./doctl completion zsh > doctl.zsh || die "completion for sh failed" + ./doctl completion fish > doctl.fish || die "completion for fish failed" +} + +src_test() { + GOFLAGS="-v -x -mod=vendor" \ + go test -work ./do/... ./pkg/... . || die "test failed" +} + +src_install() { + einstalldocs + dobin doctl + + newbashcomp doctl.bash doctl + insinto /usr/share/zsh/site-functions + newins doctl.zsh _doctl + insinto /usr/share/fish/completion + newins doctl.fish doctl +} diff --git a/app-admin/doctl/doctl-9999.ebuild b/app-admin/doctl/doctl-9999.ebuild index 654c28a745f8..264b5170d915 100644 --- a/app-admin/doctl/doctl-9999.ebuild +++ b/app-admin/doctl/doctl-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 EGIT_REPO_URI="https://github.com/digitalocean/${PN}.git" @@ -14,7 +14,6 @@ SRC_URI="" LICENSE="Apache-2.0 MIT BSD BSD-2 ISC MPL-2.0" SLOT="0" KEYWORDS="" -IUSE="" src_unpack() { git-r3_src_unpack -- cgit v1.2.3