Annotation of pkgsrc/textproc/py-diff-match-patch/Makefile, revision 1.2
1.2 ! adam 1: # $NetBSD: Makefile,v 1.1 2017/10/17 11:34:36 adam Exp $
1.1 adam 2:
1.2 ! adam 3: DISTNAME= diff-match-patch-20181111
1.1 adam 4: PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5: CATEGORIES= textproc python
6: MASTER_SITES= ${MASTER_SITE_PYPI:=d/diff-match-patch/}
7:
8: MAINTAINER= pkgsrc-users@NetBSD.org
1.2 ! adam 9: HOMEPAGE= https://github.com/diff-match-patch-python/diff-match-patch
1.1 adam 10: COMMENT= Robust algorithms for synchronizing plain text
11: LICENSE= apache-2.0
12:
1.2 ! adam 13: BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools>=38.6.0:../../devel/py-setuptools
! 14:
1.1 adam 15: USE_LANGUAGES= # none
16:
1.2 ! adam 17: .include "../../lang/python/pyversion.mk"
! 18: do-test:
! 19: .if ${_PYTHON_VERSION} == 27
! 20: cd ${WRKSRC} && ${PYTHONBIN} diff_match_patch/tests/diff_match_patch_test_py2.py
! 21: .else
! 22: cd ${WRKSRC} && ${PYTHONBIN} diff_match_patch/tests/diff_match_patch_test.py
! 23: .endif
! 24:
1.1 adam 25: .include "../../lang/python/egg.mk"
26: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>