Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146970425
D2835.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D2835.diff
View Options
Index: head/textproc/Makefile
===================================================================
--- head/textproc/Makefile
+++ head/textproc/Makefile
@@ -1171,6 +1171,7 @@
SUBDIR += py-chardet
SUBDIR += py-cloud_sptheme
SUBDIR += py-creole
+ SUBDIR += py-diff-match-patch
SUBDIR += py-docutils
SUBDIR += py-dsv
SUBDIR += py-elasticsearch-py
Index: head/textproc/py-diff-match-patch/Makefile
===================================================================
--- head/textproc/py-diff-match-patch/Makefile
+++ head/textproc/py-diff-match-patch/Makefile
@@ -0,0 +1,27 @@
+# Created by: Rene Ladan <rene@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= diff-match-patch
+PORTVERSION= 0.0.0.20121119
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+DISTNAME= ${PORTNAME}-${PORTVERSION:E}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= rene@FreeBSD.org
+COMMENT= Algorithms for converting plain text
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENCE
+
+USES= python shebangfix
+python_OLD_CMD= /usr/bin/python[0-9\.]*
+SHEBANG_FILES= python*/diff_match_patch/*.py
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+regression-test: build
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
+.include <bsd.port.mk>
Index: head/textproc/py-diff-match-patch/distinfo
===================================================================
--- head/textproc/py-diff-match-patch/distinfo
+++ head/textproc/py-diff-match-patch/distinfo
@@ -0,0 +1,2 @@
+SHA256 (diff-match-patch-20121119.tar.gz) = 9dba5611fbf27893347349fd51cc1911cb403682a7163373adacc565d11e2e4c
+SIZE (diff-match-patch-20121119.tar.gz) = 54113
Index: head/textproc/py-diff-match-patch/pkg-descr
===================================================================
--- head/textproc/py-diff-match-patch/pkg-descr
+++ head/textproc/py-diff-match-patch/pkg-descr
@@ -0,0 +1,13 @@
+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.
+
+WWW: https://code.google.com/p/google-diff-match-patch/
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 8, 6:18 AM (16 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29380627
Default Alt Text
D2835.diff (2 KB)
Attached To
Mode
D2835: [new port] : textproc/py-diff-match-patch
Attached
Detach File
Event Timeline
Log In to Comment