[gentoo-commits] repo/gentoo:master commit in: app-admin/doctl/

2022-08-31 Thread Joonas Niilola
commit: d2cd81e26638564999e063d1d780a5edd4f3d3a6
Author: Vladimir Pavljuchenkov (SpiderX)  spiderx  dp 
 ua>
AuthorDate: Sat Aug 20 17:38:06 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Aug 31 08:26:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2cd81e2

app-admin/doctl: drop old ebuilds

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Vladimir Pavljuchenkov  spiderx.dp.ua>
Signed-off-by: Joonas Niilola  gentoo.org>

 app-admin/doctl/Manifest|  2 --
 app-admin/doctl/doctl-1.76.2.ebuild | 42 
 app-admin/doctl/doctl-1.77.0.ebuild | 43 -
 3 files changed, 87 deletions(-)

diff --git a/app-admin/doctl/Manifest b/app-admin/doctl/Manifest
index 36810eadc6d9..f1379313e549 100644
--- a/app-admin/doctl/Manifest
+++ b/app-admin/doctl/Manifest
@@ -1,3 +1 @@
-DIST doctl-1.76.2.tar.gz 5648377 BLAKE2B 
1ec89adb5ad187ccc6b66d077dda57ca4065bc1a5981a0f2549913532f6bcc6d1f48c3cc56c100c1b6c55f698ffcf3f2c639888ccaab30948384ce800181b332
 SHA512 
d7efc587843cd87f3ac17b974858ea688377ca6f0cd3d4b7430c47a1e8b825cc05f4d9107d7062f5e52fe3c267ec6bbd19a8b1d773a15f1d7ab653087ce13bba
-DIST doctl-1.77.0.tar.gz 5654010 BLAKE2B 
809189c9fdfa1e81e75847e57fe5967f0d3ca476fdb7a2e72ffba1b4bb81ecdc2ce07b4b05f4f1f898104cd9e919d6bdba664d4ae0cc97adea6863379789aa08
 SHA512 
a53e8e3179ec467cd0617a25ab985fe36e41135a824688a947b15c0565fb2d8364c59a295573043039b79b701bb4d5a9ec5461450fa0e7c5a24f10ece53c6f71
 DIST doctl-1.78.0.tar.gz 5658172 BLAKE2B 
3213219b1cfbc395c742a59a6bee1c6232f222455ac126de9ce51470a56ebaa9680de4d332cd31580a7ddb9f748b19a8abadef17ff6ea4265dffc2c42b1bb16d
 SHA512 
193fe775885c78312eb6ba14bd34d109ee31acf41cfe68dbacbf6ab19864509b774c658aecf7a61d470598ca89829a6737ea6796eb970b3075d8f37aef747dbe

