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:42:20 UTC 2020

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.3110 -r1.3111 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/go-textseg/DESCR \
    pkgsrc/devel/go-textseg/Makefile pkgsrc/devel/go-textseg/PLIST \
    pkgsrc/devel/go-textseg/buildlink3.mk pkgsrc/devel/go-textseg/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.3110 pkgsrc/devel/Makefile:1.3111
--- pkgsrc/devel/Makefile:1.3110        Mon Apr 27 15:15:08 2020
+++ pkgsrc/devel/Makefile       Mon Apr 27 15:42:20 2020
@@ -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-sync
 SUBDIR+=       go-sys
 SUBDIR+=       go-termbox
 SUBDIR+=       go-testify
+SUBDIR+=       go-textseg
 SUBDIR+=       go-thrift
 SUBDIR+=       go-tmc
 SUBDIR+=       go-tools

Added files:

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