Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions srcpkgs/doctl/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'doctl'
pkgname=doctl
version=1.100.0
revision=2
version=1.166.0
revision=1
build_style=go
go_import_path="github.com/digitalocean/doctl"
go_package="${go_import_path}/cmd/doctl"
Expand All @@ -10,10 +10,18 @@ _major=${_maj_min%.*}
_minor=${_maj_min#*.}
_patch=${version#*.*.*}
go_ldflags="-X github.com/digitalocean/doctl.Major=$_major -X github.com/digitalocean/doctl.Minor=$_minor -X github.com/digitalocean/doctl.Patch=$_patch -X github.com/digitalocean/doctl.Label=voidlinux"
# TestUserAgent/dev_version fails because the version string carries Label=voidlinux suffix instead of "-dev"
# TestRunAppsDevConfigSet & Unset require a git checkout, not contained in src tarball
make_check_args="-skip TestUserAgent/dev_version|TestRunAppsDevConfigSet|TestRunAppsDevConfigUnset"
short_desc="Command line tool for DigitalOcean services"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/digitalocean/doctl"
changelog="https://github.com/digitalocean/doctl/releases"
distfiles="https://github.com/digitalocean/doctl/archive/v${version}.tar.gz"
checksum=ecfbcdb576271e79834ae28fe0cd7bcb29307f68f179de247af1a68015a755cd
checksum=6a8c7ea59105f6274be9efeda947c275cd64b0e1f9f3112c9b2d6385d7994007

# contains tests with int, causes overflow on 32-bit targets
if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
make_check_args+="|TestRun/doctl/compute/reserved-ipv6-action|TestActivationsList/multiple_flags_and_arg"
fi