diff --git a/app-admin/doctl/doctl-1.76.2.ebuild 
b/app-admin/doctl/doctl-1.76.2.ebuild
deleted file mode 100644
index 5aae02dd1956..
--- a/app-admin/doctl/doctl-1.76.2.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit edo 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" ego build -ldflags "${LDFLAGS}" ./cmd/...
-
-   local completion
-   for completion in bash zsh fish ; do
-   edo ./doctl completion ${completion} > doctl.${completion} || 
die "completion for ${completion} failed"
-   done
-}
-
-src_test() {
-   GOFLAGS="-v -x -mod=vendor" ego test -work ./do/... ./pkg/... .
-}
-
-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-1.77.0.ebuild 
b/app-admin/doctl/doctl-1.77.0.ebuild
deleted file mode 100644
index 3f5680240a83..
--- a/app-admin/doctl/doctl-1.77.0.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit bash-completion-r1 edo 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" ego build -ldflags "$LDFLAGS" ./cmd/...
-
-   local completion
-   for completion in bash zsh fish ; do
-   edo ./doctl completion ${completion} > doctl.${completion} \
-   || die "completion for ${completion} failed"
-   done
-}
-
-src_test() {
-   GOFLAGS="-v -x -mod=vendor" ego test -work ./do/... ./pkg/... .
-}
-
-src_install() {
-   einstalldocs
-   dobin doctl
-
-   newbashcomp doctl.bash doctl
-   insinto /usr/share/zsh/site-functions
-   newins doctl.zsh _doctl
-   insinto /usr/share/fish

[gentoo-commits] repo/gentoo:master commit in: app-admin/doctl/

2022-08-31 Thread Joonas Niilola
commit: 535674e596852ccd6a963692e253c2a93c3c5b1e
Author: Vladimir Pavljuchenkov (SpiderX)  spiderx  dp 
 ua>
AuthorDate: Sat Aug 20 17:39:09 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Aug 31 08:26:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=535674e5

app-admin/doctl: version bump to 1.79

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Vladimir Pavljuchenkov  spiderx.dp.ua>
Closes: https://github.com/gentoo/gentoo/pull/26933
Signed-off-by: Joonas Niilola  gentoo.org>

 app-admin/doctl/Manifest|  1 +
 app-admin/doctl/doctl-1.79.0.ebuild | 43 +
 2 files changed, 44 insertions(+)

diff --git a/app-admin/doctl/Manifest b/app-admin/doctl/Manifest
index f1379313e549..f2e3e2f3aa87 100644
--- a/app-admin/doctl/Manifest
+++ b/app-admin/doctl/Manifest
@@ -1 +1,2 @@
 DIST doctl-1.78.0.tar.gz 5658172 BLAKE2B 
3213219b1cfbc395c742a59a6bee1c6232f222455ac126de9ce51470a56ebaa9680de4d332cd31580a7ddb9f748b19a8abadef17ff6ea4265dffc2c42b1bb16d
 SHA512 
193fe775885c78312eb6ba14bd34d109ee31acf41cfe68dbacbf6ab19864509b774c658aecf7a61d470598ca89829a6737ea6796eb970b3075d8f37aef747dbe
+DIST doctl-1.79.0.tar.gz 5661873 BLAKE2B 
276cf8355f982070e2a44306f0d2bca5c269eccab3d67fe8b1b68171d393bacfb857e78fc66e036b0c039fa4bcf26505c029a1ba5ccebfeebf81d4dc3f51d82f
 SHA512 
8257fc8d32ee097f78420138bd12572235dd7a6cead65fe1a666a9686d2f31add50a85a99fed45aae641b583b47b079a0ea3ce6e9e017c6ecfc7dfc14f7b5abd

diff --git a/app-admin/doctl/doctl-1.79.0.ebuild 
b/app-admin/doctl/doctl-1.79.0.ebuild
new file mode 100644
index ..3f5680240a83
--- /dev/null
+++ b/app-admin/doctl/doctl-1.79.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 edo 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" ego build -ldflags "$LDFLAGS" ./cmd/...
+
+   local completion
+   for completion in bash zsh fish ; do
+   edo ./doctl completion ${completion} > doctl.${completion} \
+   || die "completion for ${completion} failed"
+   done
+}
+
+src_test() {
+   GOFLAGS="-v -x -mod=vendor" ego test -work ./do/... ./pkg/... .
+}
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: app-admin/doctl/

2022-07-09 Thread Matthew Smith
commit: a5a8086d30e688b6e8df324fac93363a30b18480
Author: Vladimir Pavljuchenkov (SpiderX)  spiderx  dp 
 ua>
AuthorDate: Thu Jul  7 11:14:10 2022 +
Commit: Matthew Smith  gentoo  org>
CommitDate: Sat Jul  9 12:26:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5a8086d

app-admin/doctl: version bump to 1.78

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Vladimir Pavljuchenkov  spiderx.dp.ua>
Closes: https://github.com/gentoo/gentoo/pull/26259
Signed-off-by: Matthew Smith  gentoo.org>

 app-admin/doctl/Manifest|  1 +
 app-admin/doctl/doctl-1.78.0.ebuild | 43 +
 2 files changed, 44 insertions(+)

diff --git a/app-admin/doctl/Manifest b/app-admin/doctl/Manifest
index 3d24a516bf39..36810eadc6d9 100644
--- a/app-admin/doctl/Manifest
+++ b/app-admin/doctl/Manifest
@@ -1,2 +1,3 @@
 DIST doctl-1.76.2.tar.gz 5648377 BLAKE2B 
1ec89adb5ad187ccc6b66d077dda57ca4065bc1a5981a0f2549913532f6bcc6d1f48c3cc56c100c1b6c55f698ffcf3f2c639888ccaab30948384ce800181b332
 SHA512 
d7efc587843cd87f3ac17b974858ea688377ca6f0cd3d4b7430c47a1e8b825cc05f4d9107d7062f5e52fe3c267ec6bbd19a8b1d773a15f1d7ab653087ce13bba
 DIST doctl-1.77.0.tar.gz 5654010 BLAKE2B 
809189c9fdfa1e81e75847e57fe5967f0d3ca476fdb7a2e72ffba1b4bb81ecdc2ce07b4b05f4f1f898104cd9e919d6bdba664d4ae0cc97adea6863379789aa08
 SHA512 
