Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc Add textproc/go-kr-text version 0.2.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/362506d70ae5
branches:  trunk
changeset: 434977:362506d70ae5
user:      nikita <nikita%pkgsrc.org@localhost>
date:      Mon Jun 29 13:04:01 2020 +0000

description:
Add textproc/go-kr-text version 0.2.0

Go package for manipulating paragraphs of text.

diffstat:

 textproc/Makefile                 |   3 ++-
 textproc/go-kr-text/DESCR         |   1 +
 textproc/go-kr-text/Makefile      |  27 +++++++++++++++++++++++++++
 textproc/go-kr-text/PLIST         |  22 ++++++++++++++++++++++
 textproc/go-kr-text/buildlink3.mk |  17 +++++++++++++++++
 textproc/go-kr-text/distinfo      |   6 ++++++
 6 files changed, 75 insertions(+), 1 deletions(-)

diffs (110 lines):

diff -r 67a97a93d7bd -r 362506d70ae5 textproc/Makefile
--- a/textproc/Makefile Mon Jun 29 12:57:46 2020 +0000
+++ b/textproc/Makefile Mon Jun 29 13:04:01 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1149 2020/06/29 12:56:03 nikita Exp $
+# $NetBSD: Makefile,v 1.1150 2020/06/29 13:04:01 nikita Exp $
 #
 
 COMMENT=       Text processing utilities (does not include desktop publishing)
@@ -230,6 +230,7 @@
 SUBDIR+=       go-glob
 SUBDIR+=       go-goldmark
 SUBDIR+=       go-inflect
+SUBDIR+=       go-kr-text
 SUBDIR+=       go-md2man
 SUBDIR+=       go-mmark
 SUBDIR+=       go-org
diff -r 67a97a93d7bd -r 362506d70ae5 textproc/go-kr-text/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/go-kr-text/DESCR Mon Jun 29 13:04:01 2020 +0000
@@ -0,0 +1,1 @@
+Go package for manipulating paragraphs of text.
diff -r 67a97a93d7bd -r 362506d70ae5 textproc/go-kr-text/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/go-kr-text/Makefile      Mon Jun 29 13:04:01 2020 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2020/06/29 13:04:01 nikita Exp $
+
+DISTNAME=              go-kr-text-0.2.0
+CATEGORIES=            textproc
+MASTER_SITES=          ${MASTER_SITE_GITHUB:=kr/}
+GITHUB_PROJECT=                text
+GITHUB_TAG=            v${PKGVERSION_NOREV}
+
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=              https://github.com/kr/text
+COMMENT=               Go package for manipulating paragraphs of text
+LICENSE=               mit
+
+GO_SRCPATH=            github.com/kr/text
+GO_DIST_BASE=          ${DISTNAME:S/go-kr-//}
+
+# upstream should at least pick better names for the binaries,
+# avoid PLIST conflicts with well-known binaries. Since in the
+# dependency chain I package this for only the library parts are used,
+# this is okay.
+post-build:
+       ${MV} ${WRKDIR}/bin/agg ${WRKDIR}/bin/go-agg
+       ${MV} ${WRKDIR}/bin/mc ${WRKDIR}/bin/go-mc
+
+.include "../../devel/go-pty/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 67a97a93d7bd -r 362506d70ae5 textproc/go-kr-text/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/go-kr-text/PLIST Mon Jun 29 13:04:01 2020 +0000
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1 2020/06/29 13:04:01 nikita Exp $
+bin/go-agg
+bin/go-mc
+gopkg/pkg/${GO_PLATFORM}/github.com/kr/text.a
+gopkg/pkg/${GO_PLATFORM}/github.com/kr/text/colwriter.a
+gopkg/src/github.com/kr/text/License
+gopkg/src/github.com/kr/text/Readme
+gopkg/src/github.com/kr/text/cmd/agg/doc.go
+gopkg/src/github.com/kr/text/cmd/agg/main.go
+gopkg/src/github.com/kr/text/cmd/agg/num.go
+gopkg/src/github.com/kr/text/cmd/agg/string.go
+gopkg/src/github.com/kr/text/colwriter/Readme
+gopkg/src/github.com/kr/text/colwriter/column.go
+gopkg/src/github.com/kr/text/colwriter/column_test.go
+gopkg/src/github.com/kr/text/doc.go
+gopkg/src/github.com/kr/text/go.mod
+gopkg/src/github.com/kr/text/indent.go
+gopkg/src/github.com/kr/text/indent_test.go
+gopkg/src/github.com/kr/text/mc/Readme
+gopkg/src/github.com/kr/text/mc/mc.go
+gopkg/src/github.com/kr/text/wrap.go
+gopkg/src/github.com/kr/text/wrap_test.go
diff -r 67a97a93d7bd -r 362506d70ae5 textproc/go-kr-text/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/go-kr-text/buildlink3.mk Mon Jun 29 13:04:01 2020 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/06/29 13:04:01 nikita Exp $
+
+BUILDLINK_TREE+=       go-kr-text
+
+.if !defined(GO_KR_TEXT_BUILDLINK3_MK)
+GO_KR_TEXT_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-kr-text=  ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-kr-text?=       build
+
+BUILDLINK_API_DEPENDS.go-kr-text+=     go-kr-text>=0.2.0
+BUILDLINK_PKGSRCDIR.go-kr-text?=       ../../textproc/go-kr-text
+
+.include "../../devel/go-pty/buildlink3.mk"
+.endif # GO_KR_TEXT_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-kr-text
diff -r 67a97a93d7bd -r 362506d70ae5 textproc/go-kr-text/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/go-kr-text/distinfo      Mon Jun 29 13:04:01 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/06/29 13:04:01 nikita Exp $
+
+SHA1 (go-kr-text-0.2.0.tar.gz) = 16a5efa3564554d00f89ac479831e2bc38b0fd00
+RMD160 (go-kr-text-0.2.0.tar.gz) = 0bc5cde23eebf988c07117d4ded61ef1c986c890
+SHA512 (go-kr-text-0.2.0.tar.gz) = 69c73f437834b6c07a5c47c51bfd726ec1709939622d5bfa419deac449858e519f01fce0e5abe734ab502249914e526ae6437b8d3462f05cd5b414da9bb145c1
+Size (go-kr-text-0.2.0.tar.gz) = 8699 bytes



Home | Main Index | Thread Index | Old Index