FreeBSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2024102120241021202007132024102120241021
FreeBSD:14:quarterly2024102120241021n/a2024102120241021
FreeBSD:15:latest2024102120241021n/a2024102120241021
FreeBSD:15:quarterly2024102120241021n/an/an/a
FreeBSD:16:latest2024102120241021n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

All build dependencies 15
All run dependencies 7

Configuration

No options to configure.

USES
python shebangfix
Service scripts
none

Files

distinfo 1
FileSizeSHA256
diff_match_patch-20241021.tar.gz39962beae57a99fa48084532935ee2968b8661db861862ec82c6f21f4acdd6d835073
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.