go-ants-2.4.0 import to wip

This commit is contained in:
K.I.A.Derouiche 2020-12-29 01:48:44 +01:00
parent 3997e98025
commit 90cb3d45f3
5 changed files with 70 additions and 0 deletions

5
go-ants/DESCR Normal file
View File

@ -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.

18
go-ants/Makefile Normal file
View File

@ -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
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"

26
go-ants/PLIST Normal file
View File

@ -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

15
go-ants/buildlink3.mk Normal file
View File

@ -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

6
go-ants/distinfo Normal file
View File

@ -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