Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Jul 2018 04:57:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 229524] [NEW PORT] devel/py-patch: Cross-platform alternative to the UNIX patch utility
Message-ID:  <bug-229524-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229524

            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@FreeBSD.org
          Reporter: freebsd_ports@k-worx.org
                CC: python@FreeBSD.org

Created attachment 194885
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D194885&action=
=3Dedit
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.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229524-21822>