pkgsrc-WIP-changes archive

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

Initial import of go-humanize, git tag 383332499bf02f79d3e696220c2713722438529c.



Module Name:	pkgsrc-wip
Committed By:	Alexander Nasonov <alnsn%yandex.ru@localhost>
Pushed By:	alnsn
Date:		Sun Aug 27 17:40:47 2017 +0100
Changeset:	d492b602d0c524d7fea57a96ae7b02ea01669f97

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

Log Message:
Initial import of go-humanize, git tag 383332499bf02f79d3e696220c2713722438529c.

go-humanize: Just a few functions for helping humanize times and sizes.

XXX There is no upstream release: https://github.com/dustin/go-humanize/issues/56

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

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

diffstat:
 go-humanize/DESCR         |  1 +
 go-humanize/Makefile      | 22 ++++++++++++++++++++++
 go-humanize/PLIST         | 26 ++++++++++++++++++++++++++
 go-humanize/buildlink3.mk | 15 +++++++++++++++
 go-humanize/distinfo      |  6 ++++++
 5 files changed, 70 insertions(+)

diffs:
diff --git a/go-humanize/DESCR b/go-humanize/DESCR
new file mode 100644
index 0000000000..84ce035a9b
--- /dev/null
+++ b/go-humanize/DESCR
@@ -0,0 +1 @@
+Just a few functions for helping humanize times and sizes.
diff --git a/go-humanize/Makefile b/go-humanize/Makefile
new file mode 100644
index 0000000000..bffc4daac4
--- /dev/null
+++ b/go-humanize/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+# XXX 0.0.1 is a made-up release number, watch for a release:
+# https://github.com/dustin/go-humanize/issues/56
+PKGNAME=	go-humanize-0.0.1
+GITHUB_TAG=	383332499bf02f79d3e696220c2713722438529c
+DISTNAME=	go-humanize-${GITHUB_TAG}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=dustin/}
+GITHUB_PROJECT=	go-humanize
+
+MAINTAINER=	alnsn%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/dustin/go-humanize
+COMMENT=	Go Humans! (formatters for units to human friendly sizes)
+LICENSE=	mit
+
+WRKSRC=		${WRKDIR}
+GO_DIST_BASE=	go-humanize-${GITHUB_TAG}
+GO_SRCPATH=	github.com/dustin/go-humanize
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-humanize/PLIST b/go-humanize/PLIST
new file mode 100644
index 0000000000..15eada0369
--- /dev/null
+++ b/go-humanize/PLIST
@@ -0,0 +1,26 @@
+@comment $NetBSD$
+gopkg/pkg/${GO_PLATFORM}/github.com/dustin/go-humanize.a
+gopkg/src/github.com/dustin/go-humanize/LICENSE
+gopkg/src/github.com/dustin/go-humanize/README.markdown
+gopkg/src/github.com/dustin/go-humanize/big.go
+gopkg/src/github.com/dustin/go-humanize/bigbytes.go
+gopkg/src/github.com/dustin/go-humanize/bigbytes_test.go
+gopkg/src/github.com/dustin/go-humanize/bytes.go
+gopkg/src/github.com/dustin/go-humanize/bytes_test.go
+gopkg/src/github.com/dustin/go-humanize/comma.go
+gopkg/src/github.com/dustin/go-humanize/comma_test.go
+gopkg/src/github.com/dustin/go-humanize/commaf.go
+gopkg/src/github.com/dustin/go-humanize/commaf_test.go
+gopkg/src/github.com/dustin/go-humanize/common_test.go
+gopkg/src/github.com/dustin/go-humanize/ftoa.go
+gopkg/src/github.com/dustin/go-humanize/ftoa_test.go
+gopkg/src/github.com/dustin/go-humanize/humanize.go
+gopkg/src/github.com/dustin/go-humanize/number.go
+gopkg/src/github.com/dustin/go-humanize/number_test.go
+gopkg/src/github.com/dustin/go-humanize/ordinals.go
+gopkg/src/github.com/dustin/go-humanize/ordinals_test.go
+gopkg/src/github.com/dustin/go-humanize/si.go
+gopkg/src/github.com/dustin/go-humanize/si_test.go
+gopkg/src/github.com/dustin/go-humanize/times.go
+gopkg/src/github.com/dustin/go-humanize/times_test.go
+@pkgdir bin
diff --git a/go-humanize/buildlink3.mk b/go-humanize/buildlink3.mk
new file mode 100644
index 0000000000..b02730b422
--- /dev/null
+++ b/go-humanize/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-humanize
+
+.if !defined(GO_HUMANIZE_BUILDLINK3_MK)
+GO_HUMANIZE_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-humanize=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-humanize?=		build
+
+BUILDLINK_API_DEPENDS.go-humanize+=	go-humanize>=0.0.1
+BUILDLINK_PKGSRCDIR.go-humanize?=	../../wip/go-humanize
+.endif	# GO_HUMANIZE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-humanize
diff --git a/go-humanize/distinfo b/go-humanize/distinfo
new file mode 100644
index 0000000000..87dac8c118
--- /dev/null
+++ b/go-humanize/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-humanize-383332499bf02f79d3e696220c2713722438529c-383332499bf02f79d3e696220c2713722438529c.tar.gz) = 09b8262d1fdbeced0bda409e229ec12eac914c75
+RMD160 (go-humanize-383332499bf02f79d3e696220c2713722438529c-383332499bf02f79d3e696220c2713722438529c.tar.gz) = 0cc331835c4d1dfd4a0a3b0b50e75f7e59e20f22
+SHA512 (go-humanize-383332499bf02f79d3e696220c2713722438529c-383332499bf02f79d3e696220c2713722438529c.tar.gz) = 854b7855ff0df8433812c58bfe101d6e9fcf26aa4d032a93969a97d87520b629d9b99aa65d965a8e79eb9fc070c5170e67c82d31facec9b540bda1543b28e248
+Size (go-humanize-383332499bf02f79d3e696220c2713722438529c-383332499bf02f79d3e696220c2713722438529c.tar.gz) = 14648 bytes


Home | Main Index | Thread Index | Old Index