a53e8e3179ec467cd0617a25ab985fe36e41135a824688a947b15c0565fb2d8364c59a295573043039b79b701bb4d5a9ec5461450fa0e7c5a24f10ece53c6f71
+DIST doctl-1.78.0.tar.gz 5658172 BLAKE2B 
3213219b1cfbc395c742a59a6bee1c6232f222455ac126de9ce51470a56ebaa9680de4d332cd31580a7ddb9f748b19a8abadef17ff6ea4265dffc2c42b1bb16d
 SHA512 
193fe775885c78312eb6ba14bd34d109ee31acf41cfe68dbacbf6ab19864509b774c658aecf7a61d470598ca89829a6737ea6796eb970b3075d8f37aef747dbe

diff --git a/app-admin/doctl/doctl-1.78.0.ebuild 
b/app-admin/doctl/doctl-1.78.0.ebuild
new file mode 100644
index ..3f5680240a83
--- /dev/null
+++ b/app-admin/doctl/doctl-1.78.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 edo 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" ego build -ldflags "$LDFLAGS" ./cmd/...
+
+   local completion
+   for completion in bash zsh fish ; do
+   edo ./doctl completion ${completion} > doctl.${completion} \
+   || die "completion for ${completion} failed"
+   done
+}
+
+src_test() {
+   GOFLAGS="-v -x -mod=vendor" ego test -work ./do/... ./pkg/... .
+}
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: app-admin/doctl/

2022-07-02 Thread Joonas Niilola
commit: e490424559add8b0cb39cebcd7f7cb28b17ac15e
Author: Vladimir Pavljuchenkov (SpiderX)  spiderx  dp 
 ua>
AuthorDate: Thu Jun 16 18:49:51 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Jul  2 17:35:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4904245

app-admin/doctl: version bump to 1.77.0

fix typo in live ebuild

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Vladimir Pavljuchenkov  spiderx.dp.ua>
Closes: https://github.com/gentoo/gentoo/pull/25927
Signed-off-by: Joonas Niilola  gentoo.org>

 app-admin/doctl/Manifest   |  1 +
 .../{doctl-.ebuild => doctl-1.77.0.ebuild} | 23 ++
 app-admin/doctl/doctl-.ebuild  |  7 ---
 3 files changed, 15 insertions(+), 16 deletions(-)

diff --git a/app-admin/doctl/Manifest b/app-admin/doctl/Manifest
index dafbbd57b95a..3d24a516bf39 100644
--- a/app-admin/doctl/Manifest
+++ b/app-admin/doctl/Manifest
@@ -1 +1,2 @@
 DIST doctl-1.76.2.tar.gz 5648377 BLAKE2B 
1ec89adb5ad187ccc6b66d077dda57ca4065bc1a5981a0f2549913532f6bcc6d1f48c3cc56c100c1b6c55f698ffcf3f2c639888ccaab30948384ce800181b332
 SHA512 
d7efc587843cd87f3ac17b974858ea688377ca6f0cd3d4b7430c47a1e8b825cc05f4d9107d7062f5e52fe3c267ec6bbd19a8b1d773a15f1d7ab653087ce13bba
+DIST doctl-1.77.0.tar.gz 5654010 BLAKE2B 
809189c9fdfa1e81e75847e57fe5967f0d3ca476fdb7a2e72ffba1b4bb81ecdc2ce07b4b05f4f1f898104cd9e919d6bdba664d4ae0cc97adea6863379789aa08
 SHA512 
a53e8e3179ec467cd0617a25ab985fe36e41135a824688a947b15c0565fb2d8364c59a295573043039b79b701bb4d5a9ec5461450fa0e7c5a24f10ece53c6f71

diff --git a/app-admin/doctl/doctl-.ebuild 
b/app-admin/doctl/doctl-1.77.0.ebuild
similarity index 53%
copy from app-admin/doctl/doctl-.ebuild
copy to app-admin/doctl/doctl-1.77.0.ebuild
index 03b7027f041b..3f5680240a83 100644
--- a/app-admin/doctl/doctl-.ebuild
+++ b/app-admin/doctl/doctl-1.77.0.ebuild
@@ -3,30 +3,27 @@
 
 EAPI=8
 
-EGIT_REPO_URI="https://github.com/digitalocean/${PN}.git";
-
-inherit edo bash-completion-r1 git-r3 go-module
+inherit bash-completion-r1 edo go-module
 
 DESCRIPTION="A command line tool for DigitalOcean services"
 HOMEPAGE="https://github.com/digitalocean/doctl";
