pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import go-doublejump-20200330 to wip
Module Name: pkgsrc-wip
Committed By: K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By: jihbed
Date: Wed Jan 13 14:55:59 2021 +0100
Changeset: 5c2bfb3e8745dda319bff85021f26c52c03b5813
Modified Files:
Makefile
Added Files:
go-doublejump/DESCR
go-doublejump/Makefile
go-doublejump/PLIST
go-doublejump/buildlink3.mk
go-doublejump/distinfo
Log Message:
Import go-doublejump-20200330 to wip
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5c2bfb3e8745dda319bff85021f26c52c03b5813
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
go-doublejump/DESCR | 3 +++
go-doublejump/Makefile | 19 +++++++++++++++++++
go-doublejump/PLIST | 9 +++++++++
go-doublejump/buildlink3.mk | 17 +++++++++++++++++
go-doublejump/distinfo | 6 ++++++
6 files changed, 55 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 9858ef7e29..75c18dc068 100644
--- a/Makefile
+++ b/Makefile
@@ -1191,6 +1191,7 @@ SUBDIR+= go-copier
SUBDIR+= go-current
SUBDIR+= go-cyclo
SUBDIR+= go-dotenv
+SUBDIR+= go-doublejump
SUBDIR+= go-douceur-aymerick
SUBDIR+= go-easyjson
SUBDIR+= go-err113
diff --git a/go-doublejump/DESCR b/go-doublejump/DESCR
new file mode 100644
index 0000000000..9d98a82a27
--- /dev/null
+++ b/go-doublejump/DESCR
@@ -0,0 +1,3 @@
+This is a revamped Google's jump consistent hash.
+It overcomes the shortcoming of the original
+implementation - not being able to remove nodes
diff --git a/go-doublejump/Makefile b/go-doublejump/Makefile
new file mode 100644
index 0000000000..ce18ea8020
--- /dev/null
+++ b/go-doublejump/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME= go-doublejump-20200330
+GITHUB_PROJECT= doublejump
+GITHUB_TAG= e4ea8bd
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=dgryski/}
+
+MAINTAINER= kamelderouiche%yahoo.com@localhost
+HOMEPAGE= https://github.com/edwingeng/doublejump
+COMMENT= Revamped Google's jump consistent hash
+LICENSE= 2-clause-bsd
+
+GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}*
+GO_SRCPATH= github.com/edwingeng/doublejump
+
+.include "../../wip/go-jump/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-doublejump/PLIST b/go-doublejump/PLIST
new file mode 100644
index 0000000000..f4a9ea02e3
--- /dev/null
+++ b/go-doublejump/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/edwingeng/doublejump.a
+gopkg/src/github.com/edwingeng/doublejump/LICENSE
+gopkg/src/github.com/edwingeng/doublejump/README.md
+gopkg/src/github.com/edwingeng/doublejump/benchmark/benchmark_test.go
+gopkg/src/github.com/edwingeng/doublejump/doublejump.go
+gopkg/src/github.com/edwingeng/doublejump/doublejump_test.go
+gopkg/src/github.com/edwingeng/doublejump/go.mod
+gopkg/src/github.com/edwingeng/doublejump/go.sum
diff --git a/go-doublejump/buildlink3.mk b/go-doublejump/buildlink3.mk
new file mode 100644
index 0000000000..48224d7317
--- /dev/null
+++ b/go-doublejump/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= go-doublejump
+
+.if !defined(GO_DOUBLEJUMP_BUILDLINK3_MK)
+GO_DOUBLEJUMP_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-doublejump= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-doublejump?= build
+
+BUILDLINK_API_DEPENDS.go-doublejump+= go-doublejump>=20200330
+BUILDLINK_PKGSRCDIR.go-doublejump?= ../../wip/go-doublejump
+
+.include "../../wip/go-jump/buildlink3.mk"
+.endif # GO_DOUBLEJUMP_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-doublejump
diff --git a/go-doublejump/distinfo b/go-doublejump/distinfo
new file mode 100644
index 0000000000..ddb32af7aa
--- /dev/null
+++ b/go-doublejump/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-doublejump-20200330-e4ea8bd.tar.gz) = b40fc62add0982857a9b3a30cc8ae769e556b627
+RMD160 (go-doublejump-20200330-e4ea8bd.tar.gz) = 4ba9d25f40deea11f32d45fc858c93b39585449f
+SHA512 (go-doublejump-20200330-e4ea8bd.tar.gz) = 37a4d5bf3646ba5484833d5da354126c10d2e856ca83402d7a52346f59e2062ff919a243a341c6d0524aa80b3bf10e79e1080b923908899065251f1c8bf8ba5c
+Size (go-doublejump-20200330-e4ea8bd.tar.gz) = 5690 bytes
Home |
Main Index |
Thread Index |
Old Index