BSD Ports

textproc/py-patiencediff 0.2.19 NetBSD

Python implementation of the patiencediff algorithm

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
608efb186b
License
gnu-gpl-v2 OR gnu-gpl-v3
Categories
textproc, python
Package size
256.2 KiB, 830.5 KiB installed

Description

Implementation of the patiencediff algorithm, as first described by Bram Cohen: https://bramcohen.livejournal.com/73318.html

Like Python's difflib, this module provides both a convenience unified_diff function for the generation of unified diffs of text files as well as a SequenceMatcher that can be used on arbitrary lists.

Patiencediff provides a good balance of performance, nice output for humans, and implementation simplicity.

The code in this package was extracted from the Bazaar code base.

In the other systems

SystemPortVersion
NetBSDtextproc/py-patiencediff0.2.19
FreeBSDtextproc/py-patiencediff0.2.12_1
OpenBSDtextproc/py-patiencediff0.2.19p0
DragonFlytextproc/py-patiencediff0.2.12_1
HardenedBSDtextproc/py-patiencediff0.2.12_1
GhostBSDtextproc/py-patiencediff0.2.12_1

Install

Binary package:

pkgin install py311-patiencediff

From pkgsrc:

cd /usr/pkgsrc/textproc/py-patiencediff && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.2.19
NetBSD 10.1 aarch640.2.18
SmartOS / illumos x86_641.0.1
macOS 15 arm641.0.1

Dependencies

Run dependencies 1
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-patiencediff-0.2.19, py313-patiencediff-0.2.19, py314-patiencediff-0.2.19

Commit history 2

DateCommitCreditsLog message
608efb186b wiz py-patiencediff: update to 1.0.1.
Upgrade to the patiencediff 0.3 Rust crate
916f3652ad wiz py-patiencediff: update to 1.0.0.
Add workaround for Python 3.15 support. No changelog found.