pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/go-diff textproc/go-diff: import go-go-diff-1...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cc8b342983fd
branches: trunk
changeset: 315188:cc8b342983fd
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Sun Nov 18 08:24:23 2018 +0000
description:
textproc/go-diff: import go-go-diff-1.0.0
go-diff offers algorithms to perform operations required for synchronizing
plain text:
Compare two texts and return their differences.
Perform fuzzy matching of text.
Apply patches onto text.
diffstat:
textproc/go-diff/DESCR | 6 ++++++
textproc/go-diff/Makefile | 19 +++++++++++++++++++
textproc/go-diff/PLIST | 22 ++++++++++++++++++++++
textproc/go-diff/buildlink3.mk | 15 +++++++++++++++
textproc/go-diff/distinfo | 6 ++++++
5 files changed, 68 insertions(+), 0 deletions(-)
diffs (88 lines):
diff -r 9581a487e60c -r cc8b342983fd textproc/go-diff/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/go-diff/DESCR Sun Nov 18 08:24:23 2018 +0000
@@ -0,0 +1,6 @@
+go-diff offers algorithms to perform operations required for synchronizing
+plain text:
+
+ Compare two texts and return their differences.
+ Perform fuzzy matching of text.
+ Apply patches onto text.
diff -r 9581a487e60c -r cc8b342983fd textproc/go-diff/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/go-diff/Makefile Sun Nov 18 08:24:23 2018 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2018/11/18 08:24:23 ryoon Exp $
+
+DISTNAME= go-diff-1.0.0
+PKGNAME= go-${DISTNAME}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=sergi/}
+CATEGORIES= textproc
+GITHUB_PROJECT= go-diff
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/sergi/go-diff
+COMMENT= Diff, match and patch text in Go
+LICENSE= apache-2.0
+
+GO_DIST_BASE= ${DISTNAME}
+GO_SRCPATH= github.com/sergi/go-diff
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9581a487e60c -r cc8b342983fd textproc/go-diff/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/go-diff/PLIST Sun Nov 18 08:24:23 2018 +0000
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1 2018/11/18 08:24:23 ryoon Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/sergi/go-diff/diffmatchpatch.a
+gopkg/src/github.com/sergi/go-diff/APACHE-LICENSE-2.0
+gopkg/src/github.com/sergi/go-diff/AUTHORS
+gopkg/src/github.com/sergi/go-diff/CONTRIBUTORS
+gopkg/src/github.com/sergi/go-diff/LICENSE
+gopkg/src/github.com/sergi/go-diff/Makefile
+gopkg/src/github.com/sergi/go-diff/README.md
+gopkg/src/github.com/sergi/go-diff/diffmatchpatch/benchutil_test.go
+gopkg/src/github.com/sergi/go-diff/diffmatchpatch/diff.go
+gopkg/src/github.com/sergi/go-diff/diffmatchpatch/diff_test.go
+gopkg/src/github.com/sergi/go-diff/diffmatchpatch/diffmatchpatch.go
+gopkg/src/github.com/sergi/go-diff/diffmatchpatch/match.go
+gopkg/src/github.com/sergi/go-diff/diffmatchpatch/match_test.go
+gopkg/src/github.com/sergi/go-diff/diffmatchpatch/mathutil.go
+gopkg/src/github.com/sergi/go-diff/diffmatchpatch/patch.go
+gopkg/src/github.com/sergi/go-diff/diffmatchpatch/patch_test.go
+gopkg/src/github.com/sergi/go-diff/diffmatchpatch/stringutil.go
+gopkg/src/github.com/sergi/go-diff/diffmatchpatch/stringutil_test.go
+gopkg/src/github.com/sergi/go-diff/scripts/lint.sh
+gopkg/src/github.com/sergi/go-diff/testdata/speedtest1.txt
+gopkg/src/github.com/sergi/go-diff/testdata/speedtest2.txt
diff -r 9581a487e60c -r cc8b342983fd textproc/go-diff/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/go-diff/buildlink3.mk Sun Nov 18 08:24:23 2018 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/11/18 08:24:23 ryoon Exp $
+
+BUILDLINK_TREE+= go-go-diff
+
+.if !defined(GO_GO_DIFF_BUILDLINK3_MK)
+GO_GO_DIFF_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-go-diff= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-go-diff?= build
+
+BUILDLINK_API_DEPENDS.go-go-diff+= go-go-diff>=1.0.0
+BUILDLINK_PKGSRCDIR.go-go-diff?= ../../textproc/go-diff
+.endif # GO_GO_DIFF_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-go-diff
diff -r 9581a487e60c -r cc8b342983fd textproc/go-diff/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/go-diff/distinfo Sun Nov 18 08:24:23 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/11/18 08:24:23 ryoon Exp $
+
+SHA1 (go-diff-1.0.0.tar.gz) = 43df4e5176bb2c543924c5743585c8be0deb66f4
+RMD160 (go-diff-1.0.0.tar.gz) = b27379dcb319afbefb6fac2963401ceb4648785d
+SHA512 (go-diff-1.0.0.tar.gz) = aed012908610c75dbf7141ee5652d6b1b21ebf6e6a72ed88cbe32213ad8ca6ccdbfe1d42815eb8cbd98276acf75306aef21b729237746d30e24ac6dbc36552b0
+Size (go-diff-1.0.0.tar.gz) = 41609 bytes
Home |
Main Index |
Thread Index |
Old Index