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:   nikita
Date:           Sat Apr 18 15:51:55 UTC 2020

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/go-radix: DESCR Makefile PLIST distinfo

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


To generate a diff of this commit:
cvs rdiff -u -r1.3101 -r1.3102 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/go-radix/DESCR \
    pkgsrc/devel/go-radix/Makefile pkgsrc/devel/go-radix/PLIST \
    pkgsrc/devel/go-radix/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.3101 pkgsrc/devel/Makefile:1.3102
--- pkgsrc/devel/Makefile:1.3101        Sat Apr 18 12:49:47 2020
+++ pkgsrc/devel/Makefile       Sat Apr 18 15:51:55 2020
@@ -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-pflag
 SUBDIR+=       go-properties
 SUBDIR+=       go-protobuf
 SUBDIR+=       go-purell
+SUBDIR+=       go-radix
 SUBDIR+=       go-ratelimit
 SUBDIR+=       go-repr
 SUBDIR+=       go-review

Added files:

Index: pkgsrc/devel/go-radix/DESCR
diff -u /dev/null pkgsrc/devel/go-radix/DESCR:1.1
--- /dev/null   Sat Apr 18 15:51:55 2020
+++ pkgsrc/devel/go-radix/DESCR Sat Apr 18 15:51:55 2020
@@ -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.
Index: pkgsrc/devel/go-radix/Makefile
diff -u /dev/null pkgsrc/devel/go-radix/Makefile:1.1
--- /dev/null   Sat Apr 18 15:51:55 2020
+++ pkgsrc/devel/go-radix/Makefile      Sat Apr 18 15:51:55 2020
@@ -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"
Index: pkgsrc/devel/go-radix/PLIST
diff -u /dev/null pkgsrc/devel/go-radix/PLIST:1.1
--- /dev/null   Sat Apr 18 15:51:55 2020
+++ pkgsrc/devel/go-radix/PLIST Sat Apr 18 15:51:55 2020
@@ -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
Index: pkgsrc/devel/go-radix/distinfo
diff -u /dev/null pkgsrc/devel/go-radix/distinfo:1.1
--- /dev/null   Sat Apr 18 15:51:55 2020
+++ pkgsrc/devel/go-radix/distinfo      Sat Apr 18 15:51:55 2020
@@ -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