Received: by mail.netbsd.org (Postfix, from userid 605) id A759F84DC6; Sun, 18 Nov 2018 08:24:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C9DAC84DC5 for ; Sun, 18 Nov 2018 08:24:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 7WdQ9ZYluFQ0 for ; Sun, 18 Nov 2018 08:24:24 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id DD95584CCF for ; Sun, 18 Nov 2018 08:24:23 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id CDF77FB1F; Sun, 18 Nov 2018 08:24:23 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_154252946331800" MIME-Version: 1.0 Date: Sun, 18 Nov 2018 08:24:23 +0000 From: "Ryo ONODERA" Subject: CVS commit: pkgsrc/textproc/go-diff To: pkgsrc-changes@NetBSD.org Reply-To: ryoon@netbsd.org X-Mailer: log_accum Message-Id: <20181118082423.CDF77FB1F@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_154252946331800 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_154252946331800 Content-Disposition: inline Content-Length: 3958 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 +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 --_----------=_154252946331800--