pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel Add devel/go-bytebufferpool version 1.0.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/a243912695c7
branches: trunk
changeset: 343549:a243912695c7
user: ng0 <ng0%pkgsrc.org@localhost>
date: Wed Nov 06 10:56:14 2019 +0000
description:
Add devel/go-bytebufferpool version 1.0.0
go-bytebufferpool is an implementation of a pool of byte buffers
with anti-memory-waste protection.
The pool may waste limited amount of memory due to fragmentation.
This amount equals to the maximum total size of the
byte buffers in concurrent use.
diffstat:
devel/Makefile | 3 ++-
devel/go-bytebufferpool/DESCR | 5 +++++
devel/go-bytebufferpool/Makefile | 18 ++++++++++++++++++
devel/go-bytebufferpool/PLIST | 11 +++++++++++
devel/go-bytebufferpool/buildlink3.mk | 15 +++++++++++++++
devel/go-bytebufferpool/distinfo | 6 ++++++
6 files changed, 57 insertions(+), 1 deletions(-)
diffs (92 lines):
diff -r 5858f824605f -r a243912695c7 devel/Makefile
--- a/devel/Makefile Wed Nov 06 10:46:15 2019 +0000
+++ b/devel/Makefile Wed Nov 06 10:56:14 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2940 2019/11/06 10:45:25 ng0 Exp $
+# $NetBSD: Makefile,v 1.2941 2019/11/06 10:56:14 ng0 Exp $
#
COMMENT= Development utilities
@@ -367,6 +367,7 @@
SUBDIR+= go-assert
SUBDIR+= go-blackfriday
SUBDIR+= go-buffruneio
+SUBDIR+= go-bytebufferpool
SUBDIR+= go-cast
SUBDIR+= go-check
SUBDIR+= go-cli
diff -r 5858f824605f -r a243912695c7 devel/go-bytebufferpool/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-bytebufferpool/DESCR Wed Nov 06 10:56:14 2019 +0000
@@ -0,0 +1,5 @@
+go-bytebufferpool is an implementation of a pool of byte buffers
+with anti-memory-waste protection.
+The pool may waste limited amount of memory due to fragmentation.
+This amount equals to the maximum total size of the
+byte buffers in concurrent use.
diff -r 5858f824605f -r a243912695c7 devel/go-bytebufferpool/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-bytebufferpool/Makefile Wed Nov 06 10:56:14 2019 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2019/11/06 10:56:14 ng0 Exp $
+
+GITHUB_TAG= v${PKGVERSION_NOREV}
+DISTNAME= go-bytebufferpool-1.0.0
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=valyala/}
+GITHUB_PROJECT= bytebufferpool
+
+MAINTAINER= ng0%NetBSD.org@localhost
+HOMEPAGE= https://github.com/valyala/bytebufferpool/
+COMMENT= Implementation of a pool of byte buffers with anti-memory-waste protection for Go
+LICENSE= mit
+
+GO_SRCPATH= github.com/valyala/bytebufferpool
+GO_DIST_BASE= bytebufferpool-${PKGVERSION_NOREV}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 5858f824605f -r a243912695c7 devel/go-bytebufferpool/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-bytebufferpool/PLIST Wed Nov 06 10:56:14 2019 +0000
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2019/11/06 10:56:14 ng0 Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/valyala/bytebufferpool.a
+gopkg/src/github.com/valyala/bytebufferpool/LICENSE
+gopkg/src/github.com/valyala/bytebufferpool/README.md
+gopkg/src/github.com/valyala/bytebufferpool/bytebuffer.go
+gopkg/src/github.com/valyala/bytebufferpool/bytebuffer_example_test.go
+gopkg/src/github.com/valyala/bytebufferpool/bytebuffer_test.go
+gopkg/src/github.com/valyala/bytebufferpool/bytebuffer_timing_test.go
+gopkg/src/github.com/valyala/bytebufferpool/doc.go
+gopkg/src/github.com/valyala/bytebufferpool/pool.go
+gopkg/src/github.com/valyala/bytebufferpool/pool_test.go
diff -r 5858f824605f -r a243912695c7 devel/go-bytebufferpool/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-bytebufferpool/buildlink3.mk Wed Nov 06 10:56:14 2019 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/11/06 10:56:14 ng0 Exp $
+
+BUILDLINK_TREE+= go-bytebufferpool
+
+.if !defined(GO_BYTEBUFFERPOOL_BUILDLINK3_MK)
+GO_BYTEBUFFERPOOL_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-bytebufferpool= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-bytebufferpool?= build
+
+BUILDLINK_API_DEPENDS.go-bytebufferpool+= go-bytebufferpool>=1.0.0
+BUILDLINK_PKGSRCDIR.go-bytebufferpool?= ../../devel/go-bytebufferpool
+.endif # GO_BYTEBUFFERPOOL_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-bytebufferpool
diff -r 5858f824605f -r a243912695c7 devel/go-bytebufferpool/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-bytebufferpool/distinfo Wed Nov 06 10:56:14 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/11/06 10:56:14 ng0 Exp $
+
+SHA1 (go-bytebufferpool-1.0.0.tar.gz) = 27429ff5ce492f74caf300dcc1520f656c8a6ca8
+RMD160 (go-bytebufferpool-1.0.0.tar.gz) = 465f36e20a1f677e6fcfc5cfe670879d90a111dd
+SHA512 (go-bytebufferpool-1.0.0.tar.gz) = 241a561726adb230a6f158e9f39127993d45217ee788c0ba17ec554f71e7cc6a1a83a799d1fb0df29b449b3827ef6c9eb22b41664103e36dec9c7fb716adc21f
+Size (go-bytebufferpool-1.0.0.tar.gz) = 5025 bytes
Home |
Main Index |
Thread Index |
Old Index