-SRC_URI=""
+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=""
-
-src_unpack() {
-   git-r3_src_unpack
-}
+KEYWORDS="~amd64 ~x86"
 
 src_compile() {
-   LDFLAGS="-X github.com/digitalocean/doctl.Build=$(git rev-parse --short 
HEAD)
-   -X github.com/digitalocean/doctl.Label=dev"
-   GOFLAGS="-v -x -mod=vendor" go build -ldflags "$LDFLAGS" ./cmd/...
+   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" ego build -ldflags "$LDFLAGS" ./cmd/...
 
local completion
for completion in bash zsh fish ; do
-   edo ./doctl completion ${completion} > doctl.${completion} || 
die "completion for ${completion} failed"
+   edo ./doctl completion ${completion} > doctl.${completion} \
+   || die "completion for ${completion} failed"
done
 }
 

diff --git a/app-admin/doctl/doctl-.ebuild 
b/app-admin/doctl/doctl-.ebuild
index 03b7027f041b..9837f24928f9 100644
--- a/app-admin/doctl/doctl-.ebuild
+++ b/app-admin/doctl/doctl-.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 EGIT_REPO_URI="https://github.com/digitalocean/${PN}.git";
 
-inherit edo bash-completion-r1 git-r3 go-module
+inherit bash-completion-r1 edo git-r3 go-module
 
 DESCRIPTION="A command line tool for DigitalOcean services"
 HOMEPAGE="https://github.com/digitalocean/doctl";
@@ -22,11 +22,12 @@ src_unpack() {
 src_compile() {
LDFLAGS="-X github.com/digitalocean/doctl.Build=$(git rev-parse --short 
HEAD)
-X github.com/digitalocean/doctl.Label=dev"
-   GOFLAGS="-v -x -mod=vendor" go build -ldflags "$LDFLAGS" ./cmd/...
+   GOFLAGS="-v -x -mod=vendor" ego build -ldflags "$LDFLAGS" ./cmd/...
 
local completion
for completion in bash zsh fish ; do
-   edo ./doctl completion ${completion} > doctl.${completion} || 
die "completion for ${completion} failed"
+   edo ./doctl completion ${completion} > doctl.${completion} \
+   || die "completion for ${completion} failed"
done
 }
 



[gentoo-commits] repo/gentoo:master commit in: app-admin/doctl/

2022-07-02 Thread Joonas Niilola
commit: 16cb3379440ec51cf7f363a519d4ad08585f7836
Author: Vladimir Pavljuchenkov (SpiderX)  spiderx  dp 
 ua>
AuthorDate: Thu Jun 16 18:47:09 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Jul  2 17:35:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16cb3379

app-admin/doctl: drop old

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Vladimir Pavljuchenkov  spiderx.dp.ua>
Signed-off-by: Joonas Niilola  gentoo.org>

 app-admin/doctl/Manifest|  2 --
 app-admin/doctl/doctl-1.57.0.ebuild | 44 -
 app-admin/doctl/doctl-1.68.0.ebuild | 43 
 3 files changed, 89 deletions(-)

diff --git a/app-admin/doctl/Manifest b/app-admin/doctl/Manifest
index ebce50b74af6..dafbbd57b95a 100644
--- a/app-admin/doctl/Manifest
+++ b/app-admin/doctl/Manifest
@@ -1,3 +1 @@
-DIST doctl-1.57.0.tar.gz 5195498 BLAKE2B 
17273e9f8f63464aa2ba6c6d48dfabd78b0bdeb7156dc315d1970fb0052710c7a4b37f1d5e2a7a60211f2ab166c0926de438959d853639a8c329ec39b3ee0577
 SHA512 
0c868c5732a48367a93bf2b884689dbd917ba6690c82516495862546bc31d58d44aab192bd3b3543f951e9fa9b7289e99fbdf828c017af68496b84f1585a5f6b
-DIST doctl-1.68.0.tar.gz 5514572 BLAKE2B 
e44be00e1b7451e84d3d6dc5a19dc04fcb5dab2c8a5c1923c0c0f99058a1938f9567d63681989e869341957586cdf549842cd45ca82503007039ae989664e8ff
 SHA512 
d81799c227c071793af74f78e54d8348782caf158b28e0a12b92adf17b6c78c787a82abbdf3aa340a960f26c929b00f38015725e6e629aad7615096270d19c10
 DIST doctl-1.76.2.tar.gz 5648377 BLAKE2B 
1ec89adb5ad187ccc6b66d077dda57ca4065bc1a5981a0f2549913532f6bcc6d1f48c3cc56c100c1b6c55f698ffcf3f2c639888ccaab30948384ce800181b332
 SHA512 
