Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Aug 2019 18:58:59 +0000 (UTC)
From:      Joseph Mingrone <jrm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r509966 - head/sysutils/doctl
Message-ID:  <201908261858.x7QIwxXI074391@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jrm
Date: Mon Aug 26 18:58:59 2019
New Revision: 509966
URL: https://svnweb.freebsd.org/changeset/ports/509966

Log:
  sysutils/doctl: Update to v1.28.0 and use Go Modules [1]
  
  [1] - Upstream switched from dependencies to modules in 034d856 (2019-06-20)
      - No need to set GO_PKGNAME as it is redundant with modules
      - Switching to modules fixes the build with upcoming go1.13
  
  PR:		240073
  Submitted by:	dg@syrec.org [1]
  Sponsored by:	DigitalOcean [2]
  
  [2] DigitalOcean provided VM credit to test doctl

Modified:
  head/sysutils/doctl/Makefile   (contents, props changed)
  head/sysutils/doctl/distinfo   (contents, props changed)

Modified: head/sysutils/doctl/Makefile
==============================================================================
--- head/sysutils/doctl/Makefile	Mon Aug 26 18:29:06 2019	(r509965)
+++ head/sysutils/doctl/Makefile	Mon Aug 26 18:58:59 2019	(r509966)
@@ -2,7 +2,7 @@
 
 PORTNAME=	doctl
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.27.0
+DISTVERSION=	1.28.0
 CATEGORIES=	sysutils
 
 MAINTAINER=	jrm@FreeBSD.org
@@ -11,12 +11,11 @@ COMMENT=	Command line tool for DigitalOcean services
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-USES=		go
+USES=		go:modules
 USE_GITHUB=	yes
 GH_ACCOUNT=	digitalocean
 
-GO_PKGNAME=	github.com/${GH_ACCOUNT}/${PORTNAME}
-GO_TARGET=	${GO_PKGNAME}/cmd/${PORTNAME}
+GO_TARGET=	./cmd/${PORTNAME}
 
 PLIST_FILES=	bin/doctl
 

Modified: head/sysutils/doctl/distinfo
==============================================================================
--- head/sysutils/doctl/distinfo	Mon Aug 26 18:29:06 2019	(r509965)
+++ head/sysutils/doctl/distinfo	Mon Aug 26 18:58:59 2019	(r509966)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1565356126
-SHA256 (digitalocean-doctl-v1.27.0_GH0.tar.gz) = a91e7d78da62bc965a9440cb087e5583d945ce10a3e59211992a304a16f26cad
-SIZE (digitalocean-doctl-v1.27.0_GH0.tar.gz) = 3149741
+TIMESTAMP = 1566826763
+SHA256 (digitalocean-doctl-v1.28.0_GH0.tar.gz) = eafb41457c4fb279762b1a81606130bd8f02f0390df77b032d11108666daff49
+SIZE (digitalocean-doctl-v1.28.0_GH0.tar.gz) = 3173494



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908261858.x7QIwxXI074391>