pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Sat Aug 13 20:21:08 UTC 2016

Modified Files:
        pkgsrc/textproc: Makefile
Added Files:
        pkgsrc/textproc/go-runewidth: DESCR Makefile PLIST buildlink3.mk
            distinfo

Log Message:
New package, go-runewidth-0.0.1.

go-runewidth provides the RuneWidth and StringWidth functions to get
the fixed width of a Unicode rune or string.


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

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

Modified files:

Index: pkgsrc/textproc/Makefile
diff -u pkgsrc/textproc/Makefile:1.893 pkgsrc/textproc/Makefile:1.894
--- pkgsrc/textproc/Makefile:1.893      Sat Jul 30 13:18:31 2016
+++ pkgsrc/textproc/Makefile    Sat Aug 13 20:21:08 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.893 2016/07/30 13:18:31 mef Exp $
+# $NetBSD: Makefile,v 1.894 2016/08/13 20:21:08 bsiegert Exp $
 #
 
 COMMENT=       Text processing utilities (does not include desktop publishing)
@@ -191,6 +191,7 @@ SUBDIR+=    glimpse
 SUBDIR+=       gnome-doc-utils
 SUBDIR+=       gnome-spell
 SUBDIR+=       gnome-subtitles
+SUBDIR+=       go-runewidth
 SUBDIR+=       go-text
 SUBDIR+=       grep
 SUBDIR+=       grepcidr

Added files:

Index: pkgsrc/textproc/go-runewidth/DESCR
diff -u /dev/null pkgsrc/textproc/go-runewidth/DESCR:1.1
--- /dev/null   Sat Aug 13 20:21:08 2016
+++ pkgsrc/textproc/go-runewidth/DESCR  Sat Aug 13 20:21:08 2016
@@ -0,0 +1,2 @@
+go-runewidth provides the RuneWidth and StringWidth functions to get
+the fixed width of a Unicode rune or string.
Index: pkgsrc/textproc/go-runewidth/Makefile
diff -u /dev/null pkgsrc/textproc/go-runewidth/Makefile:1.1
--- /dev/null   Sat Aug 13 20:21:08 2016
+++ pkgsrc/textproc/go-runewidth/Makefile       Sat Aug 13 20:21:08 2016
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2016/08/13 20:21:08 bsiegert Exp $
+
+DISTNAME=      go-runewidth-0.0.1
+CATEGORIES=    textproc
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=mattn/}
+GITHUB_PROJECT=        go-runewidth
+GITHUB_TAG=    v0.0.1
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/mattn/go-runewidth
+COMMENT=       Provides functions to get fixed width of a string
+LICENSE=       mit
+
+WRKSRC=                ${WRKDIR}
+GO_DIST_BASE=  ${GITHUB_PROJECT}-${GITHUB_TAG:S/v//}
+GO_SRCPATH=    github.com/mattn/go-runewidth
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/go-runewidth/PLIST
diff -u /dev/null pkgsrc/textproc/go-runewidth/PLIST:1.1
--- /dev/null   Sat Aug 13 20:21:08 2016
+++ pkgsrc/textproc/go-runewidth/PLIST  Sat Aug 13 20:21:08 2016
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2016/08/13 20:21:08 bsiegert Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/mattn/go-runewidth.a
+gopkg/src/github.com/mattn/go-runewidth/README.mkd
+gopkg/src/github.com/mattn/go-runewidth/runewidth.go
+gopkg/src/github.com/mattn/go-runewidth/runewidth_js.go
+gopkg/src/github.com/mattn/go-runewidth/runewidth_posix.go
+gopkg/src/github.com/mattn/go-runewidth/runewidth_test.go
+gopkg/src/github.com/mattn/go-runewidth/runewidth_windows.go
+@pkgdir bin
Index: pkgsrc/textproc/go-runewidth/buildlink3.mk
diff -u /dev/null pkgsrc/textproc/go-runewidth/buildlink3.mk:1.1
--- /dev/null   Sat Aug 13 20:21:08 2016
+++ pkgsrc/textproc/go-runewidth/buildlink3.mk  Sat Aug 13 20:21:08 2016
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/08/13 20:21:08 bsiegert Exp $
+
+BUILDLINK_TREE+=       go-runewidth
+
+.if !defined(GO_RUNEWIDTH_BUILDLINK3_MK)
+GO_RUNEWIDTH_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-runewidth=        ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-runewidth?=             build
+
+BUILDLINK_API_DEPENDS.go-runewidth+=   go-runewidth>=0.0.1
+BUILDLINK_PKGSRCDIR.go-runewidth?=     ../../textproc/go-runewidth
+.endif # GO_RUNEWIDTH_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-runewidth
Index: pkgsrc/textproc/go-runewidth/distinfo
diff -u /dev/null pkgsrc/textproc/go-runewidth/distinfo:1.1
--- /dev/null   Sat Aug 13 20:21:08 2016
+++ pkgsrc/textproc/go-runewidth/distinfo       Sat Aug 13 20:21:08 2016
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/08/13 20:21:08 bsiegert Exp $
+
+SHA1 (go-runewidth-0.0.1.tar.gz) = f76784415e3c47c2239e5fd174c26a79d53f38e1
+RMD160 (go-runewidth-0.0.1.tar.gz) = a0cba59dfc2d9761b58d2abb70062d839ef34d9a
+SHA512 (go-runewidth-0.0.1.tar.gz) = 7f23b93c55826fdd6f45cf9a25584386c3c9b3bc3f3de007ed62f5d2cd2275128b2f47c0e39d0f15d92e5eae4d3352dca96a2fcea1c8406a3c2780550e3318ea
+Size (go-runewidth-0.0.1.tar.gz) = 5880 bytes



Home | Main Index | Thread Index | Old Index