| @@ -1,27 +1,29 @@ | | | @@ -1,27 +1,29 @@ |
1 | # $NetBSD: Makefile,v 1.8 2019/02/09 14:13:25 khorben Exp $ | | 1 | # $NetBSD: Makefile,v 1.9 2019/04/06 17:53:53 maya Exp $ |
2 | | | 2 | |
3 | DISTNAME= diffoscope-110 | | 3 | DISTNAME= diffoscope-110 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
| | | 5 | PKGREVISION= 1 |
5 | CATEGORIES= sysutils python | | 6 | CATEGORIES= sysutils python |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=d/diffoscope/} | | 7 | MASTER_SITES= ${MASTER_SITE_PYPI:=d/diffoscope/} |
7 | | | 8 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://diffoscope.org/ | | 10 | HOMEPAGE= https://diffoscope.org/ |
10 | COMMENT= In-depth comparison of files, archives, and directories | | 11 | COMMENT= In-depth comparison of files, archives, and directories |
11 | LICENSE= gnu-gpl-v3 | | 12 | LICENSE= gnu-gpl-v3 |
12 | | | 13 | |
13 | DEPENDS+= ${PYPKGPREFIX}-libarchive-c-[0-9]*:../../archivers/py-libarchive-c | | 14 | DEPENDS+= ${PYPKGPREFIX}-libarchive-c-[0-9]*:../../archivers/py-libarchive-c |
14 | DEPENDS+= ${PYPKGPREFIX}-magic-[0-9]*:../../sysutils/py-magic | | 15 | DEPENDS+= ${PYPKGPREFIX}-magic-[0-9]*:../../sysutils/py-magic |
| | | 16 | DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses |
15 | DEPENDS+= ${PYPKGPREFIX}-tlsh-[0-9]*:../../devel/py-tlsh | | 17 | DEPENDS+= ${PYPKGPREFIX}-tlsh-[0-9]*:../../devel/py-tlsh |
16 | DEPENDS+= colordiff-[0-9]*:../../devel/colordiff | | 18 | DEPENDS+= colordiff-[0-9]*:../../devel/colordiff |
17 | # for xxd | | 19 | # for xxd |
18 | DEPENDS+= vim-[0-9]*:../../editors/vim | | 20 | DEPENDS+= vim-[0-9]*:../../editors/vim |
19 | | | 21 | |
20 | USE_LANGUAGES= # none | | 22 | USE_LANGUAGES= # none |
21 | USE_TOOLS+= bzip2:run gtar:run xz:run | | 23 | USE_TOOLS+= bzip2:run gtar:run xz:run |
22 | | | 24 | |
23 | SUBST_CLASSES+= gtar | | 25 | SUBST_CLASSES+= gtar |
24 | SUBST_SED.gtar+= -e "s,'tar,'gtar," | | 26 | SUBST_SED.gtar+= -e "s,'tar,'gtar," |
25 | SUBST_FILES.gtar+= diffoscope/comparators/tar.py | | 27 | SUBST_FILES.gtar+= diffoscope/comparators/tar.py |
26 | SUBST_FILES.gtar+= tests/comparators/test_utils.py | | 28 | SUBST_FILES.gtar+= tests/comparators/test_utils.py |
27 | SUBST_MESSAGE.gtar= Fix path to gtar. | | 29 | SUBST_MESSAGE.gtar= Fix path to gtar. |