pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/go-humanize devel/go-humanize: import go-humaniz...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ab17e2d574f1
branches:  trunk
changeset: 387434:ab17e2d574f1
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sun Nov 18 07:51:51 2018 +0000

description:
devel/go-humanize: import go-humanize-1.0.0

Just a few functions for helping humanize times and sizes.

diffstat:

 devel/go-humanize/DESCR         |   1 +
 devel/go-humanize/Makefile      |  18 ++++++++++++++++++
 devel/go-humanize/PLIST         |  28 ++++++++++++++++++++++++++++
 devel/go-humanize/buildlink3.mk |  15 +++++++++++++++
 devel/go-humanize/distinfo      |   6 ++++++
 5 files changed, 68 insertions(+), 0 deletions(-)

diffs (88 lines):

diff -r 9d61c66f4c98 -r ab17e2d574f1 devel/go-humanize/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-humanize/DESCR   Sun Nov 18 07:51:51 2018 +0000
@@ -0,0 +1,1 @@
+Just a few functions for helping humanize times and sizes.
diff -r 9d61c66f4c98 -r ab17e2d574f1 devel/go-humanize/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-humanize/Makefile        Sun Nov 18 07:51:51 2018 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2018/11/18 07:51:51 ryoon Exp $
+
+DISTNAME=      go-humanize-1.0.0
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=dustin/}
+CATEGORIES=    devel
+GITHUB_PROJECT=        go-humanize
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/dustin/go-humanize
+COMMENT=       Go library for formatters for units to human friendly sizes
+LICENSE=       mit
+
+GO_DIST_BASE=  ${DISTNAME}
+GO_SRCPATH=    github.com/dustin/go-humanize
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9d61c66f4c98 -r ab17e2d574f1 devel/go-humanize/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-humanize/PLIST   Sun Nov 18 07:51:51 2018 +0000
@@ -0,0 +1,28 @@
+@comment $NetBSD: PLIST,v 1.1 2018/11/18 07:51:51 ryoon Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/dustin/go-humanize.a
+gopkg/pkg/${GO_PLATFORM}/github.com/dustin/go-humanize/english.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/english/words.go
+gopkg/src/github.com/dustin/go-humanize/english/words_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
diff -r 9d61c66f4c98 -r ab17e2d574f1 devel/go-humanize/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-humanize/buildlink3.mk   Sun Nov 18 07:51:51 2018 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/11/18 07:51:51 ryoon Exp $
+
+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>=1.0.0
+BUILDLINK_PKGSRCDIR.go-humanize?=      ../../devel/go-humanize
+.endif # GO_HUMANIZE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-humanize
diff -r 9d61c66f4c98 -r ab17e2d574f1 devel/go-humanize/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-humanize/distinfo        Sun Nov 18 07:51:51 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/11/18 07:51:51 ryoon Exp $
+
+SHA1 (go-humanize-1.0.0.tar.gz) = a58d51328a05f7885fa9f4a476ba9260cd74223e
+RMD160 (go-humanize-1.0.0.tar.gz) = efc424b15511190e85ed8a5d32d3b0c0a69c8add
+SHA512 (go-humanize-1.0.0.tar.gz) = 95df73ba306ae1a465f5b299a78eae1cfe99e2a288c49286a5ee6da6b8aa3ec14d0eef88bfa474bcf2bafdd0bbf47d513848d4f1dedf110845af39f2ad4157d4
+Size (go-humanize-1.0.0.tar.gz) = 17260 bytes



Home | Main Index | Thread Index | Old Index