pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc



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.

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@localhost
+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



Home | Main Index | Thread Index | Old Index