pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/go-cast



Module Name:    pkgsrc
Committed By:   gavan
Date:           Thu Aug 17 01:19:11 UTC 2017

Added Files:
        pkgsrc/devel/go-cast: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
Add go-cast package


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

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

Added files:

Index: pkgsrc/devel/go-cast/DESCR
diff -u /dev/null pkgsrc/devel/go-cast/DESCR:1.1
--- /dev/null   Thu Aug 17 01:19:11 2017
+++ pkgsrc/devel/go-cast/DESCR  Thu Aug 17 01:19:10 2017
@@ -0,0 +1,3 @@
+Easy and safe casting from one type to another in Go
+
+Don’t Panic! ... Cast
Index: pkgsrc/devel/go-cast/Makefile
diff -u /dev/null pkgsrc/devel/go-cast/Makefile:1.1
--- /dev/null   Thu Aug 17 01:19:11 2017
+++ pkgsrc/devel/go-cast/Makefile       Thu Aug 17 01:19:10 2017
@@ -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"
+
Index: pkgsrc/devel/go-cast/PLIST
diff -u /dev/null pkgsrc/devel/go-cast/PLIST:1.1
--- /dev/null   Thu Aug 17 01:19:11 2017
+++ pkgsrc/devel/go-cast/PLIST  Thu Aug 17 01:19:10 2017
@@ -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
Index: pkgsrc/devel/go-cast/buildlink3.mk
diff -u /dev/null pkgsrc/devel/go-cast/buildlink3.mk:1.1
--- /dev/null   Thu Aug 17 01:19:11 2017
+++ pkgsrc/devel/go-cast/buildlink3.mk  Thu Aug 17 01:19:10 2017
@@ -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
+
Index: pkgsrc/devel/go-cast/distinfo
diff -u /dev/null pkgsrc/devel/go-cast/distinfo:1.1
--- /dev/null   Thu Aug 17 01:19:11 2017
+++ pkgsrc/devel/go-cast/distinfo       Thu Aug 17 01:19:10 2017
@@ -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