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

1.22    ! wiz         1: # $NetBSD: Makefile,v 1.21 2024/01/15 20:03:39 schmonz Exp $
1.1       wiz         2: 
1.21      schmonz     3: DISTNAME=      diffoscope-253
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: 
1.22    ! wiz        13: TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
        !            14: TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
1.1       wiz        15: DEPENDS+=      ${PYPKGPREFIX}-libarchive-c-[0-9]*:../../archivers/py-libarchive-c
                     16: DEPENDS+=      ${PYPKGPREFIX}-magic-[0-9]*:../../sysutils/py-magic
                     17: DEPENDS+=      ${PYPKGPREFIX}-tlsh-[0-9]*:../../devel/py-tlsh
1.3       khorben    18: DEPENDS+=      colordiff-[0-9]*:../../devel/colordiff
1.1       wiz        19: # for xxd
                     20: DEPENDS+=      vim-[0-9]*:../../editors/vim
                     21: 
1.11      ng0        22: USE_LANGUAGES= c  # for tests
1.4       adam       23: USE_TOOLS+=    bzip2:run gtar:run xz:run
1.1       wiz        24: 
1.11      ng0        25: # Only Python 3 is supported.
1.10      maya       26: PYTHON_VERSIONS_INCOMPATIBLE=  27
1.1       wiz        27: 
                     28: post-install:
                     29:        cd ${DESTDIR}${PREFIX}/bin && \
1.4       adam       30:                ${MV} diffoscope diffoscope-${PYVERSSUFFIX} || ${TRUE}
1.1       wiz        31: 
1.20      wiz        32: .include "../../lang/python/batteries-included.mk"
1.21      schmonz    33: .include "../../lang/python/wheel.mk"
1.1       wiz        34: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>