| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.66 2022/01/29 07:23:59 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.67 2022/02/15 10:21:30 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 | |
| @@ -19,30 +19,45 @@ DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:.. | | | @@ -19,30 +19,45 @@ DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:.. |
19 | TEST_DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 | | 19 | TEST_DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 |
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_SELF_CONFLICT= yes | | 26 | PYTHON_SELF_CONFLICT= yes |
27 | | | 27 | |
28 | .include "version.mk" | | 28 | .include "version.mk" |
29 | .include "options.mk" | | 29 | .include "options.mk" |
30 | | | 30 | |
31 | USE_TOOLS+= bash:test | | 31 | USE_TOOLS+= bash:test |
32 | # Known test failures as of 6.0.1 | | 32 | # Known test failures as of 6.0.2 |
33 | # test-removeemptydirs.t | | 33 | # test-removeemptydirs.t |
34 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6587 | | 34 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6587 |
| | | 35 | # test-http-bad-server.t |
| | | 36 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6643 |
| | | 37 | # test-wireproto-content-redirects.t |
| | | 38 | # test-http-protocol.t |
| | | 39 | # test-wireproto-command-capabilities.t |
| | | 40 | # test-http-api-httpv2.t |
| | | 41 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6644 |
| | | 42 | # test-https.t |
| | | 43 | # test-patchbomb-tls.t |
| | | 44 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6645 |
| | | 45 | # test-paths.t |
| | | 46 | # test-hgrc.t |
| | | 47 | # test-parseindex.t |
| | | 48 | # test-patchbomb-tls.t |
| | | 49 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6646 |
35 | # | | 50 | # |
36 | # Ran 899 tests, 81 skipped, 1 failed. | | 51 | # Ran 899 tests, 81 skipped, 11 failed. |
37 | | | 52 | |
38 | TEST_TARGET= tests | | 53 | TEST_TARGET= tests |
39 | TEST_MAKE_FLAGS+= PYTHON=${PYTHONBIN} TESTFLAGS=${_MAKE_JOBS:Q} | | 54 | TEST_MAKE_FLAGS+= PYTHON=${PYTHONBIN} TESTFLAGS=${_MAKE_JOBS:Q} |
40 | | | 55 | |
41 | post-install: | | 56 | post-install: |
42 | ${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 | | 57 | ${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 |
43 | ${INSTALL_DATA} ${WRKSRC}/doc/*.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 | | 58 | ${INSTALL_DATA} ${WRKSRC}/doc/*.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 |
44 | ${INSTALL_DATA} ${WRKSRC}/README.rst \ | | 59 | ${INSTALL_DATA} ${WRKSRC}/README.rst \ |
45 | ${DESTDIR}${PREFIX}/share/doc/mercurial | | 60 | ${DESTDIR}${PREFIX}/share/doc/mercurial |
46 | | | 61 | |
47 | .include "../../lang/python/egg.mk" | | 62 | .include "../../lang/python/egg.mk" |
48 | .include "../../mk/bsd.pkg.mk" | | 63 | .include "../../mk/bsd.pkg.mk" |