| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.49 2021/02/04 23:15:33 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.50 2021/02/06 09:07:50 wiz Exp $ |
2 | # | | 2 | # |
3 | # Changelog sometimes at: https://www.mercurial-scm.org/wiki/WhatsNew | | 3 | # Changelog sometimes at: https://www.mercurial-scm.org/wiki/WhatsNew |
4 | | | 4 | |
5 | DISTNAME= mercurial-${VERSION} | | 5 | DISTNAME= mercurial-${VERSION} |
6 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | | 6 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
7 | CATEGORIES= devel scm | | 7 | CATEGORIES= devel scm |
8 | MASTER_SITES= https://www.mercurial-scm.org/release/ | | 8 | MASTER_SITES= https://www.mercurial-scm.org/release/ |
9 | | | 9 | |
10 | MAINTAINER= wiz@NetBSD.org | | 10 | MAINTAINER= wiz@NetBSD.org |
11 | HOMEPAGE= https://www.mercurial-scm.org/ | | 11 | HOMEPAGE= https://www.mercurial-scm.org/ |
12 | COMMENT= Fast, lightweight source control management system | | 12 | COMMENT= Fast, lightweight source control management system |
13 | LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # OR newer | | 13 | LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # OR newer |
14 | | | 14 | |
| @@ -20,29 +20,27 @@ DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:. | | | @@ -20,29 +20,27 @@ DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:. |
20 | # via xmlrpc from python itself, used in mercurial/pycompat.py | | 20 | # via xmlrpc from python itself, used in mercurial/pycompat.py |
21 | DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat | | 21 | DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat |
22 | | | 22 | |
23 | TEST_DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 | | 23 | TEST_DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 |
24 | | | 24 | |
25 | USE_TOOLS+= gmake msgfmt | | 25 | USE_TOOLS+= gmake msgfmt |
26 | | | 26 | |
27 | INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 | | 27 | INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 |
28 | INSTALLATION_DIRS+= share/doc/mercurial | | 28 | INSTALLATION_DIRS+= share/doc/mercurial |
29 | | | 29 | |
30 | .include "version.mk" | | 30 | .include "version.mk" |
31 | .include "options.mk" | | 31 | .include "options.mk" |
32 | | | 32 | |
33 | # Known test failures as of 5.6.1 | | 33 | # Known test failures as of 5.7 |
34 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6452 | | | |
35 | # Needed since 5.6 for one test only, see | | | |
36 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6429 | | 34 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6429 |
37 | USE_TOOLS+= bash:test | | 35 | USE_TOOLS+= bash:test |
38 | # Two tests use "python": | | 36 | # Two tests use "python": |
39 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6480 | | 37 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6480 |
40 | # | | 38 | # |
41 | # Ran 868 tests, 80 skipped, 2 failed. | | 39 | # Ran 868 tests, 80 skipped, 2 failed. |
42 | | | 40 | |
43 | TEST_TARGET= tests | | 41 | TEST_TARGET= tests |
44 | TEST_MAKE_FLAGS+= PYTHON=${PYTHONBIN} TESTFLAGS=${_MAKE_JOBS:Q} | | 42 | TEST_MAKE_FLAGS+= PYTHON=${PYTHONBIN} TESTFLAGS=${_MAKE_JOBS:Q} |
45 | | | 43 | |
46 | post-install: | | 44 | post-install: |
47 | ${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 | | 45 | ${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 |
48 | ${INSTALL_DATA} ${WRKSRC}/doc/*.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 | | 46 | ${INSTALL_DATA} ${WRKSRC}/doc/*.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 |