Annotation of pkgsrc/sysutils/py-diffoscope/Makefile, revision 1.20

1.20    ! wiz         1: # $NetBSD: Makefile,v 1.19 2023/01/28 00:50:28 khorben Exp $
1.1       wiz         2: 
1.19      khorben     3: DISTNAME=      diffoscope-233
1.1       wiz         4: PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
1.20    ! wiz         5: PKGREVISION=   1
1.4       adam        6: CATEGORIES=    sysutils python
1.1       wiz         7: MASTER_SITES=  ${MASTER_SITE_PYPI:=d/diffoscope/}
                      8: 
                      9: MAINTAINER=    pkgsrc-users@NetBSD.org
                     10: HOMEPAGE=      https://diffoscope.org/
                     11: COMMENT=       In-depth comparison of files, archives, and directories
                     12: LICENSE=       gnu-gpl-v3
                     13: 
                     14: DEPENDS+=      ${PYPKGPREFIX}-libarchive-c-[0-9]*:../../archivers/py-libarchive-c
                     15: DEPENDS+=      ${PYPKGPREFIX}-magic-[0-9]*:../../sysutils/py-magic
                     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: 
1.20    ! wiz        33: .include "../../lang/python/batteries-included.mk"
1.1       wiz        34: .include "../../lang/python/egg.mk"
                     35: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>