Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jul 2018 12:16:30 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r475542 - in head/devel: . py-patch
Message-ID:  <201807281216.w6SCGUjL073423@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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



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