d7efc587843cd87f3ac17b974858ea688377ca6f0cd3d4b7430c47a1e8b825cc05f4d9107d7062f5e52fe3c267ec6bbd19a8b1d773a15f1d7ab653087ce13bba

diff --git a/app-admin/doctl/doctl-1.57.0.ebuild 
b/app-admin/doctl/doctl-1.57.0.ebuild
deleted file mode 100644
index c1ed045f556d..
--- a/app-admin/doctl/doctl-1.57.0.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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"
-IUSE=""
-
-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-1.68.0.ebuild 
b/app-admin/doctl/doctl-1.68.0.ebuild
deleted file mode 100644
index 30469673185f..
--- a/app-admin/doctl/doctl-1.68.0.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# 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() {

[gentoo-commits] repo/gentoo:master commit in: app-admin/doctl/

2022-06-07 Thread Sam James
commit: c5395fce031042c596d762409150c0b806bdcf07
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun  7 20:49:04 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun  7 20:51:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5395fce

app-admin/doctl: add 1.76.2

Closes: https://bugs.gentoo.org/828145
Signed-off-by: Sam James  gentoo.org>

 app-admin/doctl/Manifest|  1 +
 app-admin/doctl/doctl-1.76.2.ebuild | 42 +
 app-admin/doctl/doctl-.ebuild   | 15 +++--
 3 files changed, 50 insertions(+), 8 deletions(-)

diff --git a/app-admin/doctl/Manifest b/app-admin/doctl/Manifest
index 4515e82ef222..ebce50b74af6 100644
--- a/app-admin/doctl/Manifest
+++ b/app-admin/doctl/Manifest
@@ -1,2 +1,3 @@
 DIST doctl-1.57.0.tar.gz 5195498 BLAKE2B 
17273e9f8f63464aa2ba6c6d48dfabd78b0bdeb7156dc315d1970fb0052710c7a4b37f1d5e2a7a60211f2ab166c0926de438959d853639a8c329ec39b3ee0577
 SHA512 
0c868c5732a48367a93bf2b884689dbd917ba6690c82516495862546bc31d58d44aab192bd3b3543f951e9fa9b7289e99fbdf828c017af68496b84f1585a5f6b
 DIST doctl-1.68.0.tar.gz 5514572 BLAKE2B 
e44be00e1b7451e84d3d6dc5a19dc04fcb5dab2c8a5c1923c0c0f99058a1938f9567d63681989e869341957586cdf549842cd45ca82503007039ae989664e8ff
 SHA512 
d81799c227c071793af74f78e54d8348782caf158b28e0a12b92adf17b6c78c787a82abbdf3aa340a960f26c929b00f38015725e6e629aad7615096270d19c10
+DIST doctl-1.76.2.tar.gz 5648377 BLAKE2B 
1ec89adb5ad187ccc6b66d077dda57ca4065bc1a5981a0f2549913532f6bcc6d1f48c3cc56c100c1b6c55f698ffcf3f2c639888ccaab30948384ce800181b332
 SHA512 
d7efc587843cd87f3ac17b974858ea688377ca6f0cd3d4b7430c47a1e8b825cc05f4d9107d7062f5e52fe3c267ec6bbd19a8b1d773a15f1d7ab653087ce13bba

diff --git a/app-admin/doctl/doctl-1.76.2.ebuild 
b/app-admin/doctl/doctl-1.76.2.ebuild
new file mode 100644
index ..5aae02dd1956
--- /dev/null
+++ b/app-admin/doctl/doctl-1.76.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edo 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" ego build -ldflags "${LDFLAGS}" ./cmd/...
+
+   local completion
+   for completion in bash zsh fish ; do
+   edo ./doctl completion ${completion} > doctl.${completion} || 
die "completion for ${completion} failed"
+   done
+}
+
+src_test() {
+   GOFLAGS="-v -x -mod=vendor" ego test -work ./do/... ./pkg/... .
+}
+
+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-.ebuild 
b/app-admin/doctl/doctl-.ebuild
index 264b5170d915..03b7027f041b 100644
--- a/app-admin/doctl/doctl-.ebuild
+++ b/app-admin/doctl/doctl-.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 EGIT_REPO_URI="https://github.com/digitalocean/${PN}.git";
 
-inherit bash-completion-r1 git-r3 go-module
+inherit edo bash-completion-r1 git-r3 go-module
 
 DESCRIPTION="A command line tool for DigitalOcean services"
 HOMEPAGE="https://github.com/digitalocean/doctl";
