public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/doctl/
Date: Mon,  3 Jan 2022 18:40:22 +0000 (UTC)	[thread overview]
Message-ID: <1641235217.f59c5b781ccbccbb5c179e773708e563582b1d05.flow@gentoo> (raw)

commit:     f59c5b781ccbccbb5c179e773708e563582b1d05
Author:     Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua>
AuthorDate: Sat Jan  1 10:11:05 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Jan  3 18:40:17 2022 +0000
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 <AT> spiderx.dp.ua>
Closes: https://github.com/gentoo/gentoo/pull/23611
Signed-off-by: Florian Schmaus <flow <AT> 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 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
+}


             reply	other threads:[~2022-01-03 18:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-03 18:40 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-08-31  8:42 [gentoo-commits] repo/gentoo:master commit in: app-admin/doctl/ Joonas Niilola
2022-08-31  8:42 Joonas Niilola
2022-07-09 12:26 Matthew Smith
2022-07-02 17:35 Joonas Niilola
2022-07-02 17:35 Joonas Niilola
2022-06-07 20:52 Sam James
2022-01-03 18:40 Florian Schmaus
2021-02-28  9:03 Joonas Niilola
2021-02-14 14:40 Joonas Niilola
2021-02-14 14:40 Joonas Niilola
2021-02-01 13:22 Joonas Niilola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1641235217.f59c5b781ccbccbb5c179e773708e563582b1d05.flow@gentoo \
    --to=flow@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox