pkgsrc-WIP-changes archive

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

Import go-atomic-1.7.0 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Mon Jan 18 14:36:57 2021 +0100
Changeset:	81892faa2bdd1d86f18f2478db90e5cab3faa313

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

Log Message:
Import go-atomic-1.7.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=81892faa2bdd1d86f18f2478db90e5cab3faa313

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

diffstat:
 Makefile                |  1 +
 go-atomic/DESCR         |  1 +
 go-atomic/Makefile      | 18 ++++++++++++++++++
 go-atomic/PLIST         | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 go-atomic/buildlink3.mk | 15 +++++++++++++++
 go-atomic/distinfo      |  6 ++++++
 6 files changed, 88 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 5ca8bff330..751ed65ab9 100644
--- a/Makefile
+++ b/Makefile
@@ -1172,6 +1172,7 @@ SUBDIR+=	go-amqp
 SUBDIR+=	go-ansi
 SUBDIR+=	go-ansicolor
 SUBDIR+=	go-ants
+SUBDIR+=	go-atomic
 SUBDIR+=	go-audio
 SUBDIR+=	go-aurora
 SUBDIR+=	go-backoff
diff --git a/go-atomic/DESCR b/go-atomic/DESCR
new file mode 100644
index 0000000000..cecffa3562
--- /dev/null
+++ b/go-atomic/DESCR
@@ -0,0 +1 @@
+Simple wrappers for primitive types to enforce atomic access
diff --git a/go-atomic/Makefile b/go-atomic/Makefile
new file mode 100644
index 0000000000..d252f20e35
--- /dev/null
+++ b/go-atomic/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+DISTNAME=	go-atomic-1.7.0
+GITHUB_PROJECT=	atomic
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	category
+MASTER_SITES=	${MASTER_SITE_GITHUB:=uber-go/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/uber-go/atomic/
+COMMENT=	Wrapper types for sync/atomic which enforce atomic access
+LICENSE=	mit
+
+GO_SRCPATH=	github.com/uber-go/atomic/
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-atomic/PLIST b/go-atomic/PLIST
new file mode 100644
index 0000000000..3cb4b61bac
--- /dev/null
+++ b/go-atomic/PLIST
@@ -0,0 +1,47 @@
+@comment $NetBSD$
+bin/gen-atomicint
+bin/gen-atomicwrapper
+gopkg/pkg/${GO_PLATFORM}/github.com/uber-go/atomic.a
+gopkg/src/github.com/uber-go/atomic/CHANGELOG.md
+gopkg/src/github.com/uber-go/atomic/LICENSE.txt
+gopkg/src/github.com/uber-go/atomic/Makefile
+gopkg/src/github.com/uber-go/atomic/README.md
+gopkg/src/github.com/uber-go/atomic/assert_test.go
+gopkg/src/github.com/uber-go/atomic/bool.go
+gopkg/src/github.com/uber-go/atomic/bool_ext.go
+gopkg/src/github.com/uber-go/atomic/bool_test.go
+gopkg/src/github.com/uber-go/atomic/doc.go
+gopkg/src/github.com/uber-go/atomic/duration.go
+gopkg/src/github.com/uber-go/atomic/duration_ext.go
+gopkg/src/github.com/uber-go/atomic/duration_test.go
+gopkg/src/github.com/uber-go/atomic/error.go
+gopkg/src/github.com/uber-go/atomic/error_ext.go
+gopkg/src/github.com/uber-go/atomic/error_test.go
+gopkg/src/github.com/uber-go/atomic/example_test.go
+gopkg/src/github.com/uber-go/atomic/float64.go
+gopkg/src/github.com/uber-go/atomic/float64_ext.go
+gopkg/src/github.com/uber-go/atomic/float64_test.go
+gopkg/src/github.com/uber-go/atomic/gen.go
+gopkg/src/github.com/uber-go/atomic/go.mod
+gopkg/src/github.com/uber-go/atomic/go.sum
+gopkg/src/github.com/uber-go/atomic/int32.go
+gopkg/src/github.com/uber-go/atomic/int32_test.go
+gopkg/src/github.com/uber-go/atomic/int64.go
+gopkg/src/github.com/uber-go/atomic/int64_test.go
+gopkg/src/github.com/uber-go/atomic/internal/gen-atomicint/main.go
+gopkg/src/github.com/uber-go/atomic/internal/gen-atomicwrapper/main.go
+gopkg/src/github.com/uber-go/atomic/nocmp.go
+gopkg/src/github.com/uber-go/atomic/nocmp_test.go
+gopkg/src/github.com/uber-go/atomic/stress_test.go
+gopkg/src/github.com/uber-go/atomic/string.go
+gopkg/src/github.com/uber-go/atomic/string_ext.go
+gopkg/src/github.com/uber-go/atomic/string_test.go
+gopkg/src/github.com/uber-go/atomic/tools/go.mod
+gopkg/src/github.com/uber-go/atomic/tools/go.sum
+gopkg/src/github.com/uber-go/atomic/tools/tools.go
+gopkg/src/github.com/uber-go/atomic/uint32.go
+gopkg/src/github.com/uber-go/atomic/uint32_test.go
+gopkg/src/github.com/uber-go/atomic/uint64.go
+gopkg/src/github.com/uber-go/atomic/uint64_test.go
+gopkg/src/github.com/uber-go/atomic/value.go
+gopkg/src/github.com/uber-go/atomic/value_test.go
diff --git a/go-atomic/buildlink3.mk b/go-atomic/buildlink3.mk
new file mode 100644
index 0000000000..d6100d7560
--- /dev/null
+++ b/go-atomic/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-atomic
+
+.if !defined(GO_ATOMIC_BUILDLINK3_MK)
+GO_ATOMIC_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-atomic=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-atomic?=		build
+
+BUILDLINK_API_DEPENDS.go-atomic+=	go-atomic>=1.7.0
+BUILDLINK_PKGSRCDIR.go-atomic?=	../../wip/go-atomic
+.endif	# GO_ATOMIC_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-atomic
diff --git a/go-atomic/distinfo b/go-atomic/distinfo
new file mode 100644
index 0000000000..4a782ad4b2
--- /dev/null
+++ b/go-atomic/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-atomic-1.7.0.tar.gz) = a39fec63eed7f405dcd1701f3f70b11422661e0a
+RMD160 (go-atomic-1.7.0.tar.gz) = be3ebb4d0433340aedb0df606a548456f4404af9
+SHA512 (go-atomic-1.7.0.tar.gz) = 78f0b57f33d2975b360893c371ae3aab1d2dba6248364a46c7025a5817f52fe6ba9d6561cf62e19b8e74ae5ab17e0b2adf1cb203c659e5c5041c7d8e935f5a65
+Size (go-atomic-1.7.0.tar.gz) = 18566 bytes


Home | Main Index | Thread Index | Old Index