Received: by mail.netbsd.org (Postfix, from userid 605) id 303C6855C5; Thu, 17 Aug 2017 01:30:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id B95D484DA3 for ; Thu, 17 Aug 2017 01:30:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id OuKEvM9tJPjO for ; Thu, 17 Aug 2017 01:30:28 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 0AB6484D85 for ; Thu, 17 Aug 2017 01:30:28 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 08E8CFAD0; Thu, 17 Aug 2017 01:30:28 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1502933428123500" MIME-Version: 1.0 Date: Thu, 17 Aug 2017 01:30:28 +0000 From: "Gavan Fantom" Subject: CVS commit: pkgsrc/devel/go-immutable-radix To: pkgsrc-changes@NetBSD.org Reply-To: gavan@netbsd.org X-Mailer: log_accum Message-Id: <20170817013028.08E8CFAD0@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1502933428123500 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: gavan Date: Thu Aug 17 01:30:27 UTC 2017 Added Files: pkgsrc/devel/go-immutable-radix: DESCR Makefile PLIST buildlink3.mk distinfo Log Message: Add go-immutable-radix package To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/devel/go-immutable-radix/DESCR \ pkgsrc/devel/go-immutable-radix/Makefile \ pkgsrc/devel/go-immutable-radix/PLIST \ pkgsrc/devel/go-immutable-radix/buildlink3.mk \ pkgsrc/devel/go-immutable-radix/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1502933428123500 Content-Disposition: inline Content-Length: 4347 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/devel/go-immutable-radix/DESCR diff -u /dev/null pkgsrc/devel/go-immutable-radix/DESCR:1.1 --- /dev/null Thu Aug 17 01:30:27 2017 +++ pkgsrc/devel/go-immutable-radix/DESCR Thu Aug 17 01:30:27 2017 @@ -0,0 +1,11 @@ +Provides the iradix package that implements an immutable radix tree. The package only provides a single Tree implementation, optimized for sparse nodes. + +As a radix tree, it provides the following: + + O(k) operations. In many cases, this can be faster than a hash table since the hash function is an O(k) operation, and hash tables have very poor cache locality. + Minimum / Maximum value lookups + Ordered iteration + +A tree supports using a transaction to batch multiple updates (insert, delete) in a more efficient manner than performing each operation one at a time. + +For a mutable variant, see go-radix. Index: pkgsrc/devel/go-immutable-radix/Makefile diff -u /dev/null pkgsrc/devel/go-immutable-radix/Makefile:1.1 --- /dev/null Thu Aug 17 01:30:27 2017 +++ pkgsrc/devel/go-immutable-radix/Makefile Thu Aug 17 01:30:27 2017 @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1 2017/08/17 01:30:27 gavan Exp $ + +DISTNAME= go-immutable-radix-0.0.20170725 +MASTER_SITES= ${MASTER_SITE_GITHUB:=hashicorp/} +CATEGORIES= devel +GITHUB_TAG= 8aac2701530899b64bdea735a1de8da899815220 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/hashicorp/go-immutable-radix +COMMENT= An immutable radix tree implementation in Golang + +LICENSE= mpl-2.0 + +GO_DIST_BASE= ${DISTNAME} +GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG} +GO_SRCPATH= github.com/hashicorp/go-immutable-radix + +.include "../../devel/go-golang-lru/buildlink3.mk" +.include "../../lang/go/go-package.mk" +.include "../../mk/bsd.pkg.mk" + Index: pkgsrc/devel/go-immutable-radix/PLIST diff -u /dev/null pkgsrc/devel/go-immutable-radix/PLIST:1.1 --- /dev/null Thu Aug 17 01:30:27 2017 +++ pkgsrc/devel/go-immutable-radix/PLIST Thu Aug 17 01:30:27 2017 @@ -0,0 +1,11 @@ +@comment $NetBSD: PLIST,v 1.1 2017/08/17 01:30:27 gavan Exp $ +gopkg/pkg/${GO_PLATFORM}/github.com/hashicorp/go-immutable-radix.a +gopkg/src/github.com/hashicorp/go-immutable-radix/LICENSE +gopkg/src/github.com/hashicorp/go-immutable-radix/README.md +gopkg/src/github.com/hashicorp/go-immutable-radix/edges.go +gopkg/src/github.com/hashicorp/go-immutable-radix/iradix.go +gopkg/src/github.com/hashicorp/go-immutable-radix/iradix_test.go +gopkg/src/github.com/hashicorp/go-immutable-radix/iter.go +gopkg/src/github.com/hashicorp/go-immutable-radix/node.go +gopkg/src/github.com/hashicorp/go-immutable-radix/raw_iter.go +@pkgdir bin Index: pkgsrc/devel/go-immutable-radix/buildlink3.mk diff -u /dev/null pkgsrc/devel/go-immutable-radix/buildlink3.mk:1.1 --- /dev/null Thu Aug 17 01:30:27 2017 +++ pkgsrc/devel/go-immutable-radix/buildlink3.mk Thu Aug 17 01:30:27 2017 @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1 2017/08/17 01:30:27 gavan Exp $ + +BUILDLINK_TREE+= go-immutable-radix + +.if !defined(GO_IMMUTABLE_RADIX_BUILDLINK3_MK) +GO_IMMUTABLE_RADIX_BUILDLINK3_MK:= + +BUILDLINK_CONTENTS_FILTER.go-immutable-radix= ${EGREP} gopkg/ +BUILDLINK_DEPMETHOD.go-immutable-radix?= build + +BUILDLINK_API_DEPENDS.go-immutable-radix+= go-immutable-radix>=0.0 +BUILDLINK_PKGSRCDIR.go-immutable-radix?= ../../devel/go-immutable-radix + +.include "../../devel/go-golang-lru/buildlink3.mk" +.endif # GO_IMMUTABLE_RADIX_BUILDLINK3_MK + +BUILDLINK_TREE+= -go-immutable-radix + Index: pkgsrc/devel/go-immutable-radix/distinfo diff -u /dev/null pkgsrc/devel/go-immutable-radix/distinfo:1.1 --- /dev/null Thu Aug 17 01:30:27 2017 +++ pkgsrc/devel/go-immutable-radix/distinfo Thu Aug 17 01:30:27 2017 @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/08/17 01:30:27 gavan Exp $ + +SHA1 (go-immutable-radix-0.0.20170725-8aac2701530899b64bdea735a1de8da899815220.tar.gz) = a48e74b5701df19bc2c879d391d5d8e534596150 +RMD160 (go-immutable-radix-0.0.20170725-8aac2701530899b64bdea735a1de8da899815220.tar.gz) = e8790af287cd48d44f65f8cc70d39f884eb8ae04 +SHA512 (go-immutable-radix-0.0.20170725-8aac2701530899b64bdea735a1de8da899815220.tar.gz) = 6b748a06d21972f9011cd85e9128cc27ac67539f8a1be021733b25055d8c6c731a393078ee0418a1929e35cd701bba128a96053cd77fc0a01af51ee58baa5c36 +Size (go-immutable-radix-0.0.20170725-8aac2701530899b64bdea735a1de8da899815220.tar.gz) = 18806 bytes --_----------=_1502933428123500--