pkgsrc-WIP-changes archive

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

go-incremental-1.0.0 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Tue Jan 19 12:04:30 2021 +0100
Changeset:	3e688d7e1d58de28e280b1f2f4f9240e56f42da6

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

Log Message:
go-incremental-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=3e688d7e1d58de28e280b1f2f4f9240e56f42da6

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

diffstat:
 Makefile                     |  1 +
 go-incremental/DESCR         |  2 ++
 go-incremental/Makefile      | 18 ++++++++++++++++++
 go-incremental/PLIST         | 30 ++++++++++++++++++++++++++++++
 go-incremental/buildlink3.mk | 15 +++++++++++++++
 go-incremental/distinfo      |  6 ++++++
 6 files changed, 72 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 764cb6f794..1393969094 100644
--- a/Makefile
+++ b/Makefile
@@ -1231,6 +1231,7 @@ SUBDIR+=	go-httphead
 SUBDIR+=	go-httpsnoop
 SUBDIR+=	go-humanize
 SUBDIR+=	go-imgui
+SUBDIR+=	go-incremental
 SUBDIR+=	go-intern
 SUBDIR+=	go-jira
 SUBDIR+=	go-jsonparser
diff --git a/go-incremental/DESCR b/go-incremental/DESCR
new file mode 100644
index 0000000000..573278e2d8
--- /dev/null
+++ b/go-incremental/DESCR
@@ -0,0 +1,2 @@
+Go package incremental provides typed incremental
+counters that are concurrency-safe
diff --git a/go-incremental/Makefile b/go-incremental/Makefile
new file mode 100644
index 0000000000..edfd502f78
--- /dev/null
+++ b/go-incremental/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	go-incremental-1.0.0
+GITHUB_PROJECT=	go.incremental
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=GeertJohan/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/GeertJohan/go.incremental/
+COMMENT=	package incremental provides concurency-safe incremental numbers
+LICENSE=	2-clause-bsd
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+GO_SRCPATH=	github.com/GeertJohan/go.incremental
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-incremental/PLIST b/go-incremental/PLIST
new file mode 100644
index 0000000000..af74f15ddb
--- /dev/null
+++ b/go-incremental/PLIST
@@ -0,0 +1,30 @@
+@comment $NetBSD$
+bin/example
+bin/gen
+gopkg/pkg/${GO_PLATFORM}/github.com/GeertJohan/go.incremental.a
+gopkg/src/github.com/GeertJohan/go.incremental/LICENSE
+gopkg/src/github.com/GeertJohan/go.incremental/README.md
+gopkg/src/github.com/GeertJohan/go.incremental/doc.go
+gopkg/src/github.com/GeertJohan/go.incremental/example/example.go
+gopkg/src/github.com/GeertJohan/go.incremental/gen/generator.go
+gopkg/src/github.com/GeertJohan/go.incremental/go.mod
+gopkg/src/github.com/GeertJohan/go.incremental/int.go
+gopkg/src/github.com/GeertJohan/go.incremental/int16.go
+gopkg/src/github.com/GeertJohan/go.incremental/int16_test.go
+gopkg/src/github.com/GeertJohan/go.incremental/int32.go
+gopkg/src/github.com/GeertJohan/go.incremental/int32_test.go
+gopkg/src/github.com/GeertJohan/go.incremental/int64.go
+gopkg/src/github.com/GeertJohan/go.incremental/int64_test.go
+gopkg/src/github.com/GeertJohan/go.incremental/int8.go
+gopkg/src/github.com/GeertJohan/go.incremental/int8_test.go
+gopkg/src/github.com/GeertJohan/go.incremental/int_test.go
+gopkg/src/github.com/GeertJohan/go.incremental/uint.go
+gopkg/src/github.com/GeertJohan/go.incremental/uint16.go
+gopkg/src/github.com/GeertJohan/go.incremental/uint16_test.go
+gopkg/src/github.com/GeertJohan/go.incremental/uint32.go
+gopkg/src/github.com/GeertJohan/go.incremental/uint32_test.go
+gopkg/src/github.com/GeertJohan/go.incremental/uint64.go
+gopkg/src/github.com/GeertJohan/go.incremental/uint64_test.go
+gopkg/src/github.com/GeertJohan/go.incremental/uint8.go
+gopkg/src/github.com/GeertJohan/go.incremental/uint8_test.go
+gopkg/src/github.com/GeertJohan/go.incremental/uint_test.go
diff --git a/go-incremental/buildlink3.mk b/go-incremental/buildlink3.mk
new file mode 100644
index 0000000000..d530f0ccd7
--- /dev/null
+++ b/go-incremental/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-incremental
+
+.if !defined(GO_INCREMENTAL_BUILDLINK3_MK)
+GO_INCREMENTAL_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-incremental=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-incremental?=		build
+
+BUILDLINK_API_DEPENDS.go-incremental+=	go-incremental>=1.0.0
+BUILDLINK_PKGSRCDIR.go-incremental?=	../../wip/go-incremental
+.endif	# GO_INCREMENTAL_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-incremental
diff --git a/go-incremental/distinfo b/go-incremental/distinfo
new file mode 100644
index 0000000000..7af7ce1596
--- /dev/null
+++ b/go-incremental/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-incremental-1.0.0.tar.gz) = 29658a81729048ce964fc26f3b478e23d2b9767f
+RMD160 (go-incremental-1.0.0.tar.gz) = d8c2c55cd38825c2387b881e6e1879beda1586f2
+SHA512 (go-incremental-1.0.0.tar.gz) = 8d264573ab486508619af97fe38fc4956df0cf843c772fa847967ddfc3d1de8cb2643b69be307646e91e52b62790a2e89effd672d741580dfe449a51aef79200
+Size (go-incremental-1.0.0.tar.gz) = 4121 bytes


Home | Main Index | Thread Index | Old Index