pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/go-cast Add go-cast package
details: https://anonhg.NetBSD.org/pkgsrc/rev/cac4638a533a
branches: trunk
changeset: 366630:cac4638a533a
user: gavan <gavan%pkgsrc.org@localhost>
date: Thu Aug 17 01:19:10 2017 +0000
description:
Add go-cast package
diffstat:
devel/go-cast/DESCR | 3 +++
devel/go-cast/Makefile | 21 +++++++++++++++++++++
devel/go-cast/PLIST | 9 +++++++++
devel/go-cast/buildlink3.mk | 17 +++++++++++++++++
devel/go-cast/distinfo | 6 ++++++
5 files changed, 56 insertions(+), 0 deletions(-)
diffs (76 lines):
diff -r dbcd812de5e8 -r cac4638a533a devel/go-cast/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-cast/DESCR Thu Aug 17 01:19:10 2017 +0000
@@ -0,0 +1,3 @@
+Easy and safe casting from one type to another in Go
+
+Donâ??t Panic! ... Cast
diff -r dbcd812de5e8 -r cac4638a533a devel/go-cast/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-cast/Makefile Thu Aug 17 01:19:10 2017 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2017/08/17 01:19:10 gavan Exp $
+
+DISTNAME= cast-1.1.0
+PKGNAME= go-${DISTNAME}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=spf13/}
+CATEGORIES= devel
+GITHUB_TAG= v${PKGVERSION_NOREV}
+GITHUB_PROJECT= ${PKGBASE:S/^go-//}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/spf13/cast
+COMMENT= safe and easy casting from one type to another in Go
+LICENSE= mit
+
+GO_DIST_BASE= ${DISTNAME}
+GO_SRCPATH= github.com/spf13/cast
+
+.include "../../devel/go-jwalterweatherman/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
+
diff -r dbcd812de5e8 -r cac4638a533a devel/go-cast/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-cast/PLIST Thu Aug 17 01:19:10 2017 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/17 01:19:10 gavan Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/spf13/cast.a
+gopkg/src/github.com/spf13/cast/LICENSE
+gopkg/src/github.com/spf13/cast/Makefile
+gopkg/src/github.com/spf13/cast/README.md
+gopkg/src/github.com/spf13/cast/cast.go
+gopkg/src/github.com/spf13/cast/cast_test.go
+gopkg/src/github.com/spf13/cast/caste.go
+@pkgdir bin
diff -r dbcd812de5e8 -r cac4638a533a devel/go-cast/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-cast/buildlink3.mk Thu Aug 17 01:19:10 2017 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/08/17 01:19:10 gavan Exp $
+
+BUILDLINK_TREE+= go-cast
+
+.if !defined(GO_CAST_BUILDLINK3_MK)
+GO_CAST_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-cast= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-cast?= build
+
+BUILDLINK_API_DEPENDS.go-cast+= go-cast>=1.1.0
+BUILDLINK_PKGSRCDIR.go-cast?= ../../devel/go-cast
+
+.endif # GO_CAST_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-cast
+
diff -r dbcd812de5e8 -r cac4638a533a devel/go-cast/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-cast/distinfo Thu Aug 17 01:19:10 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/17 01:19:10 gavan Exp $
+
+SHA1 (cast-1.1.0.tar.gz) = 28f2f9709309eacd4d1969ccb73904d7cba6b64c
+RMD160 (cast-1.1.0.tar.gz) = ce298ece9d877e6eb137c6923b05396ddb79c97d
+SHA512 (cast-1.1.0.tar.gz) = 21b9c1e72fef53a2100004f9aa1d027e7e9e1f5796753a8c22cf3fde5204d0a61fc667656eebcf3791ffa967221aa61d359a81d0e6976b5741115ef8f3f861be
+Size (cast-1.1.0.tar.gz) = 9592 bytes
Home |
Main Index |
Thread Index |
Old Index