BSD Ports

devel/py-patch-ng 1.17.4_1 MidnightBSD

Library to parse and apply unified diffs

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
devel, python

Description

Library to parse and apply unified diffs.

Features: * Python 2 and 3 compatible * 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 * Linux / Windows / OS X * Test coverage

In the other systems

SystemPortVersion
MidnightBSDdevel/py-patch-ng1.17.4_1
FreeBSDdevel/py-patch-ng1.19.1
DragonFlydevel/py-patch-ng1.18.1_1
HardenedBSDdevel/py-patch-ng1.19.1
GhostBSDdevel/py-patch-ng1.19.1

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}patch-ng

From mports:

cd /usr/mports/devel/py-patch-ng && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}patch-ng>0:devel/py-patch-ng

Dependencies

Required by 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
patch-ng-1.17.4.tar.gz17395627abc5bd723c8b481e96849b9734b10065426224d4d22cd44137004ac0d4ace
Master sites 1
  • PYPI