pkgsrc-WIP-changes archive

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

Import go-concurrent-20180306 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:43:16 2021 +0100
Changeset:	edf6f4cf2176aeecf2cf6baa91b3fa99f2c34819

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

Log Message:
Import go-concurrent-20180306 to wip

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

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

diffstat:
 Makefile                 |  1 +
 go-current/DESCR         |  2 ++
 go-current/Makefile      | 20 ++++++++++++++++++++
 go-current/PLIST         | 12 ++++++++++++
 go-current/buildlink3.mk | 15 +++++++++++++++
 go-current/distinfo      |  6 ++++++
 6 files changed, 56 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 3c12261f35..bbb8ac7c87 100644
--- a/Makefile
+++ b/Makefile
@@ -1183,6 +1183,7 @@ SUBDIR+=	go-circbuf
 SUBDIR+=	go-collectd
 SUBDIR+=	go-color
 SUBDIR+=	go-cyclo
+SUBDIR+=	go-concurrent
 SUBDIR+=	go-dotenv
 SUBDIR+=	go-easyjson
 SUBDIR+=	go-err113
diff --git a/go-current/DESCR b/go-current/DESCR
new file mode 100644
index 0000000000..aa1529924c
--- /dev/null
+++ b/go-current/DESCR
@@ -0,0 +1,2 @@
+# $NetBSD: DESCR,v 1.1 2020/12/31 14:34:12 jihbed Exp $
+Golang concurrency utilities
diff --git a/go-current/Makefile b/go-current/Makefile
new file mode 100644
index 0000000000..ef91becc1a
--- /dev/null
+++ b/go-current/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2020/12/31 14:34:12 jihbed Exp $
+
+DISTNAME=	concurrent-20180306
+PKGNAME=	go-${DISTNAME}
+PKGVERSION=	1
+GITHUB_PROJECT=	concurrent
+GITHUB_TAG=	bacd9c7ef1dd9b15be4a9909b8ac7a4e313eec94
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=modern-go/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/modern-go/concurrent/
+COMMENT=	Golang concurrency utilities
+LICENSE=	apache-2.0
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH=	github.com/modern-go/${GITHUB_PROJECT}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-current/PLIST b/go-current/PLIST
new file mode 100644
index 0000000000..fe6927690a
--- /dev/null
+++ b/go-current/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/modern-go/concurrent.a
+gopkg/src/github.com/modern-go/concurrent/LICENSE
+gopkg/src/github.com/modern-go/concurrent/README.md
+gopkg/src/github.com/modern-go/concurrent/executor.go
+gopkg/src/github.com/modern-go/concurrent/go_above_${PKGVERSION}9.go
+gopkg/src/github.com/modern-go/concurrent/go_below_${PKGVERSION}9.go
+gopkg/src/github.com/modern-go/concurrent/log.go
+gopkg/src/github.com/modern-go/concurrent/map_test.go
+gopkg/src/github.com/modern-go/concurrent/test.sh
+gopkg/src/github.com/modern-go/concurrent/unbounded_executor.go
+gopkg/src/github.com/modern-go/concurrent/unbounded_executor_test.go
diff --git a/go-current/buildlink3.mk b/go-current/buildlink3.mk
new file mode 100644
index 0000000000..206df7225f
--- /dev/null
+++ b/go-current/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/12/31 14:34:12 jihbed Exp $
+
+BUILDLINK_TREE+=	go-concurrent
+
+.if !defined(GO_CONCURRENT_BUILDLINK3_MK)
+GO_CONCURRENT_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-concurrent=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-concurrent?=		build
+
+BUILDLINK_API_DEPENDS.go-concurrent+=	go-concurrent>=20180306
+BUILDLINK_PKGSRCDIR.go-concurrent?=	../../wip/go-current
+.endif	# GO_CONCURRENT_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-concurrent
diff --git a/go-current/distinfo b/go-current/distinfo
new file mode 100644
index 0000000000..944645fc10
--- /dev/null
+++ b/go-current/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (concurrent-20180306-bacd9c7ef1dd9b15be4a9909b8ac7a4e313eec94.tar.gz) = bdae540ed12640f45f25061e6befb457a6a356d9
+RMD160 (concurrent-20180306-bacd9c7ef1dd9b15be4a9909b8ac7a4e313eec94.tar.gz) = 41999c301ed39ff05bbcf6e33736126c0f8daf43
+SHA512 (concurrent-20180306-bacd9c7ef1dd9b15be4a9909b8ac7a4e313eec94.tar.gz) = bca1593dea7cd004a0191420ccad56cffb91bc5523434f50920ce25c2ee82dc6a756e2eefdcee94ae0bb403fea881e42bf403d6218d6169f30dc9288e72d1c36
+Size (concurrent-20180306-bacd9c7ef1dd9b15be4a9909b8ac7a4e313eec94.tar.gz) = 7527 bytes


Home | Main Index | Thread Index | Old Index