pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/go-goreturns
Module Name: pkgsrc
Committed By: minskim
Date: Sat Jul 21 22:07:31 UTC 2018
Added Files:
pkgsrc/devel/go-goreturns: DESCR Makefile PLIST distinfo
Log Message:
devel/go-goreturns: Import version 0.0.20180301
A gofmt/goimports-like tool for Go programmers that fills in Go return
statements with zero values to match the func return types. This tool
adds zero-value return values to incomplete Go return statements, to
save you time when writing Go. It is inspired by and based on
goimports.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/go-goreturns/DESCR \
pkgsrc/devel/go-goreturns/Makefile pkgsrc/devel/go-goreturns/PLIST \
pkgsrc/devel/go-goreturns/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-goreturns/DESCR
diff -u /dev/null pkgsrc/devel/go-goreturns/DESCR:1.1
--- /dev/null Sat Jul 21 22:07:31 2018
+++ pkgsrc/devel/go-goreturns/DESCR Sat Jul 21 22:07:31 2018
@@ -0,0 +1,5 @@
+A gofmt/goimports-like tool for Go programmers that fills in Go return
+statements with zero values to match the func return types. This tool
+adds zero-value return values to incomplete Go return statements, to
+save you time when writing Go. It is inspired by and based on
+goimports.
Index: pkgsrc/devel/go-goreturns/Makefile
diff -u /dev/null pkgsrc/devel/go-goreturns/Makefile:1.1
--- /dev/null Sat Jul 21 22:07:31 2018
+++ pkgsrc/devel/go-goreturns/Makefile Sat Jul 21 22:07:31 2018
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2018/07/21 22:07:31 minskim Exp $
+
+DISTNAME= goreturns-0.0.20180301
+PKGNAME= go-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=sqs/}
+GITHUB_PROJECT= goreturns
+GITHUB_TAG= 83e02874ec120f73d5f7dd382d62449dc8abe9c6
+
+MAINTAINER= minskim%NetBSD.org@localhost
+HOMEPAGE= https://github.com/sqs/goreturns
+COMMENT= Formatting tool filling in return statements with zero values
+LICENSE= modified-bsd
+
+GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH= github.com/sqs/${GITHUB_PROJECT}
+
+.include "../../devel/go-tools/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/go-goreturns/PLIST
diff -u /dev/null pkgsrc/devel/go-goreturns/PLIST:1.1
--- /dev/null Sat Jul 21 22:07:31 2018
+++ pkgsrc/devel/go-goreturns/PLIST Sat Jul 21 22:07:31 2018
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1 2018/07/21 22:07:31 minskim Exp $
+bin/goreturns
+gopkg/pkg/${GO_PLATFORM}/github.com/sqs/goreturns/returns.a
+gopkg/src/github.com/sqs/goreturns/LICENSE
+gopkg/src/github.com/sqs/goreturns/README.md
+gopkg/src/github.com/sqs/goreturns/_samples/a.go
+gopkg/src/github.com/sqs/goreturns/_samples/b.go
+gopkg/src/github.com/sqs/goreturns/goreturns.go
+gopkg/src/github.com/sqs/goreturns/returns/fix.go
+gopkg/src/github.com/sqs/goreturns/returns/fix_test.go
+gopkg/src/github.com/sqs/goreturns/returns/index.go
+gopkg/src/github.com/sqs/goreturns/returns/returns.go
+gopkg/src/github.com/sqs/goreturns/screencast.gif
Index: pkgsrc/devel/go-goreturns/distinfo
diff -u /dev/null pkgsrc/devel/go-goreturns/distinfo:1.1
--- /dev/null Sat Jul 21 22:07:31 2018
+++ pkgsrc/devel/go-goreturns/distinfo Sat Jul 21 22:07:31 2018
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/07/21 22:07:31 minskim Exp $
+
+SHA1 (goreturns-0.0.20180301-83e02874ec120f73d5f7dd382d62449dc8abe9c6.tar.gz) = a8e48a4ff473181d9250eb1298533615a19496cd
+RMD160 (goreturns-0.0.20180301-83e02874ec120f73d5f7dd382d62449dc8abe9c6.tar.gz) = 130035e3f6c694a704b86064c5292b512d2daa0e
+SHA512 (goreturns-0.0.20180301-83e02874ec120f73d5f7dd382d62449dc8abe9c6.tar.gz) =
c0775f425dd1b3bb1b95d1735db249699ca21d5ef4d654604e1b2a98502a0f124026d0d365819e9ff4be502b6a65d3fa60bd4dc700ded6563a259bc3bffc7d95
+Size (goreturns-0.0.20180301-83e02874ec120f73d5f7dd382d62449dc8abe9c6.tar.gz) = 6072825 bytes
Home |
Main Index |
Thread Index |
Old Index