Kubilay Kocak 3bfa1bf267 sysutils/py-diffoscope: Update to 59
- Update PORTVERSION and distinfo checksum (59)
 - Enable concurrent Python installation
 - Remove post-extract (upstream removed __pycache__ dirs from sdist)
 - Add comment above test target about needing to mount -r fdescfs first


  https://anonscm.debian.org/cgit/reproducible/diffoscope.git/log/?h=59
2016-08-19 10:47:04 +00:00

34 lines
884 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= diffoscope
PORTVERSION= 59
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/py3-libarchive-c \
${PYTHON_PKGNAMEPREFIX}python-magic>=0:devel/py3-python-magic
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest \
zipinfo:archivers/unzip \
isoinfo:sysutils/cdrkit \
rpm2cpio:archivers/rpm2cpio
USES= python:3.4+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
# mount -t fdescfs fdesc /dev/fd before running tests
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test --pytest-args="-rsx -l -vv"
.include <bsd.port.mk>