Lines 1-5
Link Here
|
1 |
PORTNAME= patiencediff |
1 |
PORTNAME= patiencediff |
2 |
PORTVERSION= 0.2.2 |
2 |
PORTVERSION= 0.2.12 |
3 |
CATEGORIES= textproc python |
3 |
CATEGORIES= textproc python |
4 |
MASTER_SITES= CHEESESHOP |
4 |
MASTER_SITES= CHEESESHOP |
5 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
5 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 9-24
COMMENT= Implementation of the "Patience Diff" algorithm
Link Here
|
9 |
WWW= https://pypi.org/project/patiencediff/ |
9 |
WWW= https://pypi.org/project/patiencediff/ |
10 |
|
10 |
|
11 |
LICENSE= GPLv2+ |
11 |
LICENSE= GPLv2+ |
12 |
|
12 |
LICENSE_FILE= ${WRKSRC}/COPYING |
13 |
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} |
|
|
14 |
|
13 |
|
15 |
USES= python:3.6+ |
14 |
USES= python:3.6+ |
16 |
USE_PYTHON= distutils autoplist |
15 |
USE_PYTHON= autoplist distutils pytest |
17 |
|
16 |
|
18 |
post-install: |
17 |
post-install: |
19 |
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/patiencediff/_patiencediff_c*.so |
18 |
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/patiencediff/_patiencediff_c*.so |
20 |
|
19 |
|
21 |
do-test: |
|
|
22 |
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v build/ |
23 |
|
24 |
.include <bsd.port.mk> |
20 |
.include <bsd.port.mk> |