Annotation of pkgsrc/sysutils/py-diffoscope/Makefile, revision 1.19
1.19 ! khorben 1: # $NetBSD: Makefile,v 1.18 2023/01/07 07:20:29 khorben Exp $
1.1 wiz 2:
1.19 ! khorben 3: DISTNAME= diffoscope-233
1.1 wiz 4: PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
1.4 adam 5: CATEGORIES= sysutils python
1.1 wiz 6: MASTER_SITES= ${MASTER_SITE_PYPI:=d/diffoscope/}
7:
8: MAINTAINER= pkgsrc-users@NetBSD.org
9: HOMEPAGE= https://diffoscope.org/
10: COMMENT= In-depth comparison of files, archives, and directories
11: LICENSE= gnu-gpl-v3
12:
13: DEPENDS+= ${PYPKGPREFIX}-libarchive-c-[0-9]*:../../archivers/py-libarchive-c
14: DEPENDS+= ${PYPKGPREFIX}-magic-[0-9]*:../../sysutils/py-magic
1.9 maya 15: DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses
1.1 wiz 16: DEPENDS+= ${PYPKGPREFIX}-tlsh-[0-9]*:../../devel/py-tlsh
1.3 khorben 17: DEPENDS+= colordiff-[0-9]*:../../devel/colordiff
1.1 wiz 18: # for xxd
19: DEPENDS+= vim-[0-9]*:../../editors/vim
20:
1.11 ng0 21: USE_LANGUAGES= c # for tests
1.4 adam 22: USE_TOOLS+= bzip2:run gtar:run xz:run
1.1 wiz 23:
1.11 ng0 24: # Only Python 3 is supported.
1.10 maya 25: PYTHON_VERSIONS_INCOMPATIBLE= 27
1.1 wiz 26:
1.14 wiz 27: USE_PKG_RESOURCES= yes
28:
1.1 wiz 29: post-install:
30: cd ${DESTDIR}${PREFIX}/bin && \
1.4 adam 31: ${MV} diffoscope diffoscope-${PYVERSSUFFIX} || ${TRUE}
1.1 wiz 32:
33: .include "../../lang/python/egg.mk"
34: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>