Annotation of pkgsrc/sysutils/py-diffoscope/Makefile, revision 1.1
1.1 ! wiz 1: # $NetBSD$
! 2:
! 3: DISTNAME= diffoscope-44
! 4: PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
! 5: CATEGORIES= sysutils
! 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
! 15: DEPENDS+= ${PYPKGPREFIX}-tlsh-[0-9]*:../../devel/py-tlsh
! 16: # for xxd
! 17: DEPENDS+= vim-[0-9]*:../../editors/vim
! 18:
! 19: USE_TOOLS+= gtar:run xz:run bzip2:run
! 20:
! 21: USE_LANGUAGES= # none
! 22:
! 23: SUBST_CLASSES+= gtar
! 24: SUBST_SED.gtar+= -e "s,'tar,'gtar,"
! 25: SUBST_FILES.gtar+= diffoscope/comparators/tar.py tests/comparators/test_utils.py
! 26: SUBST_MESSAGE.gtar= Fix path to gtar.
! 27: SUBST_STAGE.gtar= post-configure
! 28:
! 29: PYTHON_VERSIONS_INCOMPATIBLE= 27
! 30: PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
! 31: FILES_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
! 32:
! 33: post-install:
! 34: cd ${DESTDIR}${PREFIX}/bin && \
! 35: ${MV} diffoscope diffoscope-${PYVERSSUFFIX}
! 36:
! 37: .include "../../lang/python/egg.mk"
! 38: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>