pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import go-makezero-20201207 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Fri Jan 8 22:15:52 2021 +0100
Changeset:	c9220f2a26923d6b639f890eea271081f5d31b88

Modified Files:
	Makefile
Added Files:
	go-makezero/DESCR
	go-makezero/Makefile
	go-makezero/PLIST
	go-makezero/distinfo

Log Message:
Import go-makezero-20201207 to wip

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c9220f2a26923d6b639f890eea271081f5d31b88

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile             |  1 +
 go-makezero/DESCR    |  3 +++
 go-makezero/Makefile | 22 ++++++++++++++++++++++
 go-makezero/PLIST    | 14 ++++++++++++++
 go-makezero/distinfo |  6 ++++++
 5 files changed, 46 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index f4c52c188c..2748da63ec 100644
--- a/Makefile
+++ b/Makefile
@@ -1203,6 +1203,7 @@ SUBDIR+=	go-kr-text
 SUBDIR+=	go-log
 SUBDIR+=	go-lzw
 SUBDIR+=	go-madon
+SUBDIR+=	go-makezero
 SUBDIR+=	go-mp3
 SUBDIR+=	go-notify
 SUBDIR+=	go-param
diff --git a/go-makezero/DESCR b/go-makezero/DESCR
new file mode 100644
index 0000000000..b3096eb962
--- /dev/null
+++ b/go-makezero/DESCR
@@ -0,0 +1,3 @@
+makezero is a Go static analysis tool to find slice declarations 
+that are not initialized with zero length and are later used with
+append.
diff --git a/go-makezero/Makefile b/go-makezero/Makefile
new file mode 100644
index 0000000000..dc0177cbcd
--- /dev/null
+++ b/go-makezero/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+DISTNAME=	makezero-20201207
+PKGNAME=	go-${DISTNAME}
+GITHUB_PROJECT=	makezero
+GITHUB_TAG=	7b7cdbb3025a82245521007c82a66e9b1a347ca2
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=ashanbrown/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/ashanbrown/makezero/
+COMMENT=	Linter to ensure that slices are not initialized with non-zero length
+LICENSE=	apache-2.0
+
+GO_SRCPATH=	github.com/ashanbrown/makezero
+GO_DIST_BASE=	${GITHUB_PROJECT}-${GITHUB_TAG}
+
+.include "../../devel/go-mod/buildlink3.mk"
+.include "../../devel/go-tools/buildlink3.mk"
+.include "../../devel/go-xerrors/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-makezero/PLIST b/go-makezero/PLIST
new file mode 100644
index 0000000000..fd20dc9e23
--- /dev/null
+++ b/go-makezero/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD$
+bin/makezero
+gopkg/pkg/${GO_PLATFORM}/github.com/ashanbrown/makezero/examples.a
+gopkg/pkg/${GO_PLATFORM}/github.com/ashanbrown/makezero/makezero.a
+gopkg/src/github.com/ashanbrown/makezero/LICENSE
+gopkg/src/github.com/ashanbrown/makezero/Makefile
+gopkg/src/github.com/ashanbrown/makezero/README.md
+gopkg/src/github.com/ashanbrown/makezero/examples/example.go
+gopkg/src/github.com/ashanbrown/makezero/examples/expected_results.txt
+gopkg/src/github.com/ashanbrown/makezero/go.mod
+gopkg/src/github.com/ashanbrown/makezero/go.sum
+gopkg/src/github.com/ashanbrown/makezero/main.go
+gopkg/src/github.com/ashanbrown/makezero/makezero/makezero.go
+gopkg/src/github.com/ashanbrown/makezero/makezero/makezero_test.go
diff --git a/go-makezero/distinfo b/go-makezero/distinfo
new file mode 100644
index 0000000000..c3e8e2ccd0
--- /dev/null
+++ b/go-makezero/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (makezero-20201207-7b7cdbb3025a82245521007c82a66e9b1a347ca2.tar.gz) = 06502bf90c75e56e5f829f827a88d3bd38e497bf
+RMD160 (makezero-20201207-7b7cdbb3025a82245521007c82a66e9b1a347ca2.tar.gz) = 8292c80c9a9cbf778f56baee5b6ecc4b08c920de
+SHA512 (makezero-20201207-7b7cdbb3025a82245521007c82a66e9b1a347ca2.tar.gz) = 66de90e3adbeb5f71d1347ffd9a38db470d2031b9a77d72a1cd939ca7e233aeb1aa0e0aef71cc6a5ba8d93be42190abaac1ce0ac208d40d562603e22d3d7e05d
+Size (makezero-20201207-7b7cdbb3025a82245521007c82a66e9b1a347ca2.tar.gz) = 6400 bytes


Home | Main Index | Thread Index | Old Index