From owner-svn-ports-all@freebsd.org Sat Jul 28 12:16:32 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D5A53104F5EA; Sat, 28 Jul 2018 12:16:31 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 891D58B452; Sat, 28 Jul 2018 12:16:31 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6A40926868; Sat, 28 Jul 2018 12:16:31 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6SCGVMb073427; Sat, 28 Jul 2018 12:16:31 GMT (envelope-from miwi@FreeBSD.org) Received: (from miwi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6SCGUjL073423; Sat, 28 Jul 2018 12:16:30 GMT (envelope-from miwi@FreeBSD.org) Message-Id: <201807281216.w6SCGUjL073423@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: miwi set sender to miwi@FreeBSD.org using -f From: Martin Wilke Date: Sat, 28 Jul 2018 12:16:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475542 - in head/devel: . py-patch X-SVN-Group: ports-head X-SVN-Commit-Author: miwi X-SVN-Commit-Paths: in head/devel: . py-patch X-SVN-Commit-Revision: 475542 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2018 12:16:32 -0000 Author: miwi Date: Sat Jul 28 12:16:30 2018 New Revision: 475542 URL: https://svnweb.freebsd.org/changeset/ports/475542 Log: Python 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 WWW: https://github.com/techtonik/python-patch PR: 229500 Submitted by: freebsd_ports@k-worx.org Sponsored by: iXsystems Inc. Added: head/devel/py-patch/ head/devel/py-patch/Makefile (contents, props changed) head/devel/py-patch/distinfo (contents, props changed) head/devel/py-patch/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat Jul 28 12:15:39 2018 (r475541) +++ head/devel/Makefile Sat Jul 28 12:16:30 2018 (r475542) @@ -4797,6 +4797,7 @@ SUBDIR += py-palm SUBDIR += py-parallax SUBDIR += py-parsedatetime + SUBDIR += py-patch SUBDIR += py-path.py SUBDIR += py-pathlib SUBDIR += py-pathlib2 Added: head/devel/py-patch/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-patch/Makefile Sat Jul 28 12:16:30 2018 (r475542) @@ -0,0 +1,20 @@ +# $FreeBSD$ + +PORTNAME= patch +DISTVERSION= 1.16 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= freebsd_ports@k-worx.org +COMMENT= Cross-platform alternative to the UNIX patch utility + +LICENSE= MIT + +USES= python zip +USE_PYTHON= distutils autoplist + +NO_ARCH= yes +NO_WRKSUBDIR= yes + +.include Added: head/devel/py-patch/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-patch/distinfo Sat Jul 28 12:16:30 2018 (r475542) @@ -0,0 +1,3 @@ +TIMESTAMP = 1530195203 +SHA256 (patch-1.16.zip) = c62073f356cff054c8ac24496f1a3d7cfa137835c31e9af39a9f5292fd75bd9f +SIZE (patch-1.16.zip) = 12809 Added: head/devel/py-patch/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-patch/pkg-descr Sat Jul 28 12:16:30 2018 (r475542) @@ -0,0 +1,21 @@ +Python 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 + +WWW: https://github.com/techtonik/python-patch