| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.73 2022/07/17 09:51:33 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.74 2022/09/09 17:24:40 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,44 +20,47 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0 | | | @@ -20,44 +20,47 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0 |
20 | | | 20 | |
21 | USE_TOOLS+= gmake msgfmt | | 21 | USE_TOOLS+= gmake msgfmt |
22 | | | 22 | |
23 | INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 | | 23 | INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 |
24 | INSTALLATION_DIRS+= share/doc/mercurial | | 24 | INSTALLATION_DIRS+= share/doc/mercurial |
25 | | | 25 | |
26 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | | 26 | PYTHON_VERSIONS_INCOMPATIBLE= 27 |
27 | PYTHON_SELF_CONFLICT= yes | | 27 | PYTHON_SELF_CONFLICT= yes |
28 | | | 28 | |
29 | .include "version.mk" | | 29 | .include "version.mk" |
30 | .include "options.mk" | | 30 | .include "options.mk" |
31 | | | 31 | |
32 | USE_TOOLS+= bash:test | | 32 | USE_TOOLS+= bash:test |
33 | # Known test failures as of 6.2 | | 33 | # Known test failures as of 6.2.2 |
34 | # test-run-tests.t | | 34 | # test-run-tests.t |
35 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6661 | | 35 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6661 |
36 | # test-http-bad-server.t | | 36 | # test-http-bad-server.t |
37 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6643 | | 37 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6643 |
38 | # test-https.t | | 38 | # test-https.t |
39 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6726 | | 39 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6726 |
| | | 40 | # test-issue6528.t |
| | | 41 | # test-revlog.t |
| | | 42 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6740 |
| | | 43 | # test-hgrc.t |
| | | 44 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6741 |
40 | # test-removeemptydirs.t | | 45 | # test-removeemptydirs.t |
41 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6587 | | 46 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6587 |
42 | # test-status-tracked-key.t | | 47 | # test-status-tracked-key.t |
43 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6662 | | 48 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6662 |
44 | # test-revlog.t | | | |
45 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6716 | | | |
46 | # test-patchbomb-tls.t: | | 49 | # test-patchbomb-tls.t: |
47 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6727 | | 50 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6727 |
48 | # test-demandimport.py: | | 51 | # test-demandimport.py: |
49 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6680 | | 52 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6680 |
50 | # | | 53 | # |
51 | # Ran 889 tests, 83 skipped, 8 failed. | | 54 | # Ran 890 tests, 83 skipped, 10 failed. |
52 | | | 55 | |
53 | TEST_TARGET= tests | | 56 | TEST_TARGET= tests |
54 | TEST_MAKE_FLAGS+= PYTHON=${PYTHONBIN} TESTFLAGS=${_MAKE_JOBS:Q} | | 57 | TEST_MAKE_FLAGS+= PYTHON=${PYTHONBIN} TESTFLAGS=${_MAKE_JOBS:Q} |
55 | | | 58 | |
56 | post-install: | | 59 | post-install: |
57 | ${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 | | 60 | ${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 |
58 | ${INSTALL_DATA} ${WRKSRC}/doc/*.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 | | 61 | ${INSTALL_DATA} ${WRKSRC}/doc/*.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 |
59 | ${INSTALL_DATA} ${WRKSRC}/README.rst \ | | 62 | ${INSTALL_DATA} ${WRKSRC}/README.rst \ |
60 | ${DESTDIR}${PREFIX}/share/doc/mercurial | | 63 | ${DESTDIR}${PREFIX}/share/doc/mercurial |
61 | | | 64 | |
62 | .include "../../lang/python/egg.mk" | | 65 | .include "../../lang/python/egg.mk" |
63 | .include "../../mk/bsd.pkg.mk" | | 66 | .include "../../mk/bsd.pkg.mk" |