git: ba5110d0a0c4 - main - devel/mage: Update to 1.15.0

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Tue, 15 Aug 2023 11:46:25 UTC
The branch main has been updated by fernape:

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

commit ba5110d0a0c4a454187b86366ce1f9b3bb247f75
Author:     Gian-Simon Purkert <gspurki@gmail.com>
AuthorDate: 2023-08-14 11:38:15 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-08-15 11:46:13 +0000

    devel/mage: Update to 1.15.0
    
    ChangeLog: https://github.com/magefile/mage/releases/tag/v1.15.0
    
     * Update CI
     * fix erroneous docstring of sh.Exec()
     * Update jQuery to 3.5.0
     * -d dir contains magefiles stop with "No .go files marked with the mage build tag..."
     * mage: cancel context on SIGINT
    
    PR:             273084
    Reported by:    gspurki@gmail.com (maintainer)
---
 devel/mage/Makefile                |  7 +------
 devel/mage/distinfo                |  6 +++---
 devel/mage/files/patch-magefile.go | 17 -----------------
 3 files changed, 4 insertions(+), 26 deletions(-)

diff --git a/devel/mage/Makefile b/devel/mage/Makefile
index d3186dad45ff..f9a9740fe72a 100644
--- a/devel/mage/Makefile
+++ b/devel/mage/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	mage
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.14.0
-PORTREVISION=	8
+DISTVERSION=	1.15.0
 PORTEPOCH=	1
 CATEGORIES=	devel
 
@@ -19,10 +18,6 @@ GH_ACCOUNT=	magefile
 
 PLIST_FILES=	bin/mage
 
-post-patch:
-	@${REINPLACE_CMD} -e "s|%%GH_TAGNAME%%|${GH_TAGNAME}|g; s|%%GH_TAG_COMMIT%%|${GH_TAG_COMMIT}|g" \
-		${WRKSRC}/magefile.go
-
 do-build:
 	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GO_ENV} \
 	${GO_CMD} run bootstrap.go
diff --git a/devel/mage/distinfo b/devel/mage/distinfo
index 61bd0d3c56c8..ee3225b12e68 100644
--- a/devel/mage/distinfo
+++ b/devel/mage/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1663671045
-SHA256 (magefile-mage-v1.14.0_GH0.tar.gz) = 346b82cd4c6af35a6bffcdaed1a6de0947d8b282ce80ee719805e8fea33bc481
-SIZE (magefile-mage-v1.14.0_GH0.tar.gz) = 8801424
+TIMESTAMP = 1691832652
+SHA256 (magefile-mage-v1.15.0_GH0.tar.gz) = 3ce55e39d175d925c015b4dc773cea1fc4d3c64af9edcec6f9b7ab9388b751bf
+SIZE (magefile-mage-v1.15.0_GH0.tar.gz) = 8805332
diff --git a/devel/mage/files/patch-magefile.go b/devel/mage/files/patch-magefile.go
deleted file mode 100644
index c76f643ee9d3..000000000000
--- a/devel/mage/files/patch-magefile.go
+++ /dev/null
@@ -1,17 +0,0 @@
---- magefile.go.orig	2018-04-11 17:03:07 UTC
-+++ magefile.go
-@@ -83,12 +83,14 @@ func flags() (string, error) {
- 
- // tag returns the git tag for the current branch or "" if none.
- func tag() string {
-+	return "%%GH_TAGNAME%%"
- 	s, _ := sh.Output("git", "describe", "--tags")
- 	return s
- }
- 
- // hash returns the git hash for the current repo or "" if none.
- func hash() string {
-+	return "%%GH_TAG_COMMIT%%"
- 	hash, _ := sh.Output("git", "rev-parse", "--short", "HEAD")
- 	return hash
- }