pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/go-units



Module Name:    pkgsrc
Committed By:   minskim
Date:           Sun Jun 17 01:11:11 UTC 2018

Added Files:
        pkgsrc/math/go-units: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/math/go-units/DESCR \
    pkgsrc/math/go-units/Makefile pkgsrc/math/go-units/PLIST \
    pkgsrc/math/go-units/buildlink3.mk pkgsrc/math/go-units/distinfo

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

Added files:

Index: pkgsrc/math/go-units/DESCR
diff -u /dev/null pkgsrc/math/go-units/DESCR:1.1
--- /dev/null   Sun Jun 17 01:11:11 2018
+++ pkgsrc/math/go-units/DESCR  Sun Jun 17 01:11:11 2018
@@ -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.
Index: pkgsrc/math/go-units/Makefile
diff -u /dev/null pkgsrc/math/go-units/Makefile:1.1
--- /dev/null   Sun Jun 17 01:11:11 2018
+++ pkgsrc/math/go-units/Makefile       Sun Jun 17 01:11:11 2018
@@ -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"
Index: pkgsrc/math/go-units/PLIST
diff -u /dev/null pkgsrc/math/go-units/PLIST:1.1
--- /dev/null   Sun Jun 17 01:11:11 2018
+++ pkgsrc/math/go-units/PLIST  Sun Jun 17 01:11:11 2018
@@ -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
Index: pkgsrc/math/go-units/buildlink3.mk
diff -u /dev/null pkgsrc/math/go-units/buildlink3.mk:1.1
--- /dev/null   Sun Jun 17 01:11:11 2018
+++ pkgsrc/math/go-units/buildlink3.mk  Sun Jun 17 01:11:11 2018
@@ -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
Index: pkgsrc/math/go-units/distinfo
diff -u /dev/null pkgsrc/math/go-units/distinfo:1.1
--- /dev/null   Sun Jun 17 01:11:11 2018
+++ pkgsrc/math/go-units/distinfo       Sun Jun 17 01:11:11 2018
@@ -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