@@ -22,17 +22,16 @@ src_unpack() {
 src_compile() {
LDFLAGS="-X github.com/digitalocean/doctl.Build=$(git rev-parse --short 
HEAD)
-X github.com/digitalocean/doctl.Label=dev"
-   GOFLAGS="-v -x -mod=vendor" \
-   go build -ldflags "$LDFLAGS" ./cmd/... || die "build failed"
+   GOFLAGS="-v -x -mod=vendor" go build -ldflags "$LDFLAGS" ./cmd/...
 
-   ./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"
+   local completion
+   for completion in bash zsh fish ; do
+   edo ./doctl completion ${completion} > doctl.${completion} || 
die "completion for ${completion} failed"
+   done
 }
 
 src_test() {
-   GOFLAGS="-v -x -mod=vendor" \
-   go test -work ./do/... ./pkg/... . || die "test failed"
+   GOFLAGS="-v -x -mod=vendor" ego test -work ./do/... ./pkg/... .
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: app-admin/doctl/

2022-01-03 Thread Florian Schmaus
commit: f59c5b781ccbccbb5c179e773708e563582b1d05
Author: Vladimir Pavljuchenkov (SpiderX)  spiderx  dp 
 ua>
AuthorDate: Sat Jan  1 10:11:05 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Mon Jan  3 18:40:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f59c5b78

app-admin/doctl: version bump to 1.68, EAPI 8

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Vladimir Pavljuchenkov  spiderx.dp.ua>
Closes: https://github.com/gentoo/gentoo/pull/23611
Signed-off-by: Florian Schmaus  gentoo.org>

 app-admin/doctl/Manifest|  1 +
 app-admin/doctl/doctl-1.68.0.ebuild | 43 +
 2 files changed, 44 insertions(+)

diff --git a/app-admin/doctl/Manifest b/app-admin/doctl/Manifest
index 1dc7041d6b22..4515e82ef222 100644
--- a/app-admin/doctl/Manifest
+++ b/app-admin/doctl/Manifest
@@ -1 +1,2 @@
 DIST doctl-1.57.0.tar.gz 5195498 BLAKE2B 
17273e9f8f63464aa2ba6c6d48dfabd78b0bdeb7156dc315d1970fb0052710c7a4b37f1d5e2a7a60211f2ab166c0926de438959d853639a8c329ec39b3ee0577
 SHA512 
0c868c5732a48367a93bf2b884689dbd917ba6690c82516495862546bc31d58d44aab192bd3b3543f951e9fa9b7289e99fbdf828c017af68496b84f1585a5f6b
+DIST doctl-1.68.0.tar.gz 5514572 BLAKE2B 
e44be00e1b7451e84d3d6dc5a19dc04fcb5dab2c8a5c1923c0c0f99058a1938f9567d63681989e869341957586cdf549842cd45ca82503007039ae989664e8ff
 SHA512 
d81799c227c071793af74f78e54d8348782caf158b28e0a12b92adf17b6c78c787a82abbdf3aa340a960f26c929b00f38015725e6e629aad7615096270d19c10

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 ..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
+}



[gentoo-commits] repo/gentoo:master commit in: app-admin/doctl/

2022-01-03 Thread Florian Schmaus
commit: cf97bb0e62b0fde77ddf3926223d56572c618aba
Author: Vladimir Pavljuchenkov (SpiderX)  spiderx  dp 
 ua>
AuthorDate: Sat Jan  1 10:10:05 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Mon Jan  3 18:40:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf97bb0e

app-admin/doctl: EAPI 8 for live ebuild

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Vladimir Pavljuchenkov  spiderx.dp.ua>
Signed-off-by: Florian Schmaus  gentoo.org>

 app-admin/doctl/doctl-.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/app-admin/doctl/doctl-.ebuild 
b/app-admin/doctl/doctl-.ebuild
index 654c28a745f8..264b5170d915 100644
--- a/app-admin/doctl/doctl-.ebuild
+++ b/app-admin/doctl/doctl-.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



[gentoo-commits] repo/gentoo:master commit in: app-admin/doctl/

2021-02-28 Thread Joonas Niilola
commit: 59e3469dab34ea5cbed6a21a16b305a0c8a4bb48
Author: Vladimir Pavljuchenkov (SpiderX)  spiderx  dp 
 ua>
AuthorDate: Wed Feb 24 08:38:28 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Feb 28 09:03:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59e3469d

app-admin/doctl: version bump to 1.57.0

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Vladimir Pavljuchenkov  spiderx.dp.ua>
Closes: https://github.com/gentoo/gentoo/pull/19626
Signed-off-by: Joonas Niilola  gentoo.org>

 app-admin/doctl/Manifest|  1 +
 app-admin/doctl/doctl-1.57.0.ebuild | 44 +
 2 files changed, 45 insertions(+)

