pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   ng0
Date:           Wed Nov  6 10:56:14 UTC 2019

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/go-bytebufferpool: DESCR Makefile PLIST buildlink3.mk
            distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.2940 -r1.2941 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/go-bytebufferpool/DESCR \
    pkgsrc/devel/go-bytebufferpool/Makefile \
    pkgsrc/devel/go-bytebufferpool/PLIST \
    pkgsrc/devel/go-bytebufferpool/buildlink3.mk \
    pkgsrc/devel/go-bytebufferpool/distinfo

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

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.2940 pkgsrc/devel/Makefile:1.2941
--- pkgsrc/devel/Makefile:1.2940        Wed Nov  6 10:45:25 2019
+++ pkgsrc/devel/Makefile       Wed Nov  6 10:56:14 2019
@@ -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-argv
 SUBDIR+=       go-assert
 SUBDIR+=       go-blackfriday
 SUBDIR+=       go-buffruneio
+SUBDIR+=       go-bytebufferpool
 SUBDIR+=       go-cast
 SUBDIR+=       go-check
 SUBDIR+=       go-cli

Added files:

Index: pkgsrc/devel/go-bytebufferpool/DESCR
diff -u /dev/null pkgsrc/devel/go-bytebufferpool/DESCR:1.1
--- /dev/null   Wed Nov  6 10:56:14 2019
+++ pkgsrc/devel/go-bytebufferpool/DESCR        Wed Nov  6 10:56:14 2019
@@ -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.
Index: pkgsrc/devel/go-bytebufferpool/Makefile
diff -u /dev/null pkgsrc/devel/go-bytebufferpool/Makefile:1.1
--- /dev/null   Wed Nov  6 10:56:14 2019
+++ pkgsrc/devel/go-bytebufferpool/Makefile     Wed Nov  6 10:56:14 2019
@@ -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"
Index: pkgsrc/devel/go-bytebufferpool/PLIST
diff -u /dev/null pkgsrc/devel/go-bytebufferpool/PLIST:1.1
--- /dev/null   Wed Nov  6 10:56:14 2019
+++ pkgsrc/devel/go-bytebufferpool/PLIST        Wed Nov  6 10:56:14 2019
@@ -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
Index: pkgsrc/devel/go-bytebufferpool/buildlink3.mk
diff -u /dev/null pkgsrc/devel/go-bytebufferpool/buildlink3.mk:1.1
--- /dev/null   Wed Nov  6 10:56:14 2019
+++ pkgsrc/devel/go-bytebufferpool/buildlink3.mk        Wed Nov  6 10:56:14 2019
@@ -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
Index: pkgsrc/devel/go-bytebufferpool/distinfo
diff -u /dev/null pkgsrc/devel/go-bytebufferpool/distinfo:1.1
--- /dev/null   Wed Nov  6 10:56:14 2019
+++ pkgsrc/devel/go-bytebufferpool/distinfo     Wed Nov  6 10:56:14 2019
@@ -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