1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-08 12:01:56 +00:00

New port: textproc/py-three-merge: Perform a 3-way merge between strings

https://github.com/spyder-ide/three-merge
This commit is contained in:
Rainer Hurling 2021-02-26 11:25:36 +00:00
parent 6883d2fff4
commit f8233d86fa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=566594
4 changed files with 39 additions and 0 deletions

View File

@ -1429,6 +1429,7 @@
SUBDIR += py-terminaltables
SUBDIR += py-textfsm
SUBDIR += py-texttable
SUBDIR += py-three-merge
SUBDIR += py-tinycss
SUBDIR += py-tinycss2
SUBDIR += py-toml

View File

@ -0,0 +1,30 @@
# Created by: Rainer Hurling <rhurlin@gwdg.de>
# $FreeBSD$
PORTNAME= three-merge
PORTVERSION= 0.1.1
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= rhurlin@FreeBSD.org
COMMENT= Perform a 3-way merge between strings
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}diff-match-patch>=0:textproc/py-diff-match-patch@${PY_FLAVOR}
#TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
# ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
# ${PYTHON_PKGNAMEPREFIX}pytest-timeout>0:devel/py-pytest-timeout@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
# test files not present ATM in the PyPI source file
#do-test:
# @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -x -v three_merge/tests
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1614332502
SHA256 (three-merge-0.1.1.tar.gz) = 60f6afe144595560d63ae32625351bcef3b94733b54eb97800a9feb0f3d9d970
SIZE (three-merge-0.1.1.tar.gz) = 5898

View File

@ -0,0 +1,5 @@
Simple Python library to perform a 3-way merge between strings, based on
diff-match-patch. This library performs merges at a character level, as
opposed to most VCS systems, which opt for a line-based approach.
WWW: https://github.com/spyder-ide/three-merge