pkgsrc-WIP-changes archive

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

go-ants-2.4.0 import to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamelderouiche%yahoo.com@localhost>
Pushed By:	jihbed
Date:		Tue Dec 29 01:48:44 2020 +0100
Changeset:	90cb3d45f392adddce3a9e48a63a905338e16b9f

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

Log Message:
go-ants-2.4.0 import to wip

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

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

diffstat:
 go-ants/DESCR         |  5 +++++
 go-ants/Makefile      | 18 ++++++++++++++++++
 go-ants/PLIST         | 26 ++++++++++++++++++++++++++
 go-ants/buildlink3.mk | 15 +++++++++++++++
 go-ants/distinfo      |  6 ++++++
 5 files changed, 70 insertions(+)

diffs:
diff --git a/go-ants/DESCR b/go-ants/DESCR
new file mode 100644
index 0000000000..aa627a182d
--- /dev/null
+++ b/go-ants/DESCR
@@ -0,0 +1,5 @@
+Library ants implements a goroutine pool
+with fixed capacity, managing and recycling
+a massive number of goroutines, allowing
+developers to limit the number of goroutines
+in your concurrent programs.
diff --git a/go-ants/Makefile b/go-ants/Makefile
new file mode 100644
index 0000000000..4ec55e8111
--- /dev/null
+++ b/go-ants/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	go-ants-2.4.0
+GITHUB_PROJECT=	ants
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=panjf2000/}
+GITHUB_TAG=	${PKGVERSION_NOREV}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/panjf2000/ants/
+COMMENT=	High-performance and low-cost goroutine pool in Go
+LICENSE=	mit
+
+GO_SRCPATH=	github.com/panjf2000/ants
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-ants/PLIST b/go-ants/PLIST
new file mode 100644
index 0000000000..ef3a477d37
--- /dev/null
+++ b/go-ants/PLIST
@@ -0,0 +1,26 @@
+@comment $NetBSD$
+bin/examples
+gopkg/pkg/${GO_PLATFORM}/github.com/panjf2000/ants.a
+gopkg/pkg/${GO_PLATFORM}/github.com/panjf2000/ants/internal.a
+gopkg/src/github.com/panjf2000/ants/CODE_OF_CONDUCT.md
+gopkg/src/github.com/panjf2000/ants/CONTRIBUTING.md
+gopkg/src/github.com/panjf2000/ants/LICENSE
+gopkg/src/github.com/panjf2000/ants/README.md
+gopkg/src/github.com/panjf2000/ants/README_ZH.md
+gopkg/src/github.com/panjf2000/ants/ants.go
+gopkg/src/github.com/panjf2000/ants/ants_benchmark_test.go
+gopkg/src/github.com/panjf2000/ants/ants_test.go
+gopkg/src/github.com/panjf2000/ants/examples/main.go
+gopkg/src/github.com/panjf2000/ants/go.mod
+gopkg/src/github.com/panjf2000/ants/go.sum
+gopkg/src/github.com/panjf2000/ants/internal/spinlock.go
+gopkg/src/github.com/panjf2000/ants/options.go
+gopkg/src/github.com/panjf2000/ants/pool.go
+gopkg/src/github.com/panjf2000/ants/pool_func.go
+gopkg/src/github.com/panjf2000/ants/worker.go
+gopkg/src/github.com/panjf2000/ants/worker_array.go
+gopkg/src/github.com/panjf2000/ants/worker_func.go
+gopkg/src/github.com/panjf2000/ants/worker_loop_queue.go
+gopkg/src/github.com/panjf2000/ants/worker_loop_queue_test.go
+gopkg/src/github.com/panjf2000/ants/worker_stack.go
+gopkg/src/github.com/panjf2000/ants/worker_stack_test.go
diff --git a/go-ants/buildlink3.mk b/go-ants/buildlink3.mk
new file mode 100644
index 0000000000..be55e34639
--- /dev/null
+++ b/go-ants/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-ants
+
+.if !defined(GO_ANTS_BUILDLINK3_MK)
+GO_ANTS_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-ants=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-ants?=		build
+
+BUILDLINK_API_DEPENDS.go-ants+=	go-ants>=2.4.0
+BUILDLINK_PKGSRCDIR.go-ants?=	../../wip/go-ants
+.endif	# GO_ANTS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-ants
diff --git a/go-ants/distinfo b/go-ants/distinfo
new file mode 100644
index 0000000000..e44f0a8776
--- /dev/null
+++ b/go-ants/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-ants-2.4.0.tar.gz) = fcc0c57afe05e40c19fba9ed5b743b2c4490ed09
+RMD160 (go-ants-2.4.0.tar.gz) = 03411060f0820e30b8dcff1a9e088d5be32d96e1
+SHA512 (go-ants-2.4.0.tar.gz) = 25f5274ce80b3e1500be87098f6100b188978b46366508bd29166f08aa043292812ac2d1602dda6e147a1d293ebc0a351986fe840aa986edaa4c8dc3952fe081
+Size (go-ants-2.4.0.tar.gz) = 25182 bytes


Home | Main Index | Thread Index | Old Index