pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/go-immutable-radix



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.

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



Home | Main Index | Thread Index | Old Index