ports/sysutils/py-diffoscope/Makefile
Guangyuan Yang f53e2288a3 sysutils/py-diffoscope: Update to 196
Changelog:	https://diffoscope.org/news/diffoscope-196-released/

PR:		260326
Approved by:	koobs (maintainer)
2021-12-14 19:48:21 -05:00

32 lines
895 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
PORTNAME= diffoscope
PORTVERSION= 196
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= In-depth comparison of files, archives, and directories
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libarchive-c>=0:archivers/py-libarchive-c@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}python-magic>=0:devel/py-python-magic@${PY_FLAVOR} \
gdiff:textproc/diffutils
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
zipinfo:archivers/unzip \
isoinfo:sysutils/cdrkit \
rpm2cpio:archivers/rpm2cpio
USES= cpe python:3.7+
CPE_VENDOR= reproducible_builds
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts=
.include <bsd.port.mk>