devel/gocheese: Update 2.5.0 -> 3.5.0

PR:		264945
Approved by:	swills@ (maintainer's timeout; 117 days)
This commit is contained in:
Artyom Davidov 2022-10-15 01:21:49 -07:00 committed by Yuri Victorovich
parent 22ecf34113
commit 0027a0da22
2 changed files with 13 additions and 14 deletions

View File

@ -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}

View File

@ -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