26 lines
544 B
Makefile
26 lines
544 B
Makefile
# Created by: Rene Ladan <rene@FreeBSD.org>
|
|
|
|
PORTNAME= diff-match-patch
|
|
PORTVERSION= 20200713
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Algorithms for converting plain text
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= python:3.6+ shebangfix
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
python_OLD_CMD= /usr/bin/python[0-9\.]*
|
|
SHEBANG_GLOB= *.py
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${PYTHON_CMD} -m unittest -v
|
|
|
|
.include <bsd.port.mk>
|