Files
ports/textproc/py-patiencediff/Makefile
T
Antoine Brodin aa7a6c429e Drop python 2.7 support from a few ports
With hat:	portmgr
2020-12-28 23:02:12 +00:00

26 lines
572 B
Makefile

# $FreeBSD$
PORTNAME= patiencediff
PORTVERSION= 0.2.0
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= fullermd@over-yonder.net
COMMENT= Implementation of the "Patience Diff" algorithm
LICENSE= GPLv2+
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= distutils autoplist
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/patiencediff/_patiencediff_c*.so
do-test:
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v build/
.include <bsd.port.mk>