summaryrefslogtreecommitdiff
path: root/textproc/py-patiencediff/Makefile
blob: f9571ddb9b4eaafc5a7513c5c4775644965aee34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

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>