| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.82 2023/04/23 08:39:15 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.83 2023/05/07 11:57:39 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,39 +19,39 @@ DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:.. | | | @@ -19,39 +19,39 @@ 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_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 | | | 30 | |
31 | USE_TOOLS+= bash:test | | 31 | USE_TOOLS+= bash:test |
32 | # Known test failures as of 6.4.2 | | 32 | # Known test failures as of 6.4.3 |
33 | # test-remotefilelog-gc.t | | 33 | # test-remotefilelog-gc.t |
34 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6783 | | 34 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6783 |
35 | # test-push-cgi.t, test-oldcgi.t, test-newcgi.t, test-newercgi.t, test-clone-cgi.t | | 35 | # test-push-cgi.t, test-oldcgi.t, test-newcgi.t, test-newercgi.t, test-clone-cgi.t |
36 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6784 | | 36 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6784 |
37 | # test-patchbomb-tls.t: | | 37 | # test-patchbomb-tls.t: |
38 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6727 | | 38 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6727 |
39 | # test-demandimport.py | | 39 | # test-demandimport.py |
40 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6786 | | 40 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6786 |
41 | # test-revlog-delta-find.t | | 41 | # test-revlog-delta-find.t |
42 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6808 | | 42 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6808 |
43 | # (fixed in pkgsrc) | | 43 | # (fixed in pkgsrc) |
44 | # | | 44 | # |
45 | # Ran 920 tests, 82 skipped, 8 failed. | | 45 | # Ran 921 tests, 82 skipped, 8 failed. |
46 | | | 46 | |
47 | TEST_TARGET= tests | | 47 | TEST_TARGET= tests |
48 | TEST_MAKE_FLAGS+= PYTHON=${PYTHONBIN} TESTFLAGS=${_MAKE_JOBS:Q} | | 48 | TEST_MAKE_FLAGS+= PYTHON=${PYTHONBIN} TESTFLAGS=${_MAKE_JOBS:Q} |
49 | | | 49 | |
50 | post-install: | | 50 | post-install: |
51 | ${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 | | 51 | ${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 |
52 | ${INSTALL_DATA} ${WRKSRC}/doc/*.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 | | 52 | ${INSTALL_DATA} ${WRKSRC}/doc/*.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 |
53 | ${INSTALL_DATA} ${WRKSRC}/README.rst \ | | 53 | ${INSTALL_DATA} ${WRKSRC}/README.rst \ |
54 | ${DESTDIR}${PREFIX}/share/doc/mercurial | | 54 | ${DESTDIR}${PREFIX}/share/doc/mercurial |
55 | | | 55 | |
56 | .include "../../lang/python/egg.mk" | | 56 | .include "../../lang/python/egg.mk" |
57 | .include "../../mk/bsd.pkg.mk" | | 57 | .include "../../mk/bsd.pkg.mk" |