pkgsrc-WIP-changes archive

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

Import go-jump-20170409 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:44:58 2021 +0100
Changeset:	ec6a36bd06d653c0d9916c7de9c99179984c90e9

Modified Files:
	Makefile
Added Files:
	go-jump/DESCR
	go-jump/Makefile
	go-jump/PLIST
	go-jump/buildlink3.mk
	go-jump/distinfo

Log Message:
Import go-jump-20170409 to wip

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ec6a36bd06d653c0d9916c7de9c99179984c90e9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile              |  1 +
 go-jump/DESCR         |  1 +
 go-jump/Makefile      | 18 ++++++++++++++++++
 go-jump/PLIST         |  6 ++++++
 go-jump/buildlink3.mk | 15 +++++++++++++++
 go-jump/distinfo      |  6 ++++++
 6 files changed, 47 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 25b0534639..9858ef7e29 100644
--- a/Makefile
+++ b/Makefile
@@ -1221,6 +1221,7 @@ SUBDIR+=	go-imgui
 SUBDIR+=	go-intern
 SUBDIR+=	go-jira
 SUBDIR+=	go-jsonparser
+SUBDIR+=	go-jump
 SUBDIR+=	go-junit-report
 SUBDIR+=	go-kong
 SUBDIR+=	go-kr-text
diff --git a/go-jump/DESCR b/go-jump/DESCR
new file mode 100644
index 0000000000..d4e0dae1bc
--- /dev/null
+++ b/go-jump/DESCR
@@ -0,0 +1 @@
+A port of Google's Jump Consistent Hash function
diff --git a/go-jump/Makefile b/go-jump/Makefile
new file mode 100644
index 0000000000..9247e187cc
--- /dev/null
+++ b/go-jump/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	go-jump-20170409
+GITHUB_PROJECT=	go-jump
+GITHUB_TAG=	e1f4396
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=dgryski/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/dgryski/go-jump
+COMMENT=	Port of Google's Jump Consistent Hash function
+LICENSE=	mit
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${GITHUB_TAG}*
+GO_SRCPATH=	github.com/dgryski/go-jump
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-jump/PLIST b/go-jump/PLIST
new file mode 100644
index 0000000000..6f203052cb
--- /dev/null
+++ b/go-jump/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/dgryski/go-jump.a
+gopkg/src/github.com/dgryski/go-jump/LICENSE
+gopkg/src/github.com/dgryski/go-jump/README.md
+gopkg/src/github.com/dgryski/go-jump/jump.go
+gopkg/src/github.com/dgryski/go-jump/jump_test.go
diff --git a/go-jump/buildlink3.mk b/go-jump/buildlink3.mk
new file mode 100644
index 0000000000..de023ad8c8
--- /dev/null
+++ b/go-jump/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-jump
+
+.if !defined(GO_JUMP_BUILDLINK3_MK)
+GO_JUMP_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-jump=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-jump?=		build
+
+BUILDLINK_API_DEPENDS.go-jump+=	go-jump>=20170409
+BUILDLINK_PKGSRCDIR.go-jump?=	../../wip/go-jump
+.endif	# GO_JUMP_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-jump
diff --git a/go-jump/distinfo b/go-jump/distinfo
new file mode 100644
index 0000000000..15c4674ff8
--- /dev/null
+++ b/go-jump/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-jump-20170409-e1f4396.tar.gz) = ee5629cc476cb894a9ff68ed6fc367707f3c020a
+RMD160 (go-jump-20170409-e1f4396.tar.gz) = b0d4939cacb7f89874c1da082538b0a5a1ae347e
+SHA512 (go-jump-20170409-e1f4396.tar.gz) = f6e4245f82d0a22ba9506752860df4b6498fc3ae6369a9640c466912ecca5fcc7d54bd4cf9a0f1b78391bdff7016812dfefd50eddc94d9a5e369d6b61846b63a
+Size (go-jump-20170409-e1f4396.tar.gz) = 1956 bytes


Home | Main Index | Thread Index | Old Index