pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/go-debounce devel/go-debounce: Import version 1.1.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eaebee9fc5d0
branches:  trunk
changeset: 381687:eaebee9fc5d0
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Thu Jun 14 15:15:58 2018 +0000

description:
devel/go-debounce: Import version 1.1.0

A debouncer written in Go. This may seem like a fairly narrow library,
so why not copy-and-paste it when needed? Sure, but this is, however,
slightly more usable than left-pad, and as I move my client code into
the GopherJS world, a debounce function is a must-have.

diffstat:

 devel/go-debounce/DESCR         |   4 ++++
 devel/go-debounce/Makefile      |  19 +++++++++++++++++++
 devel/go-debounce/PLIST         |   6 ++++++
 devel/go-debounce/buildlink3.mk |  15 +++++++++++++++
 devel/go-debounce/distinfo      |   6 ++++++
 5 files changed, 50 insertions(+), 0 deletions(-)

diffs (70 lines):

diff -r 6a276cff182e -r eaebee9fc5d0 devel/go-debounce/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-debounce/DESCR   Thu Jun 14 15:15:58 2018 +0000
@@ -0,0 +1,4 @@
+A debouncer written in Go. This may seem like a fairly narrow library,
+so why not copy-and-paste it when needed? Sure, but this is, however,
+slightly more usable than left-pad, and as I move my client code into
+the GopherJS world, a debounce function is a must-have.
diff -r 6a276cff182e -r eaebee9fc5d0 devel/go-debounce/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-debounce/Makefile        Thu Jun 14 15:15:58 2018 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2018/06/14 15:15:58 minskim Exp $
+
+DISTNAME=      debounce-1.1.0
+PKGNAME=       go-${DISTNAME}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=bep/}
+CATEGORIES=    devel
+GITHUB_PROJECT=        ${PKGBASE:S/^go-//}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    minskim%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/bep/debounce
+COMMENT=       Debouncer written in Go
+LICENSE=       mit
+
+GO_DIST_BASE=  ${DISTNAME}
+GO_SRCPATH=    ${HOMEPAGE:S,https://,,}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 6a276cff182e -r eaebee9fc5d0 devel/go-debounce/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-debounce/PLIST   Thu Jun 14 15:15:58 2018 +0000
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2018/06/14 15:15:58 minskim Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/bep/debounce.a
+gopkg/src/github.com/bep/debounce/LICENSE
+gopkg/src/github.com/bep/debounce/README.md
+gopkg/src/github.com/bep/debounce/debounce.go
+gopkg/src/github.com/bep/debounce/debounce_test.go
diff -r 6a276cff182e -r eaebee9fc5d0 devel/go-debounce/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-debounce/buildlink3.mk   Thu Jun 14 15:15:58 2018 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/06/14 15:15:58 minskim Exp $
+
+BUILDLINK_TREE+=       go-debounce
+
+.if !defined(GO_DEBOUNCE_BUILDLINK3_MK)
+GO_DEBOUNCE_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-debounce= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-debounce?=      build
+
+BUILDLINK_API_DEPENDS.go-debounce+=    go-debounce>=1.1.0
+BUILDLINK_PKGSRCDIR.go-debounce?=      ../../devel/go-debounce
+.endif # GO_DEBOUNCE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-debounce
diff -r 6a276cff182e -r eaebee9fc5d0 devel/go-debounce/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-debounce/distinfo        Thu Jun 14 15:15:58 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/06/14 15:15:58 minskim Exp $
+
+SHA1 (debounce-1.1.0.tar.gz) = 7487a73663a55f9baba98812dfda40b621248229
+RMD160 (debounce-1.1.0.tar.gz) = 88c7408a4f908f8f0c494c864c7115aa3dda38a2
+SHA512 (debounce-1.1.0.tar.gz) = bb74d56cd460af55f95c95f47b5a00998d9294db2bc36aa3029263623714ee3db83664392dae0b2eb0b475f4b84448abd42e81405f2dee8da2a123449252f572
+Size (debounce-1.1.0.tar.gz) = 3496 bytes



Home | Main Index | Thread Index | Old Index