pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   nikita
Date:           Mon Apr 27 15:15:08 UTC 2020

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

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


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

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

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.3109 pkgsrc/devel/Makefile:1.3110
--- pkgsrc/devel/Makefile:1.3109        Sun Apr 26 13:39:55 2020
+++ pkgsrc/devel/Makefile       Mon Apr 27 15:15:08 2020
@@ -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-tmc
 SUBDIR+=       go-tools
 SUBDIR+=       go-try
 SUBDIR+=       go-viper
+SUBDIR+=       go-wordwrap
 SUBDIR+=       go-xerrors
 SUBDIR+=       go-yaml
 SUBDIR+=       gob2

Added files:

Index: pkgsrc/devel/go-wordwrap/DESCR
diff -u /dev/null pkgsrc/devel/go-wordwrap/DESCR:1.1
--- /dev/null   Mon Apr 27 15:15:08 2020
+++ pkgsrc/devel/go-wordwrap/DESCR      Mon Apr 27 15:15:08 2020
@@ -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.
Index: pkgsrc/devel/go-wordwrap/Makefile
diff -u /dev/null pkgsrc/devel/go-wordwrap/Makefile:1.1
--- /dev/null   Mon Apr 27 15:15:08 2020
+++ pkgsrc/devel/go-wordwrap/Makefile   Mon Apr 27 15:15:08 2020
@@ -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"
Index: pkgsrc/devel/go-wordwrap/PLIST
diff -u /dev/null pkgsrc/devel/go-wordwrap/PLIST:1.1
--- /dev/null   Mon Apr 27 15:15:08 2020
+++ pkgsrc/devel/go-wordwrap/PLIST      Mon Apr 27 15:15:08 2020
@@ -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
Index: pkgsrc/devel/go-wordwrap/buildlink3.mk
diff -u /dev/null pkgsrc/devel/go-wordwrap/buildlink3.mk:1.1
--- /dev/null   Mon Apr 27 15:15:08 2020
+++ pkgsrc/devel/go-wordwrap/buildlink3.mk      Mon Apr 27 15:15:08 2020
@@ -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
Index: pkgsrc/devel/go-wordwrap/distinfo
diff -u /dev/null pkgsrc/devel/go-wordwrap/distinfo:1.1
--- /dev/null   Mon Apr 27 15:15:08 2020
+++ pkgsrc/devel/go-wordwrap/distinfo   Mon Apr 27 15:15:08 2020
@@ -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