freebsd-ports/textproc/py-three-merge/Makefile

29 lines
859 B
Makefile

PORTNAME= three-merge
PORTVERSION= 0.1.1
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= rhurlin@FreeBSD.org
COMMENT= Perform a 3-way merge between strings
WWW= https://github.com/spyder-ide/three-merge
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
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>