slackbuilds/python/python2-patch
Heinz Wiesinger 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2021-07-17 21:55:09 +02:00
..
README python/python-patch: Renamed python2-patch. 2021-05-08 01:41:49 +07:00
python2-patch.SlackBuild All: Support $PRINT_PACKAGE_NAME env var 2021-07-17 21:55:09 +02:00
python2-patch.info python/python-patch: Renamed python2-patch. 2021-05-08 01:41:49 +07:00
setup.py python/python-patch: Renamed python2-patch. 2021-05-08 01:41:49 +07:00
slack-desc python/python-patch: Renamed python2-patch. 2021-05-08 01:41:49 +07:00

README

Library to parse and apply unified diffs

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

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