Diff doctl-1.79.0 with a doctl-9999

/usr/portage/app-admin/doctl/doctl-9999.ebuild 2023-10-09 14:52:28.144368316 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit bash-completion-r1 edo go-module
6
EGIT_REPO_URI="https://github.com/digitalocean/${PN}.git"
7

  
8
inherit bash-completion-r1 edo git-r3 go-module
7 9

  
8 10
DESCRIPTION="A command line tool for DigitalOcean services"
9 11
HOMEPAGE="https://github.com/digitalocean/doctl"
10
SRC_URI="https://github.com/digitalocean/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
12
SRC_URI=""
11 13

  
12 14
LICENSE="Apache-2.0 MIT BSD BSD-2 ISC MPL-2.0"
13 15
SLOT="0"
14
KEYWORDS="~amd64 ~x86"
16
KEYWORDS=""
17

  
18
src_unpack() {
19
	git-r3_src_unpack
20
}
15 21

  
16 22
src_compile() {
17
	LDFLAGS="-X github.com/digitalocean/doctl.Major=$(ver_cut 1)
18
		-X github.com/digitalocean/doctl.Minor=$(ver_cut 2)
19
		-X github.com/digitalocean/doctl.Patch=$(ver_cut 3-)
20
		-X github.com/digitalocean/doctl.Label=release"
23
	LDFLAGS="-X github.com/digitalocean/doctl.Build=$(git rev-parse --short HEAD)
24
		-X github.com/digitalocean/doctl.Label=dev"
21 25
	GOFLAGS="-v -x -mod=vendor" ego build -ldflags "$LDFLAGS" ./cmd/...
22 26

  
23 27
	local completion
Thank you!