pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/go-gocode
Module Name: pkgsrc
Committed By: bsiegert
Date: Tue Nov 14 17:51:22 UTC 2023
Modified Files:
pkgsrc/devel/go-gocode: Makefile
Added Files:
pkgsrc/devel/go-gocode/files: go.mod
Log Message:
go-gocode: change build to Go module
Arguably, this package should be removed: last release in 2017,
unmaintained, with a clear successor (devel/gopls).
To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 pkgsrc/devel/go-gocode/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/go-gocode/files/go.mod
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/go-gocode/Makefile
diff -u pkgsrc/devel/go-gocode/Makefile:1.58 pkgsrc/devel/go-gocode/Makefile:1.59
--- pkgsrc/devel/go-gocode/Makefile:1.58 Fri Nov 10 15:45:07 2023
+++ pkgsrc/devel/go-gocode/Makefile Tue Nov 14 17:51:22 2023
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.58 2023/11/10 15:45:07 bsiegert Exp $
+# $NetBSD: Makefile,v 1.59 2023/11/14 17:51:22 bsiegert Exp $
DISTNAME= gocode-20170907
PKGNAME= go-${DISTNAME}
-PKGREVISION= 57
+PKGREVISION= 58
MASTER_SITES= ${MASTER_SITE_GITHUB:=nsf/}
CATEGORIES= devel
GITHUB_PROJECT= gocode
@@ -13,8 +13,10 @@ HOMEPAGE= https://github.com/nsf/gocode
COMMENT= Autocompletion daemon for Go
LICENSE= mit
-GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}
-GO_SRCPATH= github.com/nsf/${GITHUB_PROJECT}
+WRKSRC= ${WRKDIR}/gocode-${GITHUB_TAG}
-.include "../../lang/go/go-package.mk"
+post-extract:
+ ${CP} ${FILESDIR}/go.mod ${WRKSRC}
+
+.include "../../lang/go/go-module.mk"
.include "../../mk/bsd.pkg.mk"
Added files:
Index: pkgsrc/devel/go-gocode/files/go.mod
diff -u /dev/null pkgsrc/devel/go-gocode/files/go.mod:1.1
--- /dev/null Tue Nov 14 17:51:23 2023
+++ pkgsrc/devel/go-gocode/files/go.mod Tue Nov 14 17:51:22 2023
@@ -0,0 +1,3 @@
+module github.com/nsf/gocode
+
+go 1.20
Home |
Main Index |
Thread Index |
Old Index