BSD Ports

devel/py-patch-ng 1.18.1_1 DragonFly

Library to parse and apply unified diffs

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
34.2 KiB, 165.2 KiB installed

Description

Library to parse and apply unified diffs.

Features: * Python 2 and 3 compatible * Automatic correction of

  • Linefeeds according to patched file
  • Diffs broken by stripping trailing whitespace
  • a/ and b/ prefixes * Single file, which is a command line tool and a library * No dependencies outside Python stdlib * Patch format detection (SVN, HG, GIT) * Nice diffstat histogram * Linux / Windows / OS X * Test coverage

In the other systems

SystemPortVersion
DragonFlydevel/py-patch-ng1.18.1_1
FreeBSDdevel/py-patch-ng1.19.1
MidnightBSDdevel/py-patch-ng1.17.4_1

Install

Binary package:

pkg install py311-patch-ng

From DPorts:

cd /usr/dports/devel/py-patch-ng && make install clean

Dependencies

Run dependencies 1
Required by 1