go-bpool-20190530 import to wip

This commit is contained in:
K.I.A.Derouiche 2020-12-29 01:32:18 +01:00
parent a2332e27c8
commit 82ce394a5a
6 changed files with 57 additions and 0 deletions

View File

@ -1170,6 +1170,7 @@ SUBDIR+= gnutls-guile
SUBDIR+= go-aurora
SUBDIR+= go-backoff
SUBDIR+= go-bindata
SUBDIR+= go-bpool
SUBDIR+= go-circbuf
SUBDIR+= go-collectd
SUBDIR+= go-color

2
go-bpool/DESCR Normal file
View File

@ -0,0 +1,2 @@
Package bpool implements leaky pools of byte
arrays and Buffers as bounded channels.

18
go-bpool/Makefile Normal file
View File

@ -0,0 +1,18 @@
# $NetBSD$
DISTNAME= go-bpool-20190530
GITHUB_PROJECT= bpool
GITHUB_TAG= 03653db5a59cd88b481403d312d7c324b56af377
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=oxtoacart/}
MAINTAINER= kamelderouiche@yahoo.com
HOMEPAGE= https://github.com/oxtoacart/bpool/
COMMENT= Buffer/Byte pool for Go
LICENSE= apache-2.0
GO_SRCPATH= github.com/oxtoacart/bpool
GO_DIST_BASE= bpool-${GITHUB_TAG}
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"

15
go-bpool/PLIST Normal file
View File

@ -0,0 +1,15 @@
@comment $NetBSD$
gopkg/pkg/${GO_PLATFORM}/github.com/oxtoacart/bpool.a
gopkg/src/github.com/oxtoacart/bpool/LICENSE
gopkg/src/github.com/oxtoacart/bpool/README.md
gopkg/src/github.com/oxtoacart/bpool/bpool.go
gopkg/src/github.com/oxtoacart/bpool/bufferpool.go
gopkg/src/github.com/oxtoacart/bpool/bufferpool_test.go
gopkg/src/github.com/oxtoacart/bpool/bytepool.go
gopkg/src/github.com/oxtoacart/bpool/bytepool_test.go
gopkg/src/github.com/oxtoacart/bpool/byteslice.go
gopkg/src/github.com/oxtoacart/bpool/byteslice_test.go
gopkg/src/github.com/oxtoacart/bpool/go.mod
gopkg/src/github.com/oxtoacart/bpool/go.sum
gopkg/src/github.com/oxtoacart/bpool/sizedbufferpool.go
gopkg/src/github.com/oxtoacart/bpool/sizedbufferpool_test.go

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

@ -0,0 +1,15 @@
# $NetBSD$
BUILDLINK_TREE+= go-bpool
.if !defined(GO_BPOOL_BUILDLINK3_MK)
GO_BPOOL_BUILDLINK3_MK:=
BUILDLINK_CONTENTS_FILTER.go-bpool= ${EGREP} gopkg/
BUILDLINK_DEPMETHOD.go-bpool?= build
BUILDLINK_API_DEPENDS.go-bpool+= go-bpool>=20190530
BUILDLINK_PKGSRCDIR.go-bpool?= ../../wip/go-bpool
.endif # GO_BPOOL_BUILDLINK3_MK
BUILDLINK_TREE+= -go-bpool

6
go-bpool/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (go-bpool-20190530-03653db5a59cd88b481403d312d7c324b56af377.tar.gz) = d3e6b83baa8518d691fb1c6a96036afa82db168e
RMD160 (go-bpool-20190530-03653db5a59cd88b481403d312d7c324b56af377.tar.gz) = eff1f278d53fb8723889503791cbe7f462cced1e
SHA512 (go-bpool-20190530-03653db5a59cd88b481403d312d7c324b56af377.tar.gz) = ff931085c6ea3799ebc0c575cd9cf04d0fce7a736d54184f3cc401326b8e811bfade60d2fbd7cb6e8bc085045a4af9268783491e04636abe2d2ec964697b0671
Size (go-bpool-20190530-03653db5a59cd88b481403d312d7c324b56af377.tar.gz) = 8482 bytes