textproc/py-diff-match-patch 20241021p2 OpenBSD
high-performance diff and patch library
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Last update
- Commit
b7bdb54ad4- Categories
- textproc, lang/python
Description
The diff match and patch libraries offer robust algorithms to perform the operations required for synchronizing plain text.
This library implements Myer's diff algorithm which is generally considered to be the best general-purpose diff. A layer of pre-diff speedups and post-diff cleanups surround the diff algorithm, improving both performance and output quality.
This library also implements a Bitap matching algorithm at the heart of a flexible matching and patching strategy.
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | textproc/py-diff-match-patch | 20241021p2 |
| FreeBSD | textproc/py-diff-match-patch | 20241021 |
| NetBSD | textproc/py-diff-match-patch | 20241021nb1 |
| DragonFly | textproc/py-diff-match-patch | 20241021 |
Install
Binary package:
pkg_add py3-diff-match-patch
From the ports tree:
cd /usr/ports/textproc/py-diff-match-patch && make install