Received: by mail.netbsd.org (Postfix, from userid 605) id 1CF9884F4E; Mon, 12 Jul 2021 18:43:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 55E9084F4D for ; Mon, 12 Jul 2021 18:43:06 +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 P--RvozrL0t7 for ; Mon, 12 Jul 2021 18:43:05 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 578CE84D0F for ; Mon, 12 Jul 2021 18:43:05 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 54C8AFA95; Mon, 12 Jul 2021 18:43:05 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_16261153855140" MIME-Version: 1.0 Date: Mon, 12 Jul 2021 18:43:05 +0000 From: "Olaf Seibert" Subject: CVS commit: pkgsrc/textproc To: pkgsrc-changes@NetBSD.org Reply-To: rhialto@netbsd.org X-Mailer: log_accum Message-Id: <20210712184305.54C8AFA95@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_16261153855140 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: rhialto Date: Mon Jul 12 18:43:05 UTC 2021 Modified Files: pkgsrc/textproc: Makefile Added Files: pkgsrc/textproc/py-patiencediff: DESCR Makefile PLIST distinfo Log Message: textproc/py-patiencediff: added; used by devel/breezy. Implementation of the patiencediff algorithm, as first described by Bram Cohen: https://bramcohen.livejournal.com/73318.html Like Python's difflib, this module provides both a convenience unified_diff function for the generation of unified diffs of text files as well as a SequenceMatcher that can be used on arbitrary lists. Patiencediff provides a good balance of performance, nice output for humans, and implementation simplicity. The code in this package was extracted from the Bazaar code base. To generate a diff of this commit: cvs rdiff -u -r1.1241 -r1.1242 pkgsrc/textproc/Makefile cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-patiencediff/DESCR \ pkgsrc/textproc/py-patiencediff/Makefile \ pkgsrc/textproc/py-patiencediff/PLIST \ pkgsrc/textproc/py-patiencediff/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_16261153855140 Content-Disposition: inline Content-Length: 3937 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/textproc/Makefile diff -u pkgsrc/textproc/Makefile:1.1241 pkgsrc/textproc/Makefile:1.1242 --- pkgsrc/textproc/Makefile:1.1241 Wed Jul 7 13:15:17 2021 +++ pkgsrc/textproc/Makefile Mon Jul 12 18:43:05 2021 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1241 2021/07/07 13:15:17 nia Exp $ +# $NetBSD: Makefile,v 1.1242 2021/07/12 18:43:05 rhialto Exp $ # COMMENT= Text processing utilities (does not include desktop publishing) @@ -936,6 +936,7 @@ SUBDIR+= py-pandocfilters SUBDIR+= py-parse SUBDIR+= py-parse_type SUBDIR+= py-parsimonious +SUBDIR+= py-patiencediff SUBDIR+= py-pdf-parser SUBDIR+= py-pdfrw SUBDIR+= py-peg2 Added files: Index: pkgsrc/textproc/py-patiencediff/DESCR diff -u /dev/null pkgsrc/textproc/py-patiencediff/DESCR:1.1 --- /dev/null Mon Jul 12 18:43:05 2021 +++ pkgsrc/textproc/py-patiencediff/DESCR Mon Jul 12 18:43:05 2021 @@ -0,0 +1,11 @@ +Implementation of the patiencediff algorithm, as first described by Bram +Cohen: https://bramcohen.livejournal.com/73318.html + +Like Python's difflib, this module provides both a convenience +unified_diff function for the generation of unified diffs of text files +as well as a SequenceMatcher that can be used on arbitrary lists. + +Patiencediff provides a good balance of performance, nice output for +humans, and implementation simplicity. + +The code in this package was extracted from the Bazaar code base. Index: pkgsrc/textproc/py-patiencediff/Makefile diff -u /dev/null pkgsrc/textproc/py-patiencediff/Makefile:1.1 --- /dev/null Mon Jul 12 18:43:05 2021 +++ pkgsrc/textproc/py-patiencediff/Makefile Mon Jul 12 18:43:05 2021 @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1 2021/07/12 18:43:05 rhialto Exp $ + +DISTNAME= patiencediff-0.2.2 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= textproc python +MASTER_SITES= ${MASTER_SITE_PYPI:source/=90/ca/13cdabb3c491a0ccd7d580419b96abce3d227d4a6ba674364e6b19d4d67e/} + +MAINTAINER= rhialto@NetBSD.org +HOMEPAGE= https://www.breezy-vcs.org/ +COMMENT= Python implementation of the patiencediff algorithm +LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # or later + +USE_LANGUAGES+= c + +PYTHON_VERSIONS_INCOMPATIBLE= 27 + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/textproc/py-patiencediff/PLIST diff -u /dev/null pkgsrc/textproc/py-patiencediff/PLIST:1.1 --- /dev/null Mon Jul 12 18:43:05 2021 +++ pkgsrc/textproc/py-patiencediff/PLIST Mon Jul 12 18:43:05 2021 @@ -0,0 +1,18 @@ +@comment $NetBSD: PLIST,v 1.1 2021/07/12 18:43:05 rhialto Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/patiencediff/__init__.py +${PYSITELIB}/patiencediff/__init__.pyc +${PYSITELIB}/patiencediff/__init__.pyo +${PYSITELIB}/patiencediff/__main__.py +${PYSITELIB}/patiencediff/__main__.pyc +${PYSITELIB}/patiencediff/__main__.pyo +${PYSITELIB}/patiencediff/_patiencediff_c.so +${PYSITELIB}/patiencediff/_patiencediff_py.py +${PYSITELIB}/patiencediff/_patiencediff_py.pyc +${PYSITELIB}/patiencediff/_patiencediff_py.pyo +${PYSITELIB}/patiencediff/test_patiencediff.py +${PYSITELIB}/patiencediff/test_patiencediff.pyc +${PYSITELIB}/patiencediff/test_patiencediff.pyo Index: pkgsrc/textproc/py-patiencediff/distinfo diff -u /dev/null pkgsrc/textproc/py-patiencediff/distinfo:1.1 --- /dev/null Mon Jul 12 18:43:05 2021 +++ pkgsrc/textproc/py-patiencediff/distinfo Mon Jul 12 18:43:05 2021 @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2021/07/12 18:43:05 rhialto Exp $ + +SHA1 (patiencediff-0.2.2.tar.gz) = 826457fb2411b2cd219d55756718cdbebe63b772 +RMD160 (patiencediff-0.2.2.tar.gz) = 0951df305d180dffb2f585473886ca6cd88d42a6 +SHA512 (patiencediff-0.2.2.tar.gz) = 9b1e058604e114cc4ac6e5855d51cb1f9599fd692a48a1d68ff56f4e82cf568fa4d3858fe7bf233b784b07bf2825f7fd1d1ba0ca71371242ae46820ef469ebd6 +Size (patiencediff-0.2.2.tar.gz) = 28799 bytes --_----------=_16261153855140--