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:   adam
Date:           Tue Oct 17 11:34:36 UTC 2017

Modified Files:
        pkgsrc/textproc: Makefile
Added Files:
        pkgsrc/textproc/py-diff-match-patch: DESCR Makefile PLIST distinfo

Log Message:
The Diff Match and Patch libraries offer robust algorithms to perform the
operations required for synchronizing plain text.

Diff: Compare two blocks of plain text and efficiently return a list of
differences.

Match: Given a search string, find its best fuzzy match in a block of plain
text. Weighted for both accuracy and location.

Patch: Apply a list of patches onto plain text. Use best-effort to apply patch
even when the underlying text doesn't match.


To generate a diff of this commit:
cvs rdiff -u -r1.964 -r1.965 pkgsrc/textproc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-diff-match-patch/DESCR \
    pkgsrc/textproc/py-diff-match-patch/Makefile \
    pkgsrc/textproc/py-diff-match-patch/PLIST \
    pkgsrc/textproc/py-diff-match-patch/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.964 pkgsrc/textproc/Makefile:1.965
--- pkgsrc/textproc/Makefile:1.964      Fri Sep 29 21:20:46 2017
+++ pkgsrc/textproc/Makefile    Tue Oct 17 11:34:36 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.964 2017/09/29 21:20:46 joerg Exp $
+# $NetBSD: Makefile,v 1.965 2017/10/17 11:34:36 adam Exp $
 #
 
 COMMENT=       Text processing utilities (does not include desktop publishing)
@@ -732,6 +732,7 @@ SUBDIR+=    py-cssutils
 SUBDIR+=       py-deepdiff
 SUBDIR+=       py-defusedxml
 SUBDIR+=       py-dicttoxml
+SUBDIR+=       py-diff-match-patch
 SUBDIR+=       py-docutils
 SUBDIR+=       py-docx
 SUBDIR+=       py-ejson

Added files:

Index: pkgsrc/textproc/py-diff-match-patch/DESCR
diff -u /dev/null pkgsrc/textproc/py-diff-match-patch/DESCR:1.1
--- /dev/null   Tue Oct 17 11:34:36 2017
+++ pkgsrc/textproc/py-diff-match-patch/DESCR   Tue Oct 17 11:34:36 2017
@@ -0,0 +1,11 @@
+The Diff Match and Patch libraries offer robust algorithms to perform the
+operations required for synchronizing plain text.
+
+Diff: Compare two blocks of plain text and efficiently return a list of
+differences.
+
+Match: Given a search string, find its best fuzzy match in a block of plain
+text. Weighted for both accuracy and location.
+
+Patch: Apply a list of patches onto plain text. Use best-effort to apply patch
+even when the underlying text doesn't match.
Index: pkgsrc/textproc/py-diff-match-patch/Makefile
diff -u /dev/null pkgsrc/textproc/py-diff-match-patch/Makefile:1.1
--- /dev/null   Tue Oct 17 11:34:36 2017
+++ pkgsrc/textproc/py-diff-match-patch/Makefile        Tue Oct 17 11:34:36 2017
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2017/10/17 11:34:36 adam Exp $
+
+DISTNAME=      diff-match-patch-20121119
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    textproc python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=d/diff-match-patch/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://code.google.com/p/google-diff-match-patch/
+COMMENT=       Robust algorithms for synchronizing plain text
+LICENSE=       apache-2.0
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-diff-match-patch/PLIST
diff -u /dev/null pkgsrc/textproc/py-diff-match-patch/PLIST:1.1
--- /dev/null   Tue Oct 17 11:34:36 2017
+++ pkgsrc/textproc/py-diff-match-patch/PLIST   Tue Oct 17 11:34:36 2017
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 2017/10/17 11:34:36 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/diff_match_patch/__init__.py
+${PYSITELIB}/diff_match_patch/__init__.pyc
+${PYSITELIB}/diff_match_patch/__init__.pyo
+${PYSITELIB}/diff_match_patch/diff_match_patch.py
+${PYSITELIB}/diff_match_patch/diff_match_patch.pyc
+${PYSITELIB}/diff_match_patch/diff_match_patch.pyo
+${PYSITELIB}/diff_match_patch/diff_match_patch_test.py
+${PYSITELIB}/diff_match_patch/diff_match_patch_test.pyc
+${PYSITELIB}/diff_match_patch/diff_match_patch_test.pyo
Index: pkgsrc/textproc/py-diff-match-patch/distinfo
diff -u /dev/null pkgsrc/textproc/py-diff-match-patch/distinfo:1.1
--- /dev/null   Tue Oct 17 11:34:36 2017
+++ pkgsrc/textproc/py-diff-match-patch/distinfo        Tue Oct 17 11:34:36 2017
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/10/17 11:34:36 adam Exp $
+
+SHA1 (diff-match-patch-20121119.tar.gz) = 79a93dc622fd47fe30349b0be4a4c6e5ffc9bf67
+RMD160 (diff-match-patch-20121119.tar.gz) = 0279fd90a2ec4db1cd797db47862084e216083ed
+SHA512 (diff-match-patch-20121119.tar.gz) = 3daff80a6043a0413c515125a21839d9fa1d71f7e2441f4870ebefed35f1accea711814ad231c65de0e3468bbd01402c977fc063ab120b7d9f0e04ef555a8207
+Size (diff-match-patch-20121119.tar.gz) = 54113 bytes



Home | Main Index | Thread Index | Old Index