pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel New package, go-ratelimit.
details: https://anonhg.NetBSD.org/pkgsrc/rev/aa72a4354239
branches: trunk
changeset: 349767:aa72a4354239
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Fri Jul 15 19:35:01 2016 +0000
description:
New package, go-ratelimit.
The ratelimit package provides an efficient token bucket implementation. See
http://en.wikipedia.org/wiki/Token_bucket.
diffstat:
devel/Makefile | 3 ++-
devel/go-ratelimit/DESCR | 2 ++
devel/go-ratelimit/Makefile | 20 ++++++++++++++++++++
devel/go-ratelimit/PLIST | 8 ++++++++
devel/go-ratelimit/distinfo | 6 ++++++
5 files changed, 38 insertions(+), 1 deletions(-)
diffs (69 lines):
diff -r d60c67b61b9d -r aa72a4354239 devel/Makefile
--- a/devel/Makefile Fri Jul 15 15:14:15 2016 +0000
+++ b/devel/Makefile Fri Jul 15 19:35:01 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2282 2016/07/15 10:08:50 wen Exp $
+# $NetBSD: Makefile,v 1.2283 2016/07/15 19:35:01 bsiegert Exp $
#
COMMENT= Development utilities
@@ -295,6 +295,7 @@
SUBDIR+= go-check
SUBDIR+= go-flags-svent
SUBDIR+= go-nbreader
+SUBDIR+= go-ratelimit
SUBDIR+= go-review
SUBDIR+= go-tools
SUBDIR+= gob2
diff -r d60c67b61b9d -r aa72a4354239 devel/go-ratelimit/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-ratelimit/DESCR Fri Jul 15 19:35:01 2016 +0000
@@ -0,0 +1,2 @@
+The ratelimit package provides an efficient token bucket implementation. See
+http://en.wikipedia.org/wiki/Token_bucket.
diff -r d60c67b61b9d -r aa72a4354239 devel/go-ratelimit/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-ratelimit/Makefile Fri Jul 15 19:35:01 2016 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2016/07/15 19:35:02 bsiegert Exp $
+
+DISTNAME= go-ratelimit-0.0.20151125
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=juju/}
+GITHUB_PROJECT= ratelimit
+GITHUB_TAG= 77ed1c8a01217656d2080ad51981f6e99adaa177
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/juku/ratelimit
+COMMENT= Efficient token-bucket-based rate limiter package
+LICENSE= gnu-lgpl-v3
+
+WRKSRC= ${WRKDIR}
+GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH= github.com/juju/ratelimit
+
+.include "../../devel/go-check/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d60c67b61b9d -r aa72a4354239 devel/go-ratelimit/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-ratelimit/PLIST Fri Jul 15 19:35:01 2016 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/15 19:35:02 bsiegert Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/juju/ratelimit.a
+gopkg/src/github.com/juju/ratelimit/LICENSE
+gopkg/src/github.com/juju/ratelimit/README.md
+gopkg/src/github.com/juju/ratelimit/ratelimit.go
+gopkg/src/github.com/juju/ratelimit/ratelimit_test.go
+gopkg/src/github.com/juju/ratelimit/reader.go
+@pkgdir bin
diff -r d60c67b61b9d -r aa72a4354239 devel/go-ratelimit/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-ratelimit/distinfo Fri Jul 15 19:35:01 2016 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/07/15 19:35:02 bsiegert Exp $
+
+SHA1 (go-ratelimit-0.0.20151125-77ed1c8a01217656d2080ad51981f6e99adaa177.tar.gz) = 282d0b5f9caf186e2100d150033f82ffd5ea0f4f
+RMD160 (go-ratelimit-0.0.20151125-77ed1c8a01217656d2080ad51981f6e99adaa177.tar.gz) = bd439c94972cc599b46670a90f9c9ef8af5a935e
+SHA512 (go-ratelimit-0.0.20151125-77ed1c8a01217656d2080ad51981f6e99adaa177.tar.gz) =
78e8fcd734177fd411b30d26150f623be8347583a1d6a849d4ef2e72085811d8295a97acfb484a84a20917bee8e324e7914c79258a24d7dd14fc04d4246589de
+Size (go-ratelimit-0.0.20151125-77ed1c8a01217656d2080ad51981f6e99adaa177.tar.gz) = 7975 bytes
Home |
Main Index |
Thread Index |
Old Index