Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel Add devel/go-textseg version 12.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0a1f6cb0ba27
branches:  trunk
changeset: 430080:0a1f6cb0ba27
user:      nikita <nikita%pkgsrc.org@localhost>
date:      Mon Apr 27 15:42:20 2020 +0000

description:
Add devel/go-textseg version 12.0.0

go-textseg s an implementation of the Unicode Text Segmentation
specification for Go. Specifically, it currently includes only the
"grapheme cluster" segmentation algorithm.

Each major version of Unicode includes a set of tables that define how
each codepoint participates in the segmentation algorithms. Therefore
any caller of this library must select a specific version of Unicode
to support.

To allow for each caller to make that decision separately even though
multiple callers may coexist in the same program, there is a separate
major release of this module for each supported major Unicode
version. Therefore you can select the specific version you want by
module path.

diffstat:

 devel/Makefile                 |   3 ++-
 devel/go-textseg/DESCR         |  14 ++++++++++++++
 devel/go-textseg/Makefile      |  18 ++++++++++++++++++
 devel/go-textseg/PLIST         |  19 +++++++++++++++++++
 devel/go-textseg/buildlink3.mk |  16 ++++++++++++++++
 devel/go-textseg/distinfo      |   6 ++++++
 6 files changed, 75 insertions(+), 1 deletions(-)

diffs (110 lines):

diff -r 5de118d9e90c -r 0a1f6cb0ba27 devel/Makefile
--- a/devel/Makefile    Mon Apr 27 15:39:13 2020 +0000
+++ b/devel/Makefile    Mon Apr 27 15:42:20 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3110 2020/04/27 15:15:08 nikita Exp $
+# $NetBSD: Makefile,v 1.3111 2020/04/27 15:42:20 nikita Exp $
 #
 
 COMMENT=       Development utilities
@@ -450,6 +450,7 @@
 SUBDIR+=       go-sys
 SUBDIR+=       go-termbox
 SUBDIR+=       go-testify
+SUBDIR+=       go-textseg
 SUBDIR+=       go-thrift
 SUBDIR+=       go-tmc
 SUBDIR+=       go-tools
diff -r 5de118d9e90c -r 0a1f6cb0ba27 devel/go-textseg/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-textseg/DESCR    Mon Apr 27 15:42:20 2020 +0000
@@ -0,0 +1,14 @@
+go-textseg s an implementation of the Unicode Text Segmentation
+specification for Go. Specifically, it currently includes only the
+"grapheme cluster" segmentation algorithm.
+
+Each major version of Unicode includes a set of tables that define how
+each codepoint participates in the segmentation algorithms. Therefore
+any caller of this library must select a specific version of Unicode
+to support.
+
+To allow for each caller to make that decision separately even though
+multiple callers may coexist in the same program, there is a separate
+major release of this module for each supported major Unicode
+version. Therefore you can select the specific version you want by
+module path.
diff -r 5de118d9e90c -r 0a1f6cb0ba27 devel/go-textseg/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-textseg/Makefile Mon Apr 27 15:42:20 2020 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2020/04/27 15:42:20 nikita Exp $
+
+DISTNAME=      go-textseg-12.0.0
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=apparentlymart/}
+CATEGORIES=    devel
+GITHUB_PROJECT=        go-textseg
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/apparentlymart/go-textseg
+COMMENT=       Go implementation of Unicode Text Segmentation
+LICENSE=       mit AND apache-2.0 AND unicode
+
+GO_DIST_BASE=  ${DISTNAME}
+GO_SRCPATH=    github.com/apparentlymart/go-textseg
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 5de118d9e90c -r 0a1f6cb0ba27 devel/go-textseg/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-textseg/PLIST    Mon Apr 27 15:42:20 2020 +0000
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2020/04/27 15:42:20 nikita Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/apparentlymart/go-textseg/textseg.a
+gopkg/src/github.com/apparentlymart/go-textseg/LICENSE
+gopkg/src/github.com/apparentlymart/go-textseg/go.mod
+gopkg/src/github.com/apparentlymart/go-textseg/go.sum
+gopkg/src/github.com/apparentlymart/go-textseg/textseg/all_tokens.go
+gopkg/src/github.com/apparentlymart/go-textseg/textseg/all_tokens_test.go
+gopkg/src/github.com/apparentlymart/go-textseg/textseg/emoji_table.rl
+gopkg/src/github.com/apparentlymart/go-textseg/textseg/generate.go
+gopkg/src/github.com/apparentlymart/go-textseg/textseg/grapheme_clusters.go
+gopkg/src/github.com/apparentlymart/go-textseg/textseg/grapheme_clusters.rl
+gopkg/src/github.com/apparentlymart/go-textseg/textseg/grapheme_clusters_table.rl
+gopkg/src/github.com/apparentlymart/go-textseg/textseg/grapheme_clusters_test.go
+gopkg/src/github.com/apparentlymart/go-textseg/textseg/make_tables.go
+gopkg/src/github.com/apparentlymart/go-textseg/textseg/make_test_tables.go
+gopkg/src/github.com/apparentlymart/go-textseg/textseg/tables.go
+gopkg/src/github.com/apparentlymart/go-textseg/textseg/tables_test.go
+gopkg/src/github.com/apparentlymart/go-textseg/textseg/unicode2ragel.rb
+gopkg/src/github.com/apparentlymart/go-textseg/textseg/utf8_seqs.go
diff -r 5de118d9e90c -r 0a1f6cb0ba27 devel/go-textseg/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-textseg/buildlink3.mk    Mon Apr 27 15:42:20 2020 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/04/27 15:42:20 nikita Exp $
+
+BUILDLINK_TREE+=       go-textseg
+
+.if !defined(GO_TEXTSEG_BUILDLINK3_MK)
+GO_TEXTSEG_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-textseg=  ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-textseg?=       build
+
+BUILDLINK_API_DEPENDS.go-textseg+=     go-textseg>=12.0.0
+BUILDLINK_PKGSRCDIR.go-textseg?=       ../../devel/go-textseg
+
+.endif # GO_TEXTSEG_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-textseg
diff -r 5de118d9e90c -r 0a1f6cb0ba27 devel/go-textseg/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-textseg/distinfo Mon Apr 27 15:42:20 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/04/27 15:42:20 nikita Exp $
+
+SHA1 (go-textseg-12.0.0.tar.gz) = 0cad6a543430f52178d29bca41347ec82f3af514
+RMD160 (go-textseg-12.0.0.tar.gz) = 66894fb99006109566318ddbd98405984b78af1d
+SHA512 (go-textseg-12.0.0.tar.gz) = 9e6079a3ddeeee672209307d95f0311ad7782240035148ed1037f4d69537f445fb439a71ee3da2a3d4f3db4d67cd7def5a1b6a81763003c61ef34bcd0acadd7e
+Size (go-textseg-12.0.0.tar.gz) = 125616 bytes



Home | Main Index | Thread Index | Old Index