pkgsrc-WIP-changes archive

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

Import go-randomdata-1.2.0 to wip



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

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

Log Message:
Import go-randomdata-1.2.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=d955fd5f5bf17b2c79fc7daf3c830941f3628c92

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

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

diffs:
diff --git a/Makefile b/Makefile
index f8f25e13b5..20dfe470c7 100644
--- a/Makefile
+++ b/Makefile
@@ -1284,6 +1284,7 @@ SUBDIR+=	go-properties-map
 SUBDIR+=	go-protobuf-go
 SUBDIR+=	go-ps
 SUBDIR+=	go-python
+SUBDIR+=	go-randomdata
 SUBDIR+=	go-randutil
 SUBDIR+=	go-rateio
 SUBDIR+=	go-raymond
diff --git a/go-randomdata/DESCR b/go-randomdata/DESCR
new file mode 100644
index 0000000000..ff0fa789f8
--- /dev/null
+++ b/go-randomdata/DESCR
@@ -0,0 +1,2 @@
+ A tiny generator of random data for golang,
+ also known as a faker
diff --git a/go-randomdata/Makefile b/go-randomdata/Makefile
new file mode 100644
index 0000000000..afbe27351f
--- /dev/null
+++ b/go-randomdata/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	randomdata-1.2.0
+PKGNAME=	go-${DISTNAME}
+GITHUB_PROJECT=	go-randomdata
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+CATEGORIES=	security
+MASTER_SITES=	${MASTER_SITE_GITHUB:=Pallinder/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/Pallinder/go-randomdata/
+COMMENT=	Generator of random data for golang
+LICENSE=	mit
+
+GO_DIST_BASE=	${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+GO_SRCPATH=	github.com/Pallinder/${GITHUB_PROJECT}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-randomdata/PLIST b/go-randomdata/PLIST
new file mode 100644
index 0000000000..7fcc010a72
--- /dev/null
+++ b/go-randomdata/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/Pallinder/go-randomdata.a
+gopkg/src/github.com/Pallinder/go-randomdata/CHANGELOG.md
+gopkg/src/github.com/Pallinder/go-randomdata/LICENSE
+gopkg/src/github.com/Pallinder/go-randomdata/README.md
+gopkg/src/github.com/Pallinder/go-randomdata/fullprofile.go
+gopkg/src/github.com/Pallinder/go-randomdata/fullprofile_test.go
+gopkg/src/github.com/Pallinder/go-randomdata/jsondata.go
+gopkg/src/github.com/Pallinder/go-randomdata/postalcodes.go
+gopkg/src/github.com/Pallinder/go-randomdata/postalcodes_test.go
+gopkg/src/github.com/Pallinder/go-randomdata/random_data.go
+gopkg/src/github.com/Pallinder/go-randomdata/random_data_example_test.go
+gopkg/src/github.com/Pallinder/go-randomdata/random_data_test.go
diff --git a/go-randomdata/buildlink3.mk b/go-randomdata/buildlink3.mk
new file mode 100644
index 0000000000..a34835d8db
--- /dev/null
+++ b/go-randomdata/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-randomdata
+
+.if !defined(GO_RANDOMDATA_BUILDLINK3_MK)
+GO_RANDOMDATA_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-randomdata=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-randomdata?=		build
+
+BUILDLINK_API_DEPENDS.go-randomdata+=	go-randomdata>=1.2.0
+BUILDLINK_PKGSRCDIR.go-randomdata?=	../../wip/go-randomdata
+.endif	# GO_RANDOMDATA_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-randomdata
diff --git a/go-randomdata/distinfo b/go-randomdata/distinfo
new file mode 100644
index 0000000000..5fa8f8e246
--- /dev/null
+++ b/go-randomdata/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (randomdata-1.2.0.tar.gz) = 3a56e2d28aaf051091f0af7cf135f9b0a0a770c9
+RMD160 (randomdata-1.2.0.tar.gz) = 2bd5514ed4379ca161de0d47ded9a9d79634ac07
+SHA512 (randomdata-1.2.0.tar.gz) = f951d02e8ae46ae835006ebe3a2ed0418f8158a2bb065c3c6dbba65cdf06da8c654d6fb805a1a6aac1c3ba85f7574878cd1c396714d8b14a131a692913c2785e
+Size (randomdata-1.2.0.tar.gz) = 29564 bytes


Home | Main Index | Thread Index | Old Index