svn commit: r538546 - in head/devel: . py-patch-ng
Yuri Victorovich
yuri at FreeBSD.org
Thu Jun 11 21:44:33 UTC 2020
Author: yuri
Date: Thu Jun 11 21:44:32 2020
New Revision: 538546
URL: https://svnweb.freebsd.org/changeset/ports/538546
Log:
New port: devel/py-patch-ng: Library to parse and apply unified diffs
Added:
head/devel/py-patch-ng/
head/devel/py-patch-ng/Makefile (contents, props changed)
head/devel/py-patch-ng/distinfo (contents, props changed)
head/devel/py-patch-ng/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Thu Jun 11 21:23:25 2020 (r538545)
+++ head/devel/Makefile Thu Jun 11 21:44:32 2020 (r538546)
@@ -4742,6 +4742,7 @@
SUBDIR += py-parver
SUBDIR += py-pastel
SUBDIR += py-patch
+ SUBDIR += py-patch-ng
SUBDIR += py-path.py
SUBDIR += py-pathlib
SUBDIR += py-pathlib2
Added: head/devel/py-patch-ng/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-patch-ng/Makefile Thu Jun 11 21:44:32 2020 (r538546)
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+PORTNAME= patch-ng
+DISTVERSION= 1.17.4
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= Library to parse and apply unified diffs
+
+LICENSE= MIT
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Added: head/devel/py-patch-ng/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-patch-ng/distinfo Thu Jun 11 21:44:32 2020 (r538546)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1591906534
+SHA256 (patch-ng-1.17.4.tar.gz) = 627abc5bd723c8b481e96849b9734b10065426224d4d22cd44137004ac0d4ace
+SIZE (patch-ng-1.17.4.tar.gz) = 17395
Added: head/devel/py-patch-ng/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-patch-ng/pkg-descr Thu Jun 11 21:44:32 2020 (r538546)
@@ -0,0 +1,16 @@
+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
+
+WWW: https://github.com/conan-io/python-patch-ng
More information about the svn-ports-head
mailing list