pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel Add devel/go-wordwrap version 1.0.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/3df78cd71fec
branches: trunk
changeset: 428383:3df78cd71fec
user: nikita <nikita%pkgsrc.org@localhost>
date: Mon Apr 27 15:15:08 2020 +0000
description:
Add devel/go-wordwrap version 1.0.0
go-wordwrap is a package for Go that automatically wraps words into
multiple lines. The primary use case for this is in formatting CLI
output, but of course word wrapping is a generally useful thing to do.
diffstat:
devel/Makefile | 3 ++-
devel/go-wordwrap/DESCR | 3 +++
devel/go-wordwrap/Makefile | 18 ++++++++++++++++++
devel/go-wordwrap/PLIST | 7 +++++++
devel/go-wordwrap/buildlink3.mk | 16 ++++++++++++++++
devel/go-wordwrap/distinfo | 6 ++++++
6 files changed, 52 insertions(+), 1 deletions(-)
diffs (87 lines):
diff -r 20401eb924bf -r 3df78cd71fec devel/Makefile
--- a/devel/Makefile Mon Apr 27 15:00:54 2020 +0000
+++ b/devel/Makefile Mon Apr 27 15:15:08 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3109 2020/04/26 13:39:55 mef Exp $
+# $NetBSD: Makefile,v 1.3110 2020/04/27 15:15:08 nikita Exp $
#
COMMENT= Development utilities
@@ -455,6 +455,7 @@
SUBDIR+= go-tools
SUBDIR+= go-try
SUBDIR+= go-viper
+SUBDIR+= go-wordwrap
SUBDIR+= go-xerrors
SUBDIR+= go-yaml
SUBDIR+= gob2
diff -r 20401eb924bf -r 3df78cd71fec devel/go-wordwrap/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-wordwrap/DESCR Mon Apr 27 15:15:08 2020 +0000
@@ -0,0 +1,3 @@
+go-wordwrap is a package for Go that automatically wraps words into
+multiple lines. The primary use case for this is in formatting CLI
+output, but of course word wrapping is a generally useful thing to do.
diff -r 20401eb924bf -r 3df78cd71fec devel/go-wordwrap/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-wordwrap/Makefile Mon Apr 27 15:15:08 2020 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2020/04/27 15:15:08 nikita Exp $
+
+DISTNAME= go-wordwrap-1.0.0
+MASTER_SITES= ${MASTER_SITE_GITHUB:=mitchellh/}
+CATEGORIES= devel
+GITHUB_PROJECT= go-wordwrap
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/mitchellh/go-wordwrap
+COMMENT= Go library for wrapping words in a string
+LICENSE= mit
+
+GO_DIST_BASE= ${DISTNAME}
+GO_SRCPATH= github.com/mitchellh/go-wordwrap
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 20401eb924bf -r 3df78cd71fec devel/go-wordwrap/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-wordwrap/PLIST Mon Apr 27 15:15:08 2020 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2020/04/27 15:15:08 nikita Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/mitchellh/go-wordwrap.a
+gopkg/src/github.com/mitchellh/go-wordwrap/LICENSE.md
+gopkg/src/github.com/mitchellh/go-wordwrap/README.md
+gopkg/src/github.com/mitchellh/go-wordwrap/go.mod
+gopkg/src/github.com/mitchellh/go-wordwrap/wordwrap.go
+gopkg/src/github.com/mitchellh/go-wordwrap/wordwrap_test.go
diff -r 20401eb924bf -r 3df78cd71fec devel/go-wordwrap/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-wordwrap/buildlink3.mk Mon Apr 27 15:15:08 2020 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/04/27 15:15:08 nikita Exp $
+
+BUILDLINK_TREE+= go-wordwrap
+
+.if !defined(GO_WORDWRAP_BUILDLINK3_MK)
+GO_WORDWRAP_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-wordwrap= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-wordwrap?= build
+
+BUILDLINK_API_DEPENDS.go-wordwrap+= go-wordwrap>=1.0.0
+BUILDLINK_PKGSRCDIR.go-wordwrap?= ../../devel/go-wordwrap
+
+.endif # GO_WORDWRAP_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-wordwrap
diff -r 20401eb924bf -r 3df78cd71fec devel/go-wordwrap/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-wordwrap/distinfo Mon Apr 27 15:15:08 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/04/27 15:15:08 nikita Exp $
+
+SHA1 (go-wordwrap-1.0.0.tar.gz) = ed70f4fcafbf655355869923842afbf4902d4e8b
+RMD160 (go-wordwrap-1.0.0.tar.gz) = 3a75e812ea77e56d30c6cd1220f04990c0da40ca
+SHA512 (go-wordwrap-1.0.0.tar.gz) = b2a916a08f13847ef8c0da2c944604bd0c8c6283eadbf2f9b791538d26c17f2c1f73ce629b245320c1ff0fbbfa9525208dddcf3a21c1370ba97d9d82b35e2812
+Size (go-wordwrap-1.0.0.tar.gz) = 2777 bytes
Home |
Main Index |
Thread Index |
Old Index