[Bug 229524] [NEW PORT] devel/py-patch: Cross-platform alternative to the UNIX patch utility
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jul 5 04:57:50 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229524
Bug ID: 229524
Summary: [NEW PORT] devel/py-patch: Cross-platform alternative
to the UNIX patch utility
Product: Ports & Packages
Version: Latest
Hardware: Any
URL: https://pypi.org/project/patch/
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: freebsd_ports at k-worx.org
CC: python at FreeBSD.org
Created attachment 194885
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=194885&action=edit
py-patch.patch
Hello,
attached is the patch that adds the Python package devel/py-patch, which is
meant as a cross-platform alternative to the UNIX patch utility.
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
QA:
~~~
- poudriere (11.2-RELEASE amd64 + i386) for each py27 + py36 flavor -> OK
- portlint -> OK
Note:
- The versioning at PyPi is wrong: 10.04 is not the latest version and was the
initial release version dated back in 2010.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-python
mailing list