pkgsrc-WIP-changes archive

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

Import go-jpillora-backoff-1.0.0 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Wed Jan 20 22:26:32 2021 +0100
Changeset:	7df70b5016a1f7b3af9cbfccff69abf8a0e2e9d4

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

Log Message:
Import go-jpillora-backoff-1.0.0 to wip

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

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

diffstat:
 Makefile                          |  1 +
 go-jpillora-backoff/DESCR         |  1 +
 go-jpillora-backoff/Makefile      | 18 ++++++++++++++++++
 go-jpillora-backoff/PLIST         |  7 +++++++
 go-jpillora-backoff/buildlink3.mk | 15 +++++++++++++++
 go-jpillora-backoff/distinfo      |  6 ++++++
 6 files changed, 48 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index e2c7a9544d..7c771373ba 100644
--- a/Makefile
+++ b/Makefile
@@ -1234,6 +1234,7 @@ SUBDIR+=	go-imgui
 SUBDIR+=	go-incremental
 SUBDIR+=	go-intern
 SUBDIR+=	go-jira
+SUBDIR+=	go-jpillora-backoff
 SUBDIR+=	go-json-iterator
 SUBDIR+=	go-jsonparser
 SUBDIR+=	go-jump
diff --git a/go-jpillora-backoff/DESCR b/go-jpillora-backoff/DESCR
new file mode 100644
index 0000000000..283511aa20
--- /dev/null
+++ b/go-jpillora-backoff/DESCR
@@ -0,0 +1 @@
+A simple exponential backoff counter in Go
diff --git a/go-jpillora-backoff/Makefile b/go-jpillora-backoff/Makefile
new file mode 100644
index 0000000000..8b33b64121
--- /dev/null
+++ b/go-jpillora-backoff/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	go-jpillora-backoff-1.0.0
+GITHUB_PROJECT=	backoff
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	time
+MASTER_SITES=	${MASTER_SITE_GITHUB:=jpillora/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/jpillora/backoff/
+COMMENT=	Simple backoff algorithm in Go
+LICENSE=	mit
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+GO_SRCPATH=	github.com/jpillora/backoff
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-jpillora-backoff/PLIST b/go-jpillora-backoff/PLIST
new file mode 100644
index 0000000000..dea2667026
--- /dev/null
+++ b/go-jpillora-backoff/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/jpillora/backoff.a
+gopkg/src/github.com/jpillora/backoff/LICENSE
+gopkg/src/github.com/jpillora/backoff/README.md
+gopkg/src/github.com/jpillora/backoff/backoff.go
+gopkg/src/github.com/jpillora/backoff/backoff_test.go
+gopkg/src/github.com/jpillora/backoff/go.mod
diff --git a/go-jpillora-backoff/buildlink3.mk b/go-jpillora-backoff/buildlink3.mk
new file mode 100644
index 0000000000..61ba5622f5
--- /dev/null
+++ b/go-jpillora-backoff/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-jpillora-backoff
+
+.if !defined(GO_JPILLORA_BACKOFF_BUILDLINK3_MK)
+GO_JPILLORA_BACKOFF_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-jpillora-backoff=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-jpillora-backoff?=	build
+
+BUILDLINK_API_DEPENDS.go-jpillora-backoff+=	go-jpillora-backoff>=1.0.0
+BUILDLINK_PKGSRCDIR.go-jpillora-backoff?=	../../wip/go-jpillora-backoff
+.endif	# GO_JPILLORA_BACKOFF_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-jpillora-backoff
diff --git a/go-jpillora-backoff/distinfo b/go-jpillora-backoff/distinfo
new file mode 100644
index 0000000000..c4a1c3b596
--- /dev/null
+++ b/go-jpillora-backoff/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-jpillora-backoff-1.0.0.tar.gz) = 114bc70a7ba422ea635a4a5e8ad5adc17c284e7d
+RMD160 (go-jpillora-backoff-1.0.0.tar.gz) = 2b6bb9caefac053b3979658ecd337d1181f0703d
+SHA512 (go-jpillora-backoff-1.0.0.tar.gz) = 471afbb0c2f5a4c9b4486366ae9e8b40c733bb603ce16320fd8163930e1a8804318d532a57e8555d9dc852c4baf4f1dc28f598a2d845615e6e5b087bbc2fadbe
+Size (go-jpillora-backoff-1.0.0.tar.gz) = 3507 bytes


Home | Main Index | Thread Index | Old Index