pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/go-debounce



Module Name:    pkgsrc
Committed By:   minskim
Date:           Thu Jun 14 15:15:58 UTC 2018

Added Files:
        pkgsrc/devel/go-debounce: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/go-debounce/DESCR \
    pkgsrc/devel/go-debounce/Makefile pkgsrc/devel/go-debounce/PLIST \
    pkgsrc/devel/go-debounce/buildlink3.mk pkgsrc/devel/go-debounce/distinfo

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

Added files:

Index: pkgsrc/devel/go-debounce/DESCR
diff -u /dev/null pkgsrc/devel/go-debounce/DESCR:1.1
--- /dev/null   Thu Jun 14 15:15:58 2018
+++ pkgsrc/devel/go-debounce/DESCR      Thu Jun 14 15:15:58 2018
@@ -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.
Index: pkgsrc/devel/go-debounce/Makefile
diff -u /dev/null pkgsrc/devel/go-debounce/Makefile:1.1
--- /dev/null   Thu Jun 14 15:15:58 2018
+++ pkgsrc/devel/go-debounce/Makefile   Thu Jun 14 15:15:58 2018
@@ -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"
Index: pkgsrc/devel/go-debounce/PLIST
diff -u /dev/null pkgsrc/devel/go-debounce/PLIST:1.1
--- /dev/null   Thu Jun 14 15:15:58 2018
+++ pkgsrc/devel/go-debounce/PLIST      Thu Jun 14 15:15:58 2018
@@ -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
Index: pkgsrc/devel/go-debounce/buildlink3.mk
diff -u /dev/null pkgsrc/devel/go-debounce/buildlink3.mk:1.1
--- /dev/null   Thu Jun 14 15:15:58 2018
+++ pkgsrc/devel/go-debounce/buildlink3.mk      Thu Jun 14 15:15:58 2018
@@ -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
Index: pkgsrc/devel/go-debounce/distinfo
diff -u /dev/null pkgsrc/devel/go-debounce/distinfo:1.1
--- /dev/null   Thu Jun 14 15:15:58 2018
+++ pkgsrc/devel/go-debounce/distinfo   Thu Jun 14 15:15:58 2018
@@ -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