Skip to content

Commit

Permalink
textproc/py-merge3: new port
Browse files Browse the repository at this point in the history
A Python implementation of 3-way merge of texts.

Given BASE, OTHER, THIS, tries to produce a combined text incorporating
the changes from both BASE->OTHER and BASE->THIS. All three will
typically be sequences of lines.

WWW: https://github.com/breezy-team/merge3

PR:		267681
  • Loading branch information
fullermd authored and clausecker committed May 25, 2023
1 parent a1fbebb commit 482b709
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions textproc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1400,6 +1400,7 @@
SUBDIR += py-mathics-pygments
SUBDIR += py-mdit-py-plugins
SUBDIR += py-mdurl
SUBDIR += py-merge3
SUBDIR += py-mike
SUBDIR += py-misaka
SUBDIR += py-mistletoe
Expand Down
19 changes: 19 additions & 0 deletions textproc/py-merge3/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
PORTNAME= merge3
PORTVERSION= 0.0.13
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= fullermd@over-yonder.net
COMMENT= 3-way merge implementation
WWW= https://github.com/breezy-team/merge3

LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING

USES= python:3.7+
USE_PYTHON= autoplist concurrent distutils

NO_ARCH= yes

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions textproc/py-merge3/distinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TIMESTAMP = 1679867605
SHA256 (merge3-0.0.13.tar.gz) = 8abda1d2d49776323d23d09bfdd80d943a57d43d28d6152ffd2c87956a9b6b54
SIZE (merge3-0.0.13.tar.gz) = 13603
5 changes: 5 additions & 0 deletions textproc/py-merge3/pkg-descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
A Python implementation of 3-way merge of texts.

Given BASE, OTHER, THIS, tries to produce a combined text incorporating
the changes from both BASE->OTHER and BASE->THIS. All three will
typically be sequences of lines.

0 comments on commit 482b709

Please sign in to comment.