textproc/py-diff-match-patch 20241021
Algorithms for converting plain text
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- APACHE20
- Categories
- textproc, python
- Package size
- 70.8 KiB, 469.4 KiB installed
Description
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.
Install
As a binary package — by origin, or by package name:
pkg install textproc/py-diff-match-patch
pkg install py312-diff-match-patch
From the ports tree:
cd /usr/ports/textproc/py-diff-match-patch/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-diff-match-patch>0:textproc/py-diff-match-patch
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 20241021 | 20241021 | 20200713 | 20241021 | 20241021 |
| FreeBSD:14:quarterly | 20241021 | 20241021 | n/a | 20241021 | 20241021 |
| FreeBSD:15:latest | 20241021 | 20241021 | n/a | 20241021 | 20241021 |
| FreeBSD:15:quarterly | 20241021 | 20241021 | n/a | n/a | n/a |
| FreeBSD:16:latest | 20241021 | 20241021 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}flit-core>=3.8<4: devel/py-flit-core
The full lists below include those, and their dependencies in turn.
All build dependencies 15
All run dependencies 7
Required by 2
Configuration
No options to configure.
- USES
- python shebangfix
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| diff_match_patch-20241021.tar.gz | 39962 | beae57a99fa48084532935ee2968b8661db861862ec82c6f21f4acdd6d835073 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.