pkgsrc-WIP-changes archive

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

Import go-maligned-20180606 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:43:01 2021 +0100
Changeset:	1eb4fa063522e438431803c6c91a663be19b45ab

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

Log Message:
Import go-maligned-20180606 to wip

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

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

diffstat:
 Makefile                  |  1 +
 go-maligned/DESCR         |  2 ++
 go-maligned/Makefile      | 19 +++++++++++++++++++
 go-maligned/PLIST         |  5 +++++
 go-maligned/buildlink3.mk | 17 +++++++++++++++++
 go-maligned/distinfo      |  6 ++++++
 6 files changed, 50 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 328f0d66d7..7058758de8 100644
--- a/Makefile
+++ b/Makefile
@@ -1234,6 +1234,7 @@ SUBDIR+=	go-makezero
 SUBDIR+=	go-memcache
 SUBDIR+=	go-mp3
 SUBDIR+=	go-mpb
+SUBDIR+=	go-maligned
 SUBDIR+=	go-notify
 SUBDIR+=	go-ole
 SUBDIR+=	go-opentracing
diff --git a/go-maligned/DESCR b/go-maligned/DESCR
new file mode 100644
index 0000000000..14b6519c3d
--- /dev/null
+++ b/go-maligned/DESCR
@@ -0,0 +1,2 @@
+Tool to detect Go structs that would take
+ less memory if their fields were sorted. 
diff --git a/go-maligned/Makefile b/go-maligned/Makefile
new file mode 100644
index 0000000000..2b8aade4a0
--- /dev/null
+++ b/go-maligned/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	go-maligned-20180606
+GITHUB_PROJECT=	maligned
+GITHUB_TAG=	b1d8939
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=golangci/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/golangci/maligned
+COMMENT=	Tool to detect Go structs that would take less memory
+LICENSE=	2-clause-bsd
+
+GO_DIST_BASE=   ${GITHUB_PROJECT}-${GITHUB_TAG}*
+GO_SRCPATH=     https://github.com/golangci/maligned
+
+.include "../../devel/go-tools/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-maligned/PLIST b/go-maligned/PLIST
new file mode 100644
index 0000000000..fda523acbe
--- /dev/null
+++ b/go-maligned/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/https:/github.com/golangci/maligned.a
+gopkg/src/https:/github.com/golangci/maligned/LICENSE
+gopkg/src/https:/github.com/golangci/maligned/README
+gopkg/src/https:/github.com/golangci/maligned/maligned.go
diff --git a/go-maligned/buildlink3.mk b/go-maligned/buildlink3.mk
new file mode 100644
index 0000000000..eab83f3c05
--- /dev/null
+++ b/go-maligned/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-maligned
+
+.if !defined(GO_MALIGNED_BUILDLINK3_MK)
+GO_MALIGNED_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-maligned=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-maligned?=		build
+
+BUILDLINK_API_DEPENDS.go-maligned+=	go-maligned>=20180606
+BUILDLINK_PKGSRCDIR.go-maligned?=	../../wip/go-maligned
+
+.include "../../devel/go-tools/buildlink3.mk"
+.endif	# GO_MALIGNED_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-maligned
diff --git a/go-maligned/distinfo b/go-maligned/distinfo
new file mode 100644
index 0000000000..35371c53ba
--- /dev/null
+++ b/go-maligned/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-maligned-20180606-b1d8939.tar.gz) = 78058746079379d4af83ec80f27396f0ce6301b5
+RMD160 (go-maligned-20180606-b1d8939.tar.gz) = f1ea0e9a8553ba6126698526736610256b966b71
+SHA512 (go-maligned-20180606-b1d8939.tar.gz) = 611f233c23fbb0367372900545d7e827a44cf3799d356d92bb18a3dffe73811a96aa5f32da2933cc7f8cf569a652b15526b54aaa7325dd8abc259d6c1629160f
+Size (go-maligned-20180606-b1d8939.tar.gz) = 3378 bytes


Home | Main Index | Thread Index | Old Index