pkgsrc-WIP-changes archive

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

Import go-xid-20201019 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By:	jihbed
Date:		Mon Jan 25 01:25:33 2021 +0100
Changeset:	24ca7475420b1d7654cdade76dce0a6c3aee37b3

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

Log Message:
Import go-xid-20201019 to wip

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

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

diffstat:
 Makefile             |  1 +
 go-xid/DESCR         |  2 ++
 go-xid/Makefile      | 19 +++++++++++++++++++
 go-xid/PLIST         | 16 ++++++++++++++++
 go-xid/buildlink3.mk | 15 +++++++++++++++
 go-xid/distinfo      |  6 ++++++
 6 files changed, 59 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index c2b2aa2e9d..f29a49c159 100644
--- a/Makefile
+++ b/Makefile
@@ -1311,6 +1311,7 @@ SUBDIR+=	go-upspin
 SUBDIR+=	go-uuid
 SUBDIR+=	go-uuid-iris-contrib
 SUBDIR+=	go-uuid-myesui
+SUBDIR+=	go-xid
 SUBDIR+=	go-zeroconf
 SUBDIR+=	go-zipexe
 SUBDIR+=	goattracker
diff --git a/go-xid/DESCR b/go-xid/DESCR
new file mode 100644
index 0000000000..89a7c0f6bb
--- /dev/null
+++ b/go-xid/DESCR
@@ -0,0 +1,2 @@
+Package xid is a globally unique id generator library,
+ready to safely be used directly in your server code.
diff --git a/go-xid/Makefile b/go-xid/Makefile
new file mode 100644
index 0000000000..69299b75ea
--- /dev/null
+++ b/go-xid/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	xid-20201019
+PKGNAME=	go-${DISTNAME}
+GITHUB_PROJECT=	xid
+GITHUB_TAG=	efa678f304ab65d6d57eedcb086798381ae22206
+CATEGORIES=	www
+MASTER_SITES=	${MASTER_SITE_GITHUB:=rs/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/rs/xid/
+COMMENT=	Globally unique id generator thought for the web
+LICENSE=	mit
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH=	github.com/rs/${GITHUB_PROJECT}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-xid/PLIST b/go-xid/PLIST
new file mode 100644
index 0000000000..22ea09937d
--- /dev/null
+++ b/go-xid/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/rs/xid.a
+gopkg/pkg/${GO_PLATFORM}/github.com/rs/xid/b.a
+gopkg/src/github.com/rs/xid/LICENSE
+gopkg/src/github.com/rs/xid/README.md
+gopkg/src/github.com/rs/xid/b/README.md
+gopkg/src/github.com/rs/xid/b/id.go
+gopkg/src/github.com/rs/xid/b/id_test.go
+gopkg/src/github.com/rs/xid/go.mod
+gopkg/src/github.com/rs/xid/hostid_darwin.go
+gopkg/src/github.com/rs/xid/hostid_fallback.go
+gopkg/src/github.com/rs/xid/hostid_freebsd.go
+gopkg/src/github.com/rs/xid/hostid_linux.go
+gopkg/src/github.com/rs/xid/hostid_windows.go
+gopkg/src/github.com/rs/xid/id.go
+gopkg/src/github.com/rs/xid/id_test.go
diff --git a/go-xid/buildlink3.mk b/go-xid/buildlink3.mk
new file mode 100644
index 0000000000..dc6a56c55e
--- /dev/null
+++ b/go-xid/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-xid
+
+.if !defined(GO_XID_BUILDLINK3_MK)
+GO_XID_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-xid=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-xid?=		build
+
+BUILDLINK_API_DEPENDS.go-xid+=	go-xid>=20201019
+BUILDLINK_PKGSRCDIR.go-xid?=	../../wip/go-xid
+.endif	# GO_XID_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-xid
diff --git a/go-xid/distinfo b/go-xid/distinfo
new file mode 100644
index 0000000000..7fe980b191
--- /dev/null
+++ b/go-xid/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (xid-20201019-efa678f304ab65d6d57eedcb086798381ae22206.tar.gz) = df0aa7a568a34a2305aab7f1f6b496de1243511f
+RMD160 (xid-20201019-efa678f304ab65d6d57eedcb086798381ae22206.tar.gz) = 57ce5fe6c440385fb6455d02b8622f7abf453ab2
+SHA512 (xid-20201019-efa678f304ab65d6d57eedcb086798381ae22206.tar.gz) = 1eb1f82b73dd7fc6b8b311873e55c6c6fd19b0ef8c68ae322265ef39efb2571bed1593526413c4dcbc0c547e863a3b34b31fda7a759208c160980e7a503c0f79
+Size (xid-20201019-efa678f304ab65d6d57eedcb086798381ae22206.tar.gz) = 10412 bytes


Home | Main Index | Thread Index | Old Index