SlackBuilds Repository

15.0 > Python > python3-patch-ng (1.17.4)

Patch NG (New Generation)

Library to parse and apply unified diffs.
This project is a fork from the original python-patch project.

Features

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

Things that don't work out of the box:

File renaming, creation and removal
Directory tree operations
Version control specific properties
Non-unified diff formats

Usage

Download patch_ng.py and run it with Python. It is a self-contained
module without external dependencies.

patch_ng.py diff.patch

Maintained by: Lockywolf
Keywords: patch,development,code,editing
ChangeLog: python3-patch-ng

Homepage:
https://github.com/conan-io/

Source Downloads:
python-patch-ng-1.17.4.tar.gz (b8c0dc0d722a3cecdc8f246c45133b5c)

Download SlackBuild:
python3-patch-ng.tar.gz
python3-patch-ng.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 15.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds