pkgsrc-WIP-changes archive

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

Import go-native-20200817 to wip



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

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

Log Message:
Import go-native-20200817 to wip

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

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

diffstat:
 Makefile                |  1 +
 go-native/DESCR         |  1 +
 go-native/Makefile      | 19 +++++++++++++++++++
 go-native/PLIST         | 10 ++++++++++
 go-native/buildlink3.mk | 15 +++++++++++++++
 go-native/distinfo      |  6 ++++++
 6 files changed, 52 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index c300b03aa4..694ea3c987 100644
--- a/Makefile
+++ b/Makefile
@@ -1243,6 +1243,7 @@ SUBDIR+=	go-mp3
 SUBDIR+=	go-mpb
 SUBDIR+=	go-maligned
 SUBDIR+=	go-mock
+SUBDIR+=	go-native
 SUBDIR+=	go-notify
 SUBDIR+=	go-ole
 SUBDIR+=	go-opentracing
diff --git a/go-native/DESCR b/go-native/DESCR
new file mode 100644
index 0000000000..fa2a0b3125
--- /dev/null
+++ b/go-native/DESCR
@@ -0,0 +1 @@
+Package native provides easy access to native byte order.
diff --git a/go-native/Makefile b/go-native/Makefile
new file mode 100644
index 0000000000..0bcddc4105
--- /dev/null
+++ b/go-native/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	native-20200817
+PKGNAME=	go-${DISTNAME}
+GITHUB_PROJECT=	native
+GITHUB_TAG=	b6b71def0850a2fbd7e6875f8e28217a48c5bcb4
+CATEGORIES=	category
+MASTER_SITES=	${MASTER_SITE_GITHUB:=josharian/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/josharian/native
+COMMENT=	Package native provides easy access to native byte order
+LICENSE=	mit
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH=	github.com/josharian/native
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-native/PLIST b/go-native/PLIST
new file mode 100644
index 0000000000..0b1c3a9539
--- /dev/null
+++ b/go-native/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/josharian/native.a
+gopkg/src/github.com/josharian/native/doc.go
+gopkg/src/github.com/josharian/native/endian_big.go
+gopkg/src/github.com/josharian/native/endian_generic.go
+gopkg/src/github.com/josharian/native/endian_little.go
+gopkg/src/github.com/josharian/native/endian_test.go
+gopkg/src/github.com/josharian/native/go.mod
+gopkg/src/github.com/josharian/native/license
+gopkg/src/github.com/josharian/native/readme.md
diff --git a/go-native/buildlink3.mk b/go-native/buildlink3.mk
new file mode 100644
index 0000000000..a7bc654327
--- /dev/null
+++ b/go-native/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-native
+
+.if !defined(GO_NATIVE_BUILDLINK3_MK)
+GO_NATIVE_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-native=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-native?=		build
+
+BUILDLINK_API_DEPENDS.go-native+=	go-native>=20200817
+BUILDLINK_PKGSRCDIR.go-native?=	../../wip/go-native
+.endif	# GO_NATIVE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-native
diff --git a/go-native/distinfo b/go-native/distinfo
new file mode 100644
index 0000000000..14fc8ce09c
--- /dev/null
+++ b/go-native/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (native-20200817-b6b71def0850a2fbd7e6875f8e28217a48c5bcb4.tar.gz) = 5517b1b460bdfa44a6298dd2dd4f7064d9b15dbc
+RMD160 (native-20200817-b6b71def0850a2fbd7e6875f8e28217a48c5bcb4.tar.gz) = 4634dabc3a521aff0d644d5b5001a65380dc9a65
+SHA512 (native-20200817-b6b71def0850a2fbd7e6875f8e28217a48c5bcb4.tar.gz) = 056a78fac8187e8472552c5ab40bf5721a12b222ef5a839e4446a8c803bb0154c16c06cbcaa9951c987ce9cd69ba70ceb2358024522d42f53cbaa644a04de58e
+Size (native-20200817-b6b71def0850a2fbd7e6875f8e28217a48c5bcb4.tar.gz) = 1803 bytes


Home | Main Index | Thread Index | Old Index