pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc New package, go-runewidth-0.0.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/719c8915b80a
branches:  trunk
changeset: 351081:719c8915b80a
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sat Aug 13 20:21:08 2016 +0000

description:
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.

diffstat:

 textproc/Makefile                   |   3 ++-
 textproc/go-runewidth/DESCR         |   2 ++
 textproc/go-runewidth/Makefile      |  19 +++++++++++++++++++
 textproc/go-runewidth/PLIST         |   9 +++++++++
 textproc/go-runewidth/buildlink3.mk |  15 +++++++++++++++
 textproc/go-runewidth/distinfo      |   6 ++++++
 6 files changed, 53 insertions(+), 1 deletions(-)

diffs (88 lines):

diff -r 2d7ada5eea7f -r 719c8915b80a textproc/Makefile
--- a/textproc/Makefile Sat Aug 13 17:36:22 2016 +0000
+++ b/textproc/Makefile Sat Aug 13 20:21:08 2016 +0000
@@ -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+=       gnome-doc-utils
 SUBDIR+=       gnome-spell
 SUBDIR+=       gnome-subtitles
+SUBDIR+=       go-runewidth
 SUBDIR+=       go-text
 SUBDIR+=       grep
 SUBDIR+=       grepcidr
diff -r 2d7ada5eea7f -r 719c8915b80a textproc/go-runewidth/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/go-runewidth/DESCR       Sat Aug 13 20:21:08 2016 +0000
@@ -0,0 +1,2 @@
+go-runewidth provides the RuneWidth and StringWidth functions to get
+the fixed width of a Unicode rune or string.
diff -r 2d7ada5eea7f -r 719c8915b80a textproc/go-runewidth/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/go-runewidth/Makefile    Sat Aug 13 20:21:08 2016 +0000
@@ -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"
diff -r 2d7ada5eea7f -r 719c8915b80a textproc/go-runewidth/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/go-runewidth/PLIST       Sat Aug 13 20:21:08 2016 +0000
@@ -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
diff -r 2d7ada5eea7f -r 719c8915b80a textproc/go-runewidth/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/go-runewidth/buildlink3.mk       Sat Aug 13 20:21:08 2016 +0000
@@ -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
diff -r 2d7ada5eea7f -r 719c8915b80a textproc/go-runewidth/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/go-runewidth/distinfo    Sat Aug 13 20:21:08 2016 +0000
@@ -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