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