pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Initial import of go-rateio, git tag e8e00881e5c12090412414be41c04ca9c8a71106.
Module Name: pkgsrc-wip
Committed By: Alexander Nasonov <alnsn%yandex.ru@localhost>
Pushed By: alnsn
Date: Sun Aug 27 17:47:08 2017 +0100
Changeset: da078dba9ea51a5202077528093a2e2e0c86d00c
Added Files:
go-rateio/DESCR
go-rateio/Makefile
go-rateio/PLIST
go-rateio/buildlink3.mk
go-rateio/distinfo
Log Message:
Initial import of go-rateio, git tag e8e00881e5c12090412414be41c04ca9c8a71106.
Ratelimiting for io-style interfaces in Go.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=da078dba9ea51a5202077528093a2e2e0c86d00c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
go-rateio/DESCR | 1 +
go-rateio/Makefile | 21 +++++++++++++++++++++
go-rateio/PLIST | 9 +++++++++
go-rateio/buildlink3.mk | 15 +++++++++++++++
go-rateio/distinfo | 6 ++++++
5 files changed, 52 insertions(+)
diffs:
diff --git a/go-rateio/DESCR b/go-rateio/DESCR
new file mode 100644
index 0000000000..0afb5ae92d
--- /dev/null
+++ b/go-rateio/DESCR
@@ -0,0 +1 @@
+Ratelimiting for io-style interfaces in Go.
diff --git a/go-rateio/Makefile b/go-rateio/Makefile
new file mode 100644
index 0000000000..ac46576d87
--- /dev/null
+++ b/go-rateio/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+# XXX 0.0.1 is a made-up release number, ask upstream to make a release.
+PKGNAME= go-rateio-0.0.1
+GITHUB_TAG= e8e00881e5c12090412414be41c04ca9c8a71106
+DISTNAME= rateio-${GITHUB_TAG}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=shazow/}
+GITHUB_PROJECT= rateio
+
+MAINTAINER= alnsn%NetBSD.org@localhost
+HOMEPAGE= https://github.com/shazow/rateio
+COMMENT= Ratelimiting for io-style interfaces in Go
+LICENSE= mit
+
+WRKSRC= ${WRKDIR}
+GO_DIST_BASE= rateio-${GITHUB_TAG}
+GO_SRCPATH= github.com/shazow/rateio
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-rateio/PLIST b/go-rateio/PLIST
new file mode 100644
index 0000000000..a38d7f04be
--- /dev/null
+++ b/go-rateio/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/shazow/rateio.a
+gopkg/src/github.com/shazow/rateio/LICENSE
+gopkg/src/github.com/shazow/rateio/doc.go
+gopkg/src/github.com/shazow/rateio/limiter.go
+gopkg/src/github.com/shazow/rateio/reader.go
+gopkg/src/github.com/shazow/rateio/reader_test.go
+gopkg/src/github.com/shazow/rateio/writer.go
+@pkgdir bin
diff --git a/go-rateio/buildlink3.mk b/go-rateio/buildlink3.mk
new file mode 100644
index 0000000000..67d4ed7439
--- /dev/null
+++ b/go-rateio/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= go-rateio
+
+.if !defined(GO_RATEIO_BUILDLINK3_MK)
+GO_RATEIO_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-rateio= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-rateio?= build
+
+BUILDLINK_API_DEPENDS.go-rateio+= go-rateio>=0.0.1
+BUILDLINK_PKGSRCDIR.go-rateio?= ../../wip/go-rateio
+.endif # GO_RATEIO_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-rateio
diff --git a/go-rateio/distinfo b/go-rateio/distinfo
new file mode 100644
index 0000000000..875ee7b0ba
--- /dev/null
+++ b/go-rateio/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (rateio-e8e00881e5c12090412414be41c04ca9c8a71106-e8e00881e5c12090412414be41c04ca9c8a71106.tar.gz) = 065f30feb156f308a09929462bdfe9445dabab56
+RMD160 (rateio-e8e00881e5c12090412414be41c04ca9c8a71106-e8e00881e5c12090412414be41c04ca9c8a71106.tar.gz) = 367f94a54650711b7c90b900ce0a6c8dbbedefef
+SHA512 (rateio-e8e00881e5c12090412414be41c04ca9c8a71106-e8e00881e5c12090412414be41c04ca9c8a71106.tar.gz) = 5af11ca60bb5715eda4eda15379538f43f00ce172bb3060e66f9560c8d4f2000cf9e0bc3f3daa7b5a83685d3b3b96acf3786717a905955a9e1e4e24cbffd1204
+Size (rateio-e8e00881e5c12090412414be41c04ca9c8a71106-e8e00881e5c12090412414be41c04ca9c8a71106.tar.gz) = 2535 bytes
Home |
Main Index |
Thread Index |
Old Index