pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/go-units math/go-units: Import version 0.0.20151021



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ebb08722a7bc
branches:  trunk
changeset: 381771:ebb08722a7bc
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Jun 17 01:11:11 2018 +0000

description:
math/go-units: Import version 0.0.20151021

go-units provides helpful unit multipliers and functions in Go. The
goal of this package is to have functionality similar to the time
package.

diffstat:

 math/go-units/DESCR         |   3 +++
 math/go-units/Makefile      |  19 +++++++++++++++++++
 math/go-units/PLIST         |   9 +++++++++
 math/go-units/buildlink3.mk |  15 +++++++++++++++
 math/go-units/distinfo      |   6 ++++++
 5 files changed, 52 insertions(+), 0 deletions(-)

diffs (72 lines):

diff -r 1f02fe912b26 -r ebb08722a7bc math/go-units/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/go-units/DESCR       Sun Jun 17 01:11:11 2018 +0000
@@ -0,0 +1,3 @@
+go-units provides helpful unit multipliers and functions in Go. The
+goal of this package is to have functionality similar to the time
+package.
diff -r 1f02fe912b26 -r ebb08722a7bc math/go-units/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/go-units/Makefile    Sun Jun 17 01:11:11 2018 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2018/06/17 01:11:11 minskim Exp $
+
+DISTNAME=      units-0.0.20151021
+PKGNAME=       go-${DISTNAME}
+CATEGORIES=    math
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=alecthomas/}
+GITHUB_PROJECT=        ${PKGBASE:S/^go-//}
+GITHUB_TAG=    2efee857e7cfd4f3d0138cc3cbb1b4966962b93a
+
+MAINTAINER=    minskim%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/alecthomas/units
+COMMENT=       Helpful unit multipliers and functions for Go
+LICENSE=       mit
+
+GO_DIST_BASE=  ${PKGBASE:S/go-//}-${GITHUB_TAG}
+GO_SRCPATH=    ${HOMEPAGE:S,https://,,}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 1f02fe912b26 -r ebb08722a7bc math/go-units/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/go-units/PLIST       Sun Jun 17 01:11:11 2018 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2018/06/17 01:11:11 minskim Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/alecthomas/units.a
+gopkg/src/github.com/alecthomas/units/COPYING
+gopkg/src/github.com/alecthomas/units/README.md
+gopkg/src/github.com/alecthomas/units/bytes.go
+gopkg/src/github.com/alecthomas/units/bytes_test.go
+gopkg/src/github.com/alecthomas/units/doc.go
+gopkg/src/github.com/alecthomas/units/si.go
+gopkg/src/github.com/alecthomas/units/util.go
diff -r 1f02fe912b26 -r ebb08722a7bc math/go-units/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/go-units/buildlink3.mk       Sun Jun 17 01:11:11 2018 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/06/17 01:11:11 minskim Exp $
+
+BUILDLINK_TREE+=       go-units
+
+.if !defined(GO_UNITS_BUILDLINK3_MK)
+GO_UNITS_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-units=    ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-units?=         build
+
+BUILDLINK_API_DEPENDS.go-units+=       go-units>=0.0.20151021
+BUILDLINK_PKGSRCDIR.go-units?=         ../../math/go-units
+.endif # GO_UNITS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-units
diff -r 1f02fe912b26 -r ebb08722a7bc math/go-units/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/go-units/distinfo    Sun Jun 17 01:11:11 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/06/17 01:11:11 minskim Exp $
+
+SHA1 (units-0.0.20151021-2efee857e7cfd4f3d0138cc3cbb1b4966962b93a.tar.gz) = 0e7c6d9b722f5bbd15b6264c7b3da68aff75ebda
+RMD160 (units-0.0.20151021-2efee857e7cfd4f3d0138cc3cbb1b4966962b93a.tar.gz) = 18c432a31c47fd170f1fd3565908ad1f8df17271
+SHA512 (units-0.0.20151021-2efee857e7cfd4f3d0138cc3cbb1b4966962b93a.tar.gz) = 
855f15eeb83bdc16981694f522aa1e200a3857ed11ae87fca9b0cc70734eac76f5082bc3ed92f843b818da14b58dc921dbb1aed4ea35de056c087a64b7e25fe4
+Size (units-0.0.20151021-2efee857e7cfd4f3d0138cc3cbb1b4966962b93a.tar.gz) = 3442 bytes



Home | Main Index | Thread Index | Old Index