pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc textproc/py-patiencediff: added; used by deve...
details: https://anonhg.NetBSD.org/pkgsrc/rev/eb26a1330ef9
branches: trunk
changeset: 455815:eb26a1330ef9
user: rhialto <rhialto%pkgsrc.org@localhost>
date: Mon Jul 12 18:43:05 2021 +0000
description:
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.
diffstat:
textproc/Makefile | 3 ++-
textproc/py-patiencediff/DESCR | 11 +++++++++++
textproc/py-patiencediff/Makefile | 18 ++++++++++++++++++
textproc/py-patiencediff/PLIST | 18 ++++++++++++++++++
textproc/py-patiencediff/distinfo | 6 ++++++
5 files changed, 55 insertions(+), 1 deletions(-)
diffs (86 lines):
diff -r a46b373a98cc -r eb26a1330ef9 textproc/Makefile
--- a/textproc/Makefile Mon Jul 12 18:42:06 2021 +0000
+++ b/textproc/Makefile Mon Jul 12 18:43:05 2021 +0000
@@ -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-parse
SUBDIR+= py-parse_type
SUBDIR+= py-parsimonious
+SUBDIR+= py-patiencediff
SUBDIR+= py-pdf-parser
SUBDIR+= py-pdfrw
SUBDIR+= py-peg2
diff -r a46b373a98cc -r eb26a1330ef9 textproc/py-patiencediff/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-patiencediff/DESCR Mon Jul 12 18:43:05 2021 +0000
@@ -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.
diff -r a46b373a98cc -r eb26a1330ef9 textproc/py-patiencediff/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-patiencediff/Makefile Mon Jul 12 18:43:05 2021 +0000
@@ -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"
diff -r a46b373a98cc -r eb26a1330ef9 textproc/py-patiencediff/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-patiencediff/PLIST Mon Jul 12 18:43:05 2021 +0000
@@ -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
diff -r a46b373a98cc -r eb26a1330ef9 textproc/py-patiencediff/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-patiencediff/distinfo Mon Jul 12 18:43:05 2021 +0000
@@ -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