pkgsrc-WIP-changes archive

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

Import go-prealloc-20180630 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Mon Jan 18 14:38:24 2021 +0100
Changeset:	3c8f21a682b6cc70c5bd3f813d8aace9a345873d

Modified Files:
	Makefile
Added Files:
	go-prealloc/DESCR
	go-prealloc/Makefile
	go-prealloc/PLIST
	go-prealloc/buildlink3.mk
	go-prealloc/distinfo

Log Message:
Import go-prealloc-20180630 to wip

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

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

diffstat:
 Makefile                  |  1 +
 go-prealloc/DESCR         |  2 ++
 go-prealloc/Makefile      | 18 ++++++++++++++++++
 go-prealloc/PLIST         |  7 +++++++
 go-prealloc/buildlink3.mk | 15 +++++++++++++++
 go-prealloc/distinfo      |  6 ++++++
 6 files changed, 49 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 751ed65ab9..328f0d66d7 100644
--- a/Makefile
+++ b/Makefile
@@ -1248,6 +1248,7 @@ SUBDIR+=	go-pio
 SUBDIR+=	go-pkcs7
 SUBDIR+=	go-pointer
 SUBDIR+=	go-pool
+SUBDIR+=	go-prealloc
 SUBDIR+=	go-properties-map
 SUBDIR+=	go-protobuf-go
 SUBDIR+=	go-python
diff --git a/go-prealloc/DESCR b/go-prealloc/DESCR
new file mode 100644
index 0000000000..3dcf787331
--- /dev/null
+++ b/go-prealloc/DESCR
@@ -0,0 +1,2 @@
+prealloc is a Go static analysis tool to find slice
+declarations that could potentially be preallocated.
diff --git a/go-prealloc/Makefile b/go-prealloc/Makefile
new file mode 100644
index 0000000000..afe8482ebc
--- /dev/null
+++ b/go-prealloc/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	go-prealloc-20180630
+GITHUB_PROJECT=	prealloc
+GITHUB_TAG=	215b22d
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=golangci/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/golangci/prealloc
+COMMENT=	TODO: Short description of the package
+#LICENSE=	# TODO: (see mk/license.mk)
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${GITHUB_TAG}*
+GO_SRCPATH=	https://github.com/golangci/prealloc
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-prealloc/PLIST b/go-prealloc/PLIST
new file mode 100644
index 0000000000..c90733d319
--- /dev/null
+++ b/go-prealloc/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/https:/github.com/golangci/prealloc.a
+gopkg/src/https:/github.com/golangci/prealloc/LICENSE
+gopkg/src/https:/github.com/golangci/prealloc/README.md
+gopkg/src/https:/github.com/golangci/prealloc/import.go
+gopkg/src/https:/github.com/golangci/prealloc/prealloc.go
+gopkg/src/https:/github.com/golangci/prealloc/prealloc_test.go
diff --git a/go-prealloc/buildlink3.mk b/go-prealloc/buildlink3.mk
new file mode 100644
index 0000000000..fa934179ee
--- /dev/null
+++ b/go-prealloc/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-prealloc
+
+.if !defined(GO_PREALLOC_BUILDLINK3_MK)
+GO_PREALLOC_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-prealloc=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-prealloc?=	build
+
+BUILDLINK_API_DEPENDS.go-prealloc+=	go-prealloc>=20180630
+BUILDLINK_PKGSRCDIR.go-prealloc?=	../../wip/go-prealloc
+.endif	# GO_PREALLOC_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-prealloc
diff --git a/go-prealloc/distinfo b/go-prealloc/distinfo
new file mode 100644
index 0000000000..212f351368
--- /dev/null
+++ b/go-prealloc/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-prealloc-20180630-215b22d.tar.gz) = caccaa53bfd84fe69b85450f422655570d92cee7
+RMD160 (go-prealloc-20180630-215b22d.tar.gz) = 76e44b09c4315919c65879be493c925cca663f4a
+SHA512 (go-prealloc-20180630-215b22d.tar.gz) = be1ecc0ccaceb77a18d7aefe02d16fe65ef696f0317dcffbe88ab04f864f965ae81bc93eb291d30c1ef84d79e45dfe80e43377751641f4e0e58e84d97064cf8a
+Size (go-prealloc-20180630-215b22d.tar.gz) = 9200 bytes


Home | Main Index | Thread Index | Old Index