git: a46af47ed2a3 - main - sysutils/eksctl: Update to 0.147.0

From: Danilo Egea Gondolfo <danilo_at_FreeBSD.org>
Date: Sun, 02 Jul 2023 17:56:16 UTC
The branch main has been updated by danilo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a46af47ed2a32fb51089b427ae4bc8d3c3f15487

commit a46af47ed2a32fb51089b427ae4bc8d3c3f15487
Author:     Danilo Egea Gondolfo <danilo@FreeBSD.org>
AuthorDate: 2023-07-02 15:17:31 +0000
Commit:     Danilo Egea Gondolfo <danilo@FreeBSD.org>
CommitDate: 2023-07-02 17:52:42 +0000

    sysutils/eksctl: Update to 0.147.0
    
    - Use go:modules
    - Remove aws-iam-authenticator from RUN_DEPENDS. The awscli can be used instead
    - Remove PORTSCOUT filter
---
 sysutils/eksctl/Makefile | 17 +++++++----------
 sysutils/eksctl/distinfo |  8 +++++---
 2 files changed, 12 insertions(+), 13 deletions(-)

diff --git a/sysutils/eksctl/Makefile b/sysutils/eksctl/Makefile
index 702e402eaa7b..9d431c628218 100644
--- a/sysutils/eksctl/Makefile
+++ b/sysutils/eksctl/Makefile
@@ -1,8 +1,7 @@
 PORTNAME=	eksctl
-PORTVERSION=	0.94.0
-PORTREVISION=	11
+PORTVERSION=	0.147.0
+DISTVERSIONPREFIX=	v
 CATEGORIES=	sysutils
-MASTER_SITES=	LOCAL/danilo
 
 MAINTAINER=	danilo@FreeBSD.org
 COMMENT=	CLI for Amazon EKS
@@ -10,17 +9,15 @@ WWW=		https://eksctl.io/
 
 LICENSE=	APACHE20
 
-RUN_DEPENDS=	kubectl:sysutils/kubectl \
-		aws-iam-authenticator:security/aws-iam-authenticator
+RUN_DEPENDS=	kubectl:sysutils/kubectl
 
-USES=		go:modules tar:xz
-
-PORTSCOUT=	limit:^[0-9\.]*$$
+USES=		go:modules
 
 PLIST_FILES=	bin/${PORTNAME}
 
+GO_MODULE=	github.com/weaveworks/${PORTNAME}
 GO_TARGET=	./cmd/${PORTNAME}
-GO_BUILDFLAGS=	-ldflags="-X github.com/weaveworks/eksctl/pkg/version.gitCommit=${PORTVERSION} \
-		-X github.com/weaveworks/eksctl/pkg/version.builtAt=$$(date +'%s')"
+GO_BUILDFLAGS=	-ldflags="-X github.com/weaveworks/eksctl/pkg/version.gitCommit=1e027c53f66a \
+		-X github.com/weaveworks/eksctl/pkg/version.buildDate=$$(date +%Y-%m-%dT%H:%M:%SZ)"
 
 .include <bsd.port.mk>
diff --git a/sysutils/eksctl/distinfo b/sysutils/eksctl/distinfo
index bb0a47041e8f..797ec30ae7a2 100644
--- a/sysutils/eksctl/distinfo
+++ b/sysutils/eksctl/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1651092388
-SHA256 (eksctl-0.94.0.tar.xz) = 23cf60592ab3aa7782de8bc792e8f7541de8166abc02d92c263521d8e3484266
-SIZE (eksctl-0.94.0.tar.xz) = 22635740
+TIMESTAMP = 1688308345
+SHA256 (go/sysutils_eksctl/eksctl-v0.147.0/v0.147.0.mod) = e353b6dab5fddb92d7533de81324905f60585430fef1de28926d47bc7dfb2328
+SIZE (go/sysutils_eksctl/eksctl-v0.147.0/v0.147.0.mod) = 31709
+SHA256 (go/sysutils_eksctl/eksctl-v0.147.0/v0.147.0.zip) = 4404ea261e1b69cd1f33bf14fb0faa374a492374c6147c65d29e646fb56db4c4
+SIZE (go/sysutils_eksctl/eksctl-v0.147.0/v0.147.0.zip) = 11039823