Fri Dec 8 21:24:27 2017 UTC ()
py-mercurial: Run tests in parallel when MAKE_JOBS is set.


(joerg)
diff -r1.18 -r1.19 pkgsrc/devel/py-mercurial/Makefile

cvs diff -r1.18 -r1.19 pkgsrc/devel/py-mercurial/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-mercurial/Makefile 2017/11/07 15:33:24 1.18
+++ pkgsrc/devel/py-mercurial/Makefile 2017/12/08 21:24:26 1.19
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.18 2017/11/07 15:33:24 wiz Exp $ 1# $NetBSD: Makefile,v 1.19 2017/12/08 21:24:26 joerg Exp $
2 2
3DISTNAME= mercurial-${VERSION} 3DISTNAME= mercurial-${VERSION}
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= devel scm 5CATEGORIES= devel scm
6MASTER_SITES= https://www.mercurial-scm.org/release/ 6MASTER_SITES= https://www.mercurial-scm.org/release/
7 7
8MAINTAINER= wiz@NetBSD.org 8MAINTAINER= wiz@NetBSD.org
9HOMEPAGE= https://www.mercurial-scm.org/ 9HOMEPAGE= https://www.mercurial-scm.org/
10COMMENT= Fast, lightweight source control management system 10COMMENT= Fast, lightweight source control management system
11LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # OR newer 11LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # OR newer
12 12
13# with this dependency, two zip test cases start working 13# with this dependency, two zip test cases start working
14# https://bz.mercurial-scm.org/show_bug.cgi?id=4483 14# https://bz.mercurial-scm.org/show_bug.cgi?id=4483
@@ -19,23 +19,23 @@ DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:. @@ -19,23 +19,23 @@ DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:.
19USE_TOOLS+= gmake msgfmt 19USE_TOOLS+= gmake msgfmt
20 20
21INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 21INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
22INSTALLATION_DIRS+= share/doc/mercurial 22INSTALLATION_DIRS+= share/doc/mercurial
23 23
24.include "Makefile.version" 24.include "Makefile.version"
25 25
26# Known test failures: 26# Known test failures:
27# test-status-color.t: 27# test-status-color.t:
28# https://bz.mercurial-scm.org/show_bug.cgi?id=5698 28# https://bz.mercurial-scm.org/show_bug.cgi?id=5698
29# test-run-tests.t: 29# test-run-tests.t:
30# https://bz.mercurial-scm.org/show_bug.cgi?id=5735 30# https://bz.mercurial-scm.org/show_bug.cgi?id=5735
31do-test: 31do-test:
32 cd ${WRKSRC} && make tests PYTHON=${PYTHONBIN} 32 cd ${WRKSRC} && make tests PYTHON=${PYTHONBIN} TESTFLAGS=${_MAKE_JOBS:Q}
33 33
34post-install: 34post-install:
35 ${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 35 ${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
36 ${INSTALL_DATA} ${WRKSRC}/doc/*.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 36 ${INSTALL_DATA} ${WRKSRC}/doc/*.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
37 ${INSTALL_DATA} ${WRKSRC}/README.rst \ 37 ${INSTALL_DATA} ${WRKSRC}/README.rst \
38 ${DESTDIR}${PREFIX}/share/doc/mercurial 38 ${DESTDIR}${PREFIX}/share/doc/mercurial
39 39
40.include "../../lang/python/distutils.mk" 40.include "../../lang/python/distutils.mk"
41.include "../../mk/bsd.pkg.mk" 41.include "../../mk/bsd.pkg.mk"