pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/go-diff



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sun Nov 18 08:24:23 UTC 2018

Added Files:
        pkgsrc/textproc/go-diff: DESCR Makefile PLIST buildlink3.mk distinfo

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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/go-diff/DESCR \
    pkgsrc/textproc/go-diff/Makefile pkgsrc/textproc/go-diff/PLIST \
    pkgsrc/textproc/go-diff/buildlink3.mk pkgsrc/textproc/go-diff/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/textproc/go-diff/DESCR
diff -u /dev/null pkgsrc/textproc/go-diff/DESCR:1.1
--- /dev/null   Sun Nov 18 08:24:23 2018
+++ pkgsrc/textproc/go-diff/DESCR       Sun Nov 18 08:24:23 2018
@@ -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.
Index: pkgsrc/textproc/go-diff/Makefile
diff -u /dev/null pkgsrc/textproc/go-diff/Makefile:1.1
--- /dev/null   Sun Nov 18 08:24:23 2018
+++ pkgsrc/textproc/go-diff/Makefile    Sun Nov 18 08:24:23 2018
@@ -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"
Index: pkgsrc/textproc/go-diff/PLIST
diff -u /dev/null pkgsrc/textproc/go-diff/PLIST:1.1
--- /dev/null   Sun Nov 18 08:24:23 2018
+++ pkgsrc/textproc/go-diff/PLIST       Sun Nov 18 08:24:23 2018
@@ -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
Index: pkgsrc/textproc/go-diff/buildlink3.mk
diff -u /dev/null pkgsrc/textproc/go-diff/buildlink3.mk:1.1
--- /dev/null   Sun Nov 18 08:24:23 2018
+++ pkgsrc/textproc/go-diff/buildlink3.mk       Sun Nov 18 08:24:23 2018
@@ -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
Index: pkgsrc/textproc/go-diff/distinfo
diff -u /dev/null pkgsrc/textproc/go-diff/distinfo:1.1
--- /dev/null   Sun Nov 18 08:24:23 2018
+++ pkgsrc/textproc/go-diff/distinfo    Sun Nov 18 08:24:23 2018
@@ -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