diff --git a/app-admin/doctl/Manifest b/app-admin/doctl/Manifest
index 7dc7e774e33..b53f3e75f53 100644
--- a/app-admin/doctl/Manifest
+++ b/app-admin/doctl/Manifest
@@ -1,2 +1,3 @@
 DIST doctl-1.55.0.tar.gz 5157504 BLAKE2B 
1d3db2ee4ca71a459456e72f035648c5ba73c5372c3369b360e1ee3cc44ec1155295e5f425611c307371f902c7ffed7dbce2f959266f79ecb8f149144fc86596
 SHA512 
6cea86e184ea25d5a6740d4090148fbe053ce93ebe8f2344f5a2bf62283381ed2a9574862a5ba39f34a52bf85af550313b7dd316a321f31089673f898d37cf78
 DIST doctl-1.56.0.tar.gz 5163349 BLAKE2B 
10f169f7ccf31b416509043f42bff3fd60a5618530217b46d2bd0797d70eba914d314b376b5fdd801ba12ee4746e17b4e7a33316d9adcb95403ac3a92152d86e
 SHA512 
4102f58ea0925b110d4ddf2146cdec0a4252881b7724c34c4ef0c86f848b107380d6b425e11a885841d39f52d6cb00bfab5671d663efcfe5ba02dcae8b5975c9
+DIST doctl-1.57.0.tar.gz 5195498 BLAKE2B 
17273e9f8f63464aa2ba6c6d48dfabd78b0bdeb7156dc315d1970fb0052710c7a4b37f1d5e2a7a60211f2ab166c0926de438959d853639a8c329ec39b3ee0577
 SHA512 
0c868c5732a48367a93bf2b884689dbd917ba6690c82516495862546bc31d58d44aab192bd3b3543f951e9fa9b7289e99fbdf828c017af68496b84f1585a5f6b

diff --git a/app-admin/doctl/doctl-1.57.0.ebuild 
b/app-admin/doctl/doctl-1.57.0.ebuild
new file mode 100644
index 000..c1ed045f556
--- /dev/null
+++ b/app-admin/doctl/doctl-1.57.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+IUSE=""
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: app-admin/doctl/

2021-02-14 Thread Joonas Niilola
commit: 0f3557e13d414e5734a1b3ab9a94e4555cf2fc87
Author: Vladimir Pavljuchenkov (SpiderX)  spiderx  dp 
 ua>
AuthorDate: Thu Feb 11 16:53:21 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Feb 14 14:39:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f3557e1

app-admin/doctl: version support for live ebuild

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Vladimir Pavljuchenkov  spiderx.dp.ua>
Closes: https://github.com/gentoo/gentoo/pull/19416
Signed-off-by: Joonas Niilola  gentoo.org>

 app-admin/doctl/doctl-.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/app-admin/doctl/doctl-.ebuild 
b/app-admin/doctl/doctl-.ebuild
index 59e3c4d9aa3..654c28a745f 100644
--- a/app-admin/doctl/doctl-.ebuild
+++ b/app-admin/doctl/doctl-.ebuild
@@ -21,8 +21,10 @@ src_unpack() {
 }
 
 src_compile() {
+   LDFLAGS="-X github.com/digitalocean/doctl.Build=$(git rev-parse --short 
HEAD)
+   -X github.com/digitalocean/doctl.Label=dev"
GOFLAGS="-v -x -mod=vendor" \
-   go build ./cmd/... || die "build failed"
+   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"



[gentoo-commits] repo/gentoo:master commit in: app-admin/doctl/

2021-02-14 Thread Joonas Niilola
commit: eea5f3c400cda106588dd14d224549a18913d8a8
Author: Vladimir Pavljuchenkov (SpiderX)  spiderx  dp 
 ua>
AuthorDate: Thu Feb 11 16:52:46 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Feb 14 14:39:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eea5f3c4

app-admin/doctl: version bump to 1.56.0, introduce version support

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Vladimir Pavljuchenkov  spiderx.dp.ua>
Signed-off-by: Joonas Niilola  gentoo.org>

 app-admin/doctl/Manifest|  1 +
 app-admin/doctl/doctl-1.56.0.ebuild | 44 +
 2 files changed, 45 insertions(+)

diff --git a/app-admin/doctl/Manifest b/app-admin/doctl/Manifest
index 2b23d16cf2c..7dc7e774e33 100644
--- a/app-admin/doctl/Manifest
+++ b/app-admin/doctl/Manifest
@@ -1 +1,2 @@
 DIST doctl-1.55.0.tar.gz 5157504 BLAKE2B 
