BSD Ports

devel/py-patch-ng 1.19.1 FreeBSD

Library to parse and apply unified diffs

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel, python
Package size
37.4 KiB, 166.2 KiB installed

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
FreeBSDdevel/py-patch-ng1.19.1
DragonFlydevel/py-patch-ng1.18.1_1
MidnightBSDdevel/py-patch-ng1.17.4_1

Install

Binary package:

pkg install py312-patch-ng

From the ports tree:

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

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

RUN_DEPENDS=	py312-patch-ng>0:devel/py-patch-ng

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.19.11.19.11.17.41.18.1_11.19.1
FreeBSD:14:quarterly1.19.11.19.1n/a1.18.1_11.19.1
FreeBSD:15:latest1.19.11.19.1n/a1.18.1_11.18.1_1
FreeBSD:15:quarterly1.19.11.19.1n/an/an/a
FreeBSD:16:latest1.19.11.19.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 11
Run dependencies 7

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
patch_ng-1.19.1.tar.gz18525036a3cc00134ec53f37e92333958ee75e117f2e62a5ec2b85c7122e5e815c29e
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.