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-radix version 1.0.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/1dcc433a9682
branches: trunk
changeset: 427642:1dcc433a9682
user: nikita <nikita%pkgsrc.org@localhost>
date: Sat Apr 18 15:51:55 2020 +0000
description:
Add devel/go-radix version 1.0.0
go-radix provides the `radix` package that implements a 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
For an immutable variant, see go-immutable-radix.
diffstat:
devel/Makefile | 3 ++-
devel/go-radix/DESCR | 12 ++++++++++++
devel/go-radix/Makefile | 20 ++++++++++++++++++++
devel/go-radix/PLIST | 7 +++++++
devel/go-radix/distinfo | 6 ++++++
5 files changed, 47 insertions(+), 1 deletions(-)
diffs (78 lines):
diff -r 69cff10260c9 -r 1dcc433a9682 devel/Makefile
--- a/devel/Makefile Sat Apr 18 15:26:06 2020 +0000
+++ b/devel/Makefile Sat Apr 18 15:51:55 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3101 2020/04/18 12:49:47 js Exp $
+# $NetBSD: Makefile,v 1.3102 2020/04/18 15:51:55 nikita Exp $
#
COMMENT= Development utilities
@@ -437,6 +437,7 @@
SUBDIR+= go-properties
SUBDIR+= go-protobuf
SUBDIR+= go-purell
+SUBDIR+= go-radix
SUBDIR+= go-ratelimit
SUBDIR+= go-repr
SUBDIR+= go-review
diff -r 69cff10260c9 -r 1dcc433a9682 devel/go-radix/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-radix/DESCR Sat Apr 18 15:51:55 2020 +0000
@@ -0,0 +1,12 @@
+go-radix provides the `radix` package that implements a 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
+
+For an immutable variant, see go-immutable-radix.
diff -r 69cff10260c9 -r 1dcc433a9682 devel/go-radix/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-radix/Makefile Sat Apr 18 15:51:55 2020 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2020/04/18 15:51:55 nikita Exp $
+
+GITHUB_PROJECT= go-radix
+GITHUB_TAG= v1.0.0
+DISTNAME= v1.0.0
+PKGNAME= ${GITHUB_PROJECT}-${DISTNAME:S,^v,,}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=armon/}
+DIST_SUBDIR= ${GITHUB_PROJECT}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/armon/go-radix/
+COMMENT= Golang implementation of Radix trees
+LICENSE= mit
+
+GO_DIST_BASE= ${PKGNAME}
+GO_SRCPATH= github.com/armon/go-radix
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 69cff10260c9 -r 1dcc433a9682 devel/go-radix/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-radix/PLIST Sat Apr 18 15:51:55 2020 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2020/04/18 15:51:55 nikita Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/armon/go-radix.a
+gopkg/src/github.com/armon/go-radix/LICENSE
+gopkg/src/github.com/armon/go-radix/README.md
+gopkg/src/github.com/armon/go-radix/go.mod
+gopkg/src/github.com/armon/go-radix/radix.go
+gopkg/src/github.com/armon/go-radix/radix_test.go
diff -r 69cff10260c9 -r 1dcc433a9682 devel/go-radix/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-radix/distinfo Sat Apr 18 15:51:55 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/04/18 15:51:55 nikita Exp $
+
+SHA1 (go-radix/v1.0.0.tar.gz) = 8eeb8c910561ddde8ce6e17b11c3ea32024067ac
+RMD160 (go-radix/v1.0.0.tar.gz) = 28d16952e62da3b7c4191818f0c74c00a8e7c0d6
+SHA512 (go-radix/v1.0.0.tar.gz) = 5d75fc9cb9823b71c2b27f2825d80cd100de381af7c25c19afd5f49ab67160e2860ff83cbee45a4df851fb5a71f8d0bf9ef9387184a4fe431249de3581b4d4fa
+Size (go-radix/v1.0.0.tar.gz) = 5975 bytes
Home |
Main Index |
Thread Index |
Old Index