1d3db2ee4ca71a459456e72f035648c5ba73c5372c3369b360e1ee3cc44ec1155295e5f425611c307371f902c7ffed7dbce2f959266f79ecb8f149144fc86596
 SHA512 
6cea86e184ea25d5a6740d4090148fbe053ce93ebe8f2344f5a2bf62283381ed2a9574862a5ba39f34a52bf85af550313b7dd316a321f31089673f898d37cf78
+DIST doctl-1.56.0.tar.gz 5163349 BLAKE2B 
10f169f7ccf31b416509043f42bff3fd60a5618530217b46d2bd0797d70eba914d314b376b5fdd801ba12ee4746e17b4e7a33316d9adcb95403ac3a92152d86e
 SHA512 
4102f58ea0925b110d4ddf2146cdec0a4252881b7724c34c4ef0c86f848b107380d6b425e11a885841d39f52d6cb00bfab5671d663efcfe5ba02dcae8b5975c9

diff --git a/app-admin/doctl/doctl-1.56.0.ebuild 
b/app-admin/doctl/doctl-1.56.0.ebuild
new file mode 100644
index 000..c1ed045f556
--- /dev/null
+++ b/app-admin/doctl/doctl-1.56.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+IUSE=""
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: app-admin/doctl/

2021-02-01 Thread Joonas Niilola
commit: 0cb85bc9eb54608aa28045ee1a45e02dc7041028
Author: Vladimir Pavljuchenkov (SpiderX)  spiderx  dp 
 ua>
AuthorDate: Sat Mar 30 15:38:31 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Feb  1 13:22:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cb85bc9

app-admin/doctl: new ebuild

A command line tool for DigitalOcean services

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Vladimir Pavljuchenkov  spiderx.dp.ua>
Closes: https://github.com/gentoo/gentoo/pull/11546
Signed-off-by: Joonas Niilola  gentoo.org>

 app-admin/doctl/Manifest|  1 +
 app-admin/doctl/doctl-1.55.0.ebuild | 40 
 app-admin/doctl/doctl-.ebuild   | 46 +
 app-admin/doctl/metadata.xml| 20 
 4 files changed, 107 insertions(+)

diff --git a/app-admin/doctl/Manifest b/app-admin/doctl/Manifest
new file mode 100644
index 000..2b23d16cf2c
--- /dev/null
+++ b/app-admin/doctl/Manifest
@@ -0,0 +1 @@
+DIST doctl-1.55.0.tar.gz 5157504 BLAKE2B 
1d3db2ee4ca71a459456e72f035648c5ba73c5372c3369b360e1ee3cc44ec1155295e5f425611c307371f902c7ffed7dbce2f959266f79ecb8f149144fc86596
 SHA512 
6cea86e184ea25d5a6740d4090148fbe053ce93ebe8f2344f5a2bf62283381ed2a9574862a5ba39f34a52bf85af550313b7dd316a321f31089673f898d37cf78

diff --git a/app-admin/doctl/doctl-1.55.0.ebuild 
b/app-admin/doctl/doctl-1.55.0.ebuild
new file mode 100644
index 000..8241168248a
--- /dev/null
+++ b/app-admin/doctl/doctl-1.55.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+IUSE=""
+
+src_compile() {
+   GOFLAGS="-v -x -mod=vendor" \
+   go build ./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-.ebuild 
b/app-admin/doctl/doctl-.ebuild
new file mode 100644
index 000..59e3c4d9aa3
--- /dev/null
+++ b/app-admin/doctl/doctl-.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGIT_REPO_URI="https://github.com/digitalocean/${PN}.git";
+
+inherit bash-completion-r1 git-r3 go-module
+
+DESCRIPTION="A command line tool for DigitalOcean services"
+HOMEPAGE="https://github.com/digitalocean/doctl";
+SRC_URI=""
+
+LICENSE="Apache-2.0 MIT BSD BSD-2 ISC MPL-2.0"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+src_unpack() {
+   git-r3_src_unpack
+}
+
+src_compile() {
+   GOFLAGS="-v -x -mod=vendor" \
+   go build ./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/metadata.xml b/app-admin/doctl/metadata.xml
new file mode 100644
index 000..02d7430b53a
--- /dev/null
+++ b/app-admin/doctl/metadata.xml
@@ -0,0 +1,20 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   spid...@spiderx.dp.ua
+   Vladimir Pavljuchenkov
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   The official DigitalOcean command-line client,
+   which leverages the DigitalOcean API to provide access
+   to DigitalOcean services.
+   
+   
+   digitalocean/doctl
+   
+