aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/py-diffoscope/Makefile
blob: 0b93ac5aa752cb2284dc2dd516d3745ef1c1735d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$

PORTNAME=   diffoscope
PORTVERSION=    83
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

do-test:
    @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test --pytest-args="-rsx -l -vv"

.include <bsd.port.mk>