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
| System | Port | Version |
|---|---|---|
| DragonFly | devel/py-patch-ng | 1.18.1_1 |
| FreeBSD | devel/py-patch-ng | 1.19.1 |
| MidnightBSD | devel/py-patch-ng | 1.17.4_1 |
Install
Binary package:
pkg install py311-patch-ng
From DPorts:
cd /usr/dports/devel/py-patch-ng && make install clean