pkgsrc-WIP-changes archive

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

Import go-perks-1.0.1 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Thu Jan 21 15:47:19 2021 +0100
Changeset:	a3025d4064f2bde4cdc7b5ceee059e1829dd4911

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

Log Message:
Import go-perks-1.0.1 to wip

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

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

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

diffs:
diff --git a/Makefile b/Makefile
index 48651a45e6..1fc467066c 100644
--- a/Makefile
+++ b/Makefile
@@ -1263,6 +1263,7 @@ SUBDIR+=	go-pass
 SUBDIR+=	go-paths-helper
 SUBDIR+=	go-pathtree
 SUBDIR+=	go-pcidb
+SUBDIR+=	go-perks
 SUBDIR+=	go-pgzip
 SUBDIR+=	go-ping
 SUBDIR+=	go-pio
diff --git a/go-perks/DESCR b/go-perks/DESCR
new file mode 100644
index 0000000000..cf9d4a54e4
--- /dev/null
+++ b/go-perks/DESCR
@@ -0,0 +1,3 @@
+Perks contains the Go package quantile that computes
+approximate quantiles over an unbounded data stream
+within low memory and CPU bounds.
diff --git a/go-perks/Makefile b/go-perks/Makefile
new file mode 100644
index 0000000000..0835da1246
--- /dev/null
+++ b/go-perks/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	go-perks-1.0.1
+PKGREVISION=	1
+GITHUB_PROJECT=	perks
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	sysutils
+MASTER_SITES=	${MASTER_SITE_GITHUB:=beorn7/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/beorn7/perks/
+COMMENT=	Effective Computation of Things
+LICENSE=	mit
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+GO_SRCPATH=	github.com/beorn7/${GITHUB_PROJECT}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-perks/PLIST b/go-perks/PLIST
new file mode 100644
index 0000000000..912b5380fd
--- /dev/null
+++ b/go-perks/PLIST
@@ -0,0 +1,18 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/beorn7/perks/histogram.a
+gopkg/pkg/${GO_PLATFORM}/github.com/beorn7/perks/quantile.a
+gopkg/pkg/${GO_PLATFORM}/github.com/beorn7/perks/topk.a
+gopkg/src/github.com/beorn7/perks/LICENSE
+gopkg/src/github.com/beorn7/perks/README.md
+gopkg/src/github.com/beorn7/perks/VERSION
+gopkg/src/github.com/beorn7/perks/go.mod
+gopkg/src/github.com/beorn7/perks/histogram/bench_test.go
+gopkg/src/github.com/beorn7/perks/histogram/histogram.go
+gopkg/src/github.com/beorn7/perks/histogram/histogram_test.go
+gopkg/src/github.com/beorn7/perks/quantile/bench_test.go
+gopkg/src/github.com/beorn7/perks/quantile/example_test.go
+gopkg/src/github.com/beorn7/perks/quantile/exampledata.txt
+gopkg/src/github.com/beorn7/perks/quantile/stream.go
+gopkg/src/github.com/beorn7/perks/quantile/stream_test.go
+gopkg/src/github.com/beorn7/perks/topk/topk.go
+gopkg/src/github.com/beorn7/perks/topk/topk_test.go
diff --git a/go-perks/buildlink3.mk b/go-perks/buildlink3.mk
new file mode 100644
index 0000000000..e97cbd9cc4
--- /dev/null
+++ b/go-perks/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-perks
+
+.if !defined(GO_PERKS_BUILDLINK3_MK)
+GO_PERKS_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-perks=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-perks?=		build
+
+BUILDLINK_API_DEPENDS.go-perks+=	go-perks>=1.0.1
+BUILDLINK_PKGSRCDIR.go-perks?=		../../wip/go-perks
+.endif	# GO_PERKS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-perks
diff --git a/go-perks/distinfo b/go-perks/distinfo
new file mode 100644
index 0000000000..3d10619f30
--- /dev/null
+++ b/go-perks/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-perks-1.0.1.tar.gz) = fa0bffeddb97a24d539a32e076c1f16eff6a7293
+RMD160 (go-perks-1.0.1.tar.gz) = 41ac576bab67652ca50d1cd62da5289f8a66be14
+SHA512 (go-perks-1.0.1.tar.gz) = 686eefcc824c5bde49385d63916299e2797be205523bda66500404c5ad64ed4d1ebe8ee50958237b41a4c481579f5040288b99c9d2ff1082abbf172893f389f1
+Size (go-perks-1.0.1.tar.gz) = 10867 bytes


Home | Main Index | Thread Index | Old Index