1 |
commit: 16cb3379440ec51cf7f363a519d4ad08585f7836 |
2 |
Author: Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua> |
3 |
AuthorDate: Thu Jun 16 18:47:09 2022 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 2 17:35:15 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16cb3379 |
7 |
|
8 |
app-admin/doctl: drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Vladimir Pavljuchenkov <spiderx <AT> spiderx.dp.ua> |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
app-admin/doctl/Manifest | 2 -- |
15 |
app-admin/doctl/doctl-1.57.0.ebuild | 44 ------------------------------------- |
16 |
app-admin/doctl/doctl-1.68.0.ebuild | 43 ------------------------------------ |
17 |
3 files changed, 89 deletions(-) |
18 |
|
19 |
diff --git a/app-admin/doctl/Manifest b/app-admin/doctl/Manifest |
20 |
index ebce50b74af6..dafbbd57b95a 100644 |
21 |
--- a/app-admin/doctl/Manifest |
22 |
+++ b/app-admin/doctl/Manifest |
23 |
@@ -1,3 +1 @@ |
24 |
-DIST doctl-1.57.0.tar.gz 5195498 BLAKE2B 17273e9f8f63464aa2ba6c6d48dfabd78b0bdeb7156dc315d1970fb0052710c7a4b37f1d5e2a7a60211f2ab166c0926de438959d853639a8c329ec39b3ee0577 SHA512 0c868c5732a48367a93bf2b884689dbd917ba6690c82516495862546bc31d58d44aab192bd3b3543f951e9fa9b7289e99fbdf828c017af68496b84f1585a5f6b |
25 |
-DIST doctl-1.68.0.tar.gz 5514572 BLAKE2B e44be00e1b7451e84d3d6dc5a19dc04fcb5dab2c8a5c1923c0c0f99058a1938f9567d63681989e869341957586cdf549842cd45ca82503007039ae989664e8ff SHA512 d81799c227c071793af74f78e54d8348782caf158b28e0a12b92adf17b6c78c787a82abbdf3aa340a960f26c929b00f38015725e6e629aad7615096270d19c10 |
26 |
DIST doctl-1.76.2.tar.gz 5648377 BLAKE2B 1ec89adb5ad187ccc6b66d077dda57ca4065bc1a5981a0f2549913532f6bcc6d1f48c3cc56c100c1b6c55f698ffcf3f2c639888ccaab30948384ce800181b332 SHA512 d7efc587843cd87f3ac17b974858ea688377ca6f0cd3d4b7430c47a1e8b825cc05f4d9107d7062f5e52fe3c267ec6bbd19a8b1d773a15f1d7ab653087ce13bba |
27 |
|
28 |
diff --git a/app-admin/doctl/doctl-1.57.0.ebuild b/app-admin/doctl/doctl-1.57.0.ebuild |
29 |
deleted file mode 100644 |
30 |
index c1ed045f556d..000000000000 |
31 |
--- a/app-admin/doctl/doctl-1.57.0.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,44 +0,0 @@ |
34 |
-# Copyright 1999-2021 Gentoo Authors |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=7 |
38 |
- |
39 |
-inherit bash-completion-r1 go-module |
40 |
- |
41 |
-DESCRIPTION="A command line tool for DigitalOcean services" |
42 |
-HOMEPAGE="https://github.com/digitalocean/doctl" |
43 |
-SRC_URI="https://github.com/digitalocean/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
44 |
- |
45 |
-LICENSE="Apache-2.0 MIT BSD BSD-2 ISC MPL-2.0" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="~amd64 ~x86" |
48 |
-IUSE="" |
49 |
- |
50 |
-src_compile() { |
51 |
- LDFLAGS="-X github.com/digitalocean/doctl.Major=$(ver_cut 1) |
52 |
- -X github.com/digitalocean/doctl.Minor=$(ver_cut 2) |
53 |
- -X github.com/digitalocean/doctl.Patch=$(ver_cut 3-) |
54 |
- -X github.com/digitalocean/doctl.Label=release" |
55 |
- GOFLAGS="-v -x -mod=vendor" \ |
56 |
- go build -ldflags "$LDFLAGS" ./cmd/... || die "build failed" |
57 |
- |
58 |
- ./doctl completion bash > doctl.bash || die "completion for bash failed" |
59 |
- ./doctl completion zsh > doctl.zsh || die "completion for sh failed" |
60 |
- ./doctl completion fish > doctl.fish || die "completion for fish failed" |
61 |
-} |
62 |
- |
63 |
-src_test() { |
64 |
- GOFLAGS="-v -x -mod=vendor" \ |
65 |
- go test -work ./do/... ./pkg/... . || die "test failed" |
66 |
-} |
67 |
- |
68 |
-src_install() { |
69 |
- einstalldocs |
70 |
- dobin doctl |
71 |
- |
72 |
- newbashcomp doctl.bash doctl |
73 |
- insinto /usr/share/zsh/site-functions |
74 |
- newins doctl.zsh _doctl |
75 |
- insinto /usr/share/fish/completion |
76 |
- newins doctl.fish doctl |
77 |
-} |
78 |
|
79 |
diff --git a/app-admin/doctl/doctl-1.68.0.ebuild b/app-admin/doctl/doctl-1.68.0.ebuild |
80 |
deleted file mode 100644 |
81 |
index 30469673185f..000000000000 |
82 |
--- a/app-admin/doctl/doctl-1.68.0.ebuild |
83 |
+++ /dev/null |
84 |
@@ -1,43 +0,0 @@ |
85 |
-# Copyright 1999-2022 Gentoo Authors |
86 |
-# Distributed under the terms of the GNU General Public License v2 |
87 |
- |
88 |
-EAPI=8 |
89 |
- |
90 |
-inherit bash-completion-r1 go-module |
91 |
- |
92 |
-DESCRIPTION="A command line tool for DigitalOcean services" |
93 |
-HOMEPAGE="https://github.com/digitalocean/doctl" |
94 |
-SRC_URI="https://github.com/digitalocean/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
95 |
- |
96 |
-LICENSE="Apache-2.0 MIT BSD BSD-2 ISC MPL-2.0" |
97 |
-SLOT="0" |
98 |
-KEYWORDS="~amd64 ~x86" |
99 |
- |
100 |
-src_compile() { |
101 |
- LDFLAGS="-X github.com/digitalocean/doctl.Major=$(ver_cut 1) |
102 |
- -X github.com/digitalocean/doctl.Minor=$(ver_cut 2) |
103 |
- -X github.com/digitalocean/doctl.Patch=$(ver_cut 3-) |
104 |
- -X github.com/digitalocean/doctl.Label=release" |
105 |
- GOFLAGS="-v -x -mod=vendor" \ |
106 |
- go build -ldflags "$LDFLAGS" ./cmd/... || die "build failed" |
107 |
- |
108 |
- ./doctl completion bash > doctl.bash || die "completion for bash failed" |
109 |
- ./doctl completion zsh > doctl.zsh || die "completion for sh failed" |
110 |
- ./doctl completion fish > doctl.fish || die "completion for fish failed" |
111 |
-} |
112 |
- |
113 |
-src_test() { |
114 |
- GOFLAGS="-v -x -mod=vendor" \ |
115 |
- go test -work ./do/... ./pkg/... . || die "test failed" |
116 |
-} |
117 |
- |
118 |
-src_install() { |
119 |
- einstalldocs |
120 |
- dobin doctl |
121 |
- |
122 |
- newbashcomp doctl.bash doctl |
123 |
- insinto /usr/share/zsh/site-functions |
124 |
- newins doctl.zsh _doctl |
125 |
- insinto /usr/share/fish/completion |
126 |
- newins doctl.fish doctl |
127 |
-} |