| @@ -1,19 +1,20 @@ | | | @@ -1,19 +1,20 @@ |
1 | # $NetBSD: Makefile,v 1.54 2021/05/20 09:08:27 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.55 2021/05/22 23:11:31 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 | PKGREVISION= 1 |
7 | CATEGORIES= devel scm | | 8 | CATEGORIES= devel scm |
8 | MASTER_SITES= https://www.mercurial-scm.org/release/ | | 9 | MASTER_SITES= https://www.mercurial-scm.org/release/ |
9 | | | 10 | |
10 | MAINTAINER= wiz@NetBSD.org | | 11 | MAINTAINER= wiz@NetBSD.org |
11 | HOMEPAGE= https://www.mercurial-scm.org/ | | 12 | HOMEPAGE= https://www.mercurial-scm.org/ |
12 | COMMENT= Fast, lightweight source control management system | | 13 | COMMENT= Fast, lightweight source control management system |
13 | LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # OR newer | | 14 | LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # OR newer |
14 | | | 15 | |
15 | # with this dependency, two zip test cases start working | | 16 | # with this dependency, two zip test cases start working |
16 | # https://bz.mercurial-scm.org/show_bug.cgi?id=4483 | | 17 | # https://bz.mercurial-scm.org/show_bug.cgi?id=4483 |
17 | # https://bz.mercurial-scm.org/show_bug.cgi?id=4485 | | 18 | # https://bz.mercurial-scm.org/show_bug.cgi?id=4485 |
18 | BUILD_DEPENDS+= unzip-[0-9]*:../../archivers/unzip | | 19 | BUILD_DEPENDS+= unzip-[0-9]*:../../archivers/unzip |
19 | DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses | | 20 | DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses |
| @@ -24,29 +25,27 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0 | | | @@ -24,29 +25,27 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0 |
24 | | | 25 | |
25 | USE_TOOLS+= gmake msgfmt | | 26 | USE_TOOLS+= gmake msgfmt |
26 | | | 27 | |
27 | INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 | | 28 | INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 |
28 | INSTALLATION_DIRS+= share/doc/mercurial | | 29 | INSTALLATION_DIRS+= share/doc/mercurial |
29 | | | 30 | |
30 | .include "version.mk" | | 31 | .include "version.mk" |
31 | .include "options.mk" | | 32 | .include "options.mk" |
32 | | | 33 | |
33 | USE_TOOLS+= bash:test | | 34 | USE_TOOLS+= bash:test |
34 | # Known test failures as of 5.8 | | 35 | # Known test failures as of 5.8 |
35 | # test-persistent-nodemap.t | | 36 | # test-persistent-nodemap.t |
36 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6523 | | 37 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6523 |
37 | # test-reject_new_heads.t | | | |
38 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6524 | | | |
39 | # | | 38 | # |
40 | # Ran 878 tests, 81 skipped, 2 failed. | | 39 | # Ran 878 tests, 81 skipped, 1 failed. |
41 | | | 40 | |
42 | TEST_TARGET= tests | | 41 | TEST_TARGET= tests |
43 | TEST_MAKE_FLAGS+= PYTHON=${PYTHONBIN} TESTFLAGS=${_MAKE_JOBS:Q} | | 42 | TEST_MAKE_FLAGS+= PYTHON=${PYTHONBIN} TESTFLAGS=${_MAKE_JOBS:Q} |
44 | | | 43 | |
45 | post-install: | | 44 | post-install: |
46 | ${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 | | 45 | ${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 |
47 | ${INSTALL_DATA} ${WRKSRC}/doc/*.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 | | 46 | ${INSTALL_DATA} ${WRKSRC}/doc/*.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 |
48 | ${INSTALL_DATA} ${WRKSRC}/README.rst \ | | 47 | ${INSTALL_DATA} ${WRKSRC}/README.rst \ |
49 | ${DESTDIR}${PREFIX}/share/doc/mercurial | | 48 | ${DESTDIR}${PREFIX}/share/doc/mercurial |
50 | | | 49 | |
51 | .include "../../lang/python/distutils.mk" | | 50 | .include "../../lang/python/distutils.mk" |
52 | .include "../../mk/bsd.pkg.mk" | | 51 | .include "../../mk/bsd.pkg.mk" |