Summary
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. Diff Match and Patch libraries are currently available in Java, JavaScript, C++, C#, Objective C, Lua and Python, although this package contains only Python implementation. Regardless of language, each library features the same API and the same functionality. All versions also have comprehensive test harnesses.
Versions
v20230430 :: 0 :: gentoo
- Modified
- License
- Apache-2.0
- Keywords
- amd64 arm64 x86
- USE flags
- test
USE flags
General
- test
- Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
python_targets
- pypy3
- Build with PyPy3
- python3_10
- Build with Python 3.10
- python3_11
- Build with Python 3.11
- python3_12
- Build with Python 3.12
- python3_13
- Build with Python 3.13
Runtime Dependencies
dev-lang / python : An interpreted, interactive, object-oriented programming language
dev-python / pypy3 : A fast, compliant alternative implementation of the Python (3.10) language
Depending packages
dev-python / spyder : The Scientific Python Development Environment
dev-python / three-merge : Simple Python library to perform a 3-way merge between strings
Change logs
- Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/diff-match-patch: Enable py3.13
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Andrew Ammerlaan · gentoo
dev-python/diff-match-patch: enable pypy3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/diff-match-patch: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
dev-python/diff-match-patch: Stabilize 20230430 ALLARCHES, #907654
Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Arthur Zamarin · gentoo
dev-python/diff-match-patch: enable py3.12
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/diff-match-patch: Bump to 20230430
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/diff-match-patch: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - David Seifert · gentoo
*/*: remove py3.8 from PYTHON_COMPAT
Signed-off-by: David Seifert <soap@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/diff-match-patch: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Arthur Zamarin · gentoo
dev-python/diff-match-patch: Stabilize 20200713 ALLARCHES, #881411
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Andrew Ammerlaan · gentoo
dev-python/diff-match-patch: enable py3.11
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/diff-match-patch: Enable py3.10
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
*/*: Remove obsolete values from PYTHON_COMPAT
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Thomas Deutschmann · gentoo
dev-python/diff-match-patch: x86 stable (bug #760531)
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
dev-python/diff-match-patch: Stabilize 20200713 amd64, #760531
Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Andrew Ammerlaan · gentoo
dev-python/diff-match-patch: version bump, add py3.9 drop py3.6
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net> Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/diff-match-patch: Remove redundant versions
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Michał Górny · gentoo
dev-python/diff-match-patch: Stabilize 20181111 ALLARCHES
Closes: https://bugs.gentoo.org/714312 Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Agostino Sarubbo · gentoo
dev-python/diff-match-patch: x86 stable wrt bug #714312
Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo <ago@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Agostino Sarubbo · gentoo
dev-python/diff-match-patch: amd64 stable wrt bug #714312
Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo <ago@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/diff-match-patch: Remove Python 2 support
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
*/*: Clean PYTHON_COMPAT of obsolete impls
Closes: https://github.com/gentoo/gentoo/pull/14246 Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Andrew Ammerlaan · gentoo
dev-python/diff-match-patch: 20181111
Bug: https://bugs.gentoo.org/702458 Closes: https://github.com/gentoo/gentoo/pull/13998 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net> Signed-off-by: Sebastian Pipping <sping@gentoo.org> Package-Manager: Portage-2.3.81, Repoman-2.3.20 - Repository mirror & CI · gentoo
Merge updates from master - Aaron Bauman · gentoo
dev-python/diff-match-patch: arm64 stable
Signed-off-by: Aaron Bauman <bman@gentoo.org> Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="arm64" - Repository mirror & CI · gentoo
Merge updates from master - Andreas Sturmlechner · gentoo
dev-python/diff-match-patch: python3_7
Package-Manager: Portage-2.3.65, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
*/*: Remove python3_4 PYTHON_COMPAT correctly
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Roy Bamford · gentoo
dev-python/diff-match-patch: added ~arm64
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Roy Bamford <neddyseagoon@gentoo.org> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> - Mike Gilbert · gentoo
Replace pypi.python.org with pypi.org in HOMEPAGE
Bug: https://bugs.gentoo.org/653540 - Manuel Rüger · gentoo
dev-python/diff-match-patch: Add python3_6
Package-Manager: Portage-2.3.5, Repoman-2.3.2 - Robin H. Johnson · gentoo
Drop $Id$ per council decision in bug #611234.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> - T. Malfatti · gentoo
media-libs/portaudio: Version bump - Amadeusz Żołnowski · gentoo
dev-python/diff-match-patch: Update HOMEPAGE
Set HOMEPAGE to an unofficial package of the Python versions for PyPI. Upstream hasn't moved the home page from Google Code to somewhere else, so better point to an unofficial one than to nothing. Package-Manager: portage-2.3.2 - Andreas Sturmlechner · gentoo
dev-python/diff-match-patch: python3_5, EAPI 6
Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/2513 Signed-off-by: David Seifert <soap@gentoo.org> - Justin Lecher · gentoo
Enable https for all google URIs
Signed-off-by: Justin Lecher <jlec@gentoo.org> - Robin H. Johnson · gentoo
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed