From fb7823be45f9c499b89664b77efdfbab2ae184d4 Mon Sep 17 00:00:00 2001 From: Lockywolf Date: Fri, 29 Sep 2023 22:59:33 +0700 Subject: python/python3-patch-ng: Added (Patch NG). Signed-off-by: Willy Sudiarto Raharjo --- python/python3-patch-ng/README | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 python/python3-patch-ng/README (limited to 'python/python3-patch-ng/README') diff --git a/python/python3-patch-ng/README b/python/python3-patch-ng/README new file mode 100644 index 0000000000..5f9edb2ff6 --- /dev/null +++ b/python/python3-patch-ng/README @@ -0,0 +1,30 @@ +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 -- cgit v1.2.3