1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/devel/py-patch/Makefile
Martin Wilke 10afadc3be 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.
2018-07-28 12:16:30 +00:00

21 lines
357 B
Makefile

# $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>