forked from Lainports/freebsd-ports
- Add upstream [1] patch to prevent tlsh dependent tests from failing Changelog: 145: https://lists.reproducible-builds.org/pipermail/rb-general/2020-May/001947.html 146: https://lists.reproducible-builds.org/pipermail/rb-general/2020-May/001948.html 147: https://lists.reproducible-builds.org/pipermail/rb-general/2020-June/001964.html [1] https://lists.reproducible-builds.org/pipermail/diffoscope/2020-June/002642.html PR: 246773 Submitted by: Fabian Keil <fk fabiankeil de> MFH: No (combined feature/bugfix releases)
32 lines
871 B
Makefile
32 lines
871 B
Makefile
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= diffoscope
|
|
PORTVERSION= 147
|
|
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= python:3.6+
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts=
|
|
|
|
.include <bsd.port.mk>
|