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
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/py-patch-ng | 1.17.4_1 |
| FreeBSD | devel/py-patch-ng | 1.19.1 |
| DragonFly | devel/py-patch-ng | 1.18.1_1 |
| HardenedBSD | devel/py-patch-ng | 1.19.1 |
| GhostBSD | devel/py-patch-ng | 1.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
| File | Size | SHA256 |
|---|---|---|
| patch-ng-1.17.4.tar.gz | 17395 | 627abc5bd723c8b481e96849b9734b10065426224d4d22cd44137004ac0d4ace |
Master sites 1
- PYPI