BSD Ports

devel/py-unidiff 1.0.0 NetBSD

Unified diff python parsing/metadata extraction library

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
cc5d473e37
License
mit
Categories
devel, python
Package size
27.1 KiB, 123.9 KiB installed

Description

Simple Python library to parse and interact with unified diff data.

In the other systems

The newest version among them is 1.0.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDdevel/py-unidiff1.0.0 behind since 2026-09-23none known-[email protected]2026-09-23
FreeBSDdevel/py-unidiff1.0.1 newestnone known-[email protected]2026-09-28
DragonFlydevel/py-unidiff0.7.5_1 behind since 2026-07-26none known-[email protected]-
MidnightBSDdevel/py-unidiff0.7.5_1 behind since 2026-07-26no data-[email protected]-
HardenedBSDdevel/py-unidiff1.0.1 newestno data-[email protected]-
GhostBSDdevel/py-unidiff1.0.0 behind since 2026-09-23no data-[email protected]-

Compare across BSDs

Version history 2

  1. 1.0.1 cc5d473e37
  2. 1.0.0 7572518237

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkgin install py311-unidiff

From pkgsrc:

cd /usr/pkgsrc/devel/py-unidiff && 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_641.0.0
NetBSD 10.1 aarch641.0.0
SmartOS / illumos x86_641.0.1
macOS 15 arm641.0.1

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-unidiff-1.0.0, py313-unidiff-1.0.0, py314-unidiff-1.0.0

Commit history 2

DateCommitCreditsLog message
cc5d473e37 adam py-unidiff: updated to 1.0.1
1.0.1 - 2026-09-14 * Exposed git submodule (gitlink) entries through the file mode and the new PatchedFile.is_submodule property * Fixed parsing of patches that add multiple files in a row sharing the /dev/null source, such as quilt-generated patches * Fixed metadata_only parsing of empty (including DOS "\r\n") context lines. * Fixed an UnboundLocalError on malformed patches with a target file header and no preceding source header; UnidiffParseError is now raised * Fixed a TypeError on binary diffs without a target filename, such as Mercurial's "Binary file X has changed".
7572518237 adam py-unidiff: updated to 1.0.0
1.0.0 - 2026-07-25 * Dropped Python 2 support; the minimum supported version is now Python 3.9. * Converted to real PEP 484 type annotations and generic containers, and shipped a py.typed marker * Migrated packaging to pyproject.toml; the sdist now includes the tests * Replaced Travis CI with GitHub Actions (tests + mypy). * Exposed git file modes via PatchedFile.source_mode / target_mode and an is_symlink property * Added support for git mnemonic source/target prefixes (i/ w/ c/ o/ and 1/ 2/), which also fixes `git diff --cached` paths * Exposed PatchedFile.diff_line_no to locate hunkless (e.g. binary) file entries in the diff * PatchSet and PatchSet.from_string now accept bytes input directly, decoding with the given encoding (default UTF-8) …