git: 0027a0da22d1 - main - devel/gocheese: Update 2.5.0 -> 3.5.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 15 Oct 2022 08:29:02 UTC
The branch main has been updated by yuri:

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

commit 0027a0da22d1574ff00d2584192debb09be79f38
Author:     Artyom Davidov <ard_1@mail.ru>
AuthorDate: 2022-10-15 08:21:49 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-10-15 08:28:59 +0000

    devel/gocheese: Update 2.5.0 -> 3.5.0
    
    PR:             264945
    Approved by:    swills@ (maintainer's timeout; 117 days)
---
 devel/gocheese/Makefile | 21 ++++++++++-----------
 devel/gocheese/distinfo |  6 +++---
 2 files changed, 13 insertions(+), 14 deletions(-)

diff --git a/devel/gocheese/Makefile b/devel/gocheese/Makefile
index 77f5360be713..0d7534e252a1 100644
--- a/devel/gocheese/Makefile
+++ b/devel/gocheese/Makefile
@@ -1,30 +1,29 @@
 PORTNAME=	gocheese
-PORTVERSION=	2.5.0
-PORTREVISION=	6
+DISTVERSION=	3.5.0
 CATEGORIES=	devel python
-MASTER_SITES=	http://www.gocheese.cypherpunks.ru/
+MASTER_SITES=	http://www.gocheese.cypherpunks.ru/download/
 
 MAINTAINER=	swills@FreeBSD.org
 COMMENT=	Python private package repository and caching proxy
-WWW=		http://gocheese.cypherpunks.ru/
+WWW=		http://www.gocheese.cypherpunks.ru/
 
-LICENSE=	GPLv2
+LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		go:no_targets tar:xz
+USES=		go tar:zst
+
+GO_PKGNAME=	go.cypherpunks.ru/gocheese/v3
+GO_TARGET=	go.cypherpunks.ru/gocheese/v3:${PORTNAME}
 
 INFO=		${PORTNAME}
 PLIST_FILES=	${DOCSDIR}/README \
 		bin/${PORTNAME} \
 		bin/pyshop2packages.sh
 
-do-build:
-	@cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} GO111MODULE=off ${GO_CMD} build -ldflags="-s -w" -o gocheese go.cypherpunks.ru/gocheese/v2
-
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_PROGRAM} ${WRKDIR}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
 	${INSTALL_SCRIPT} ${WRKSRC}/contrib/pyshop2packages.sh ${STAGEDIR}${PREFIX}/bin/
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
+	${INSTALL_DATA} ${WRKSRC}/doc/${PORTNAME}.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
diff --git a/devel/gocheese/distinfo b/devel/gocheese/distinfo
index f5a8193c50d3..ad48df7ba703 100644
--- a/devel/gocheese/distinfo
+++ b/devel/gocheese/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1607297840
-SHA256 (gocheese-2.5.0.tar.xz) = c437ad4d33e899f69de7fc2892f5c49c8409913eea26ba9518144870d74107b4
-SIZE (gocheese-2.5.0.tar.xz) = 113316
+TIMESTAMP = 1656427710
+SHA256 (gocheese-3.5.0.tar.zst) = 2711ce967cb81c944b0629ab146622e202cef97b83d9305cbdc99b9d8bb26241
+SIZE (gocheese-3.5.0.tar.zst) = 69909