| @@ -1,45 +1,44 @@ | | | @@ -1,45 +1,44 @@ |
1 | # $NetBSD: Makefile,v 1.37 2020/01/04 23:00:27 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.38 2020/01/16 14:32:50 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= mercurial-${VERSION} | | 3 | DISTNAME= mercurial-${VERSION} |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
5 | PKGREVISION= 1 | | | |
6 | CATEGORIES= devel scm | | 5 | CATEGORIES= devel scm |
7 | MASTER_SITES= https://www.mercurial-scm.org/release/ | | 6 | MASTER_SITES= https://www.mercurial-scm.org/release/ |
8 | | | 7 | |
9 | MAINTAINER= wiz@NetBSD.org | | 8 | MAINTAINER= wiz@NetBSD.org |
10 | HOMEPAGE= https://www.mercurial-scm.org/ | | 9 | HOMEPAGE= https://www.mercurial-scm.org/ |
11 | COMMENT= Fast, lightweight source control management system | | 10 | COMMENT= Fast, lightweight source control management system |
12 | LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # OR newer | | 11 | LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # OR newer |
13 | | | 12 | |
14 | # with this dependency, two zip test cases start working | | 13 | # with this dependency, two zip test cases start working |
15 | # https://bz.mercurial-scm.org/show_bug.cgi?id=4483 | | 14 | # https://bz.mercurial-scm.org/show_bug.cgi?id=4483 |
16 | # https://bz.mercurial-scm.org/show_bug.cgi?id=4485 | | 15 | # https://bz.mercurial-scm.org/show_bug.cgi?id=4485 |
17 | BUILD_DEPENDS+= unzip-[0-9]*:../../archivers/unzip | | 16 | BUILD_DEPENDS+= unzip-[0-9]*:../../archivers/unzip |
18 | DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses | | 17 | DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses |
19 | | | 18 | |
20 | TEST_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat | | 19 | TEST_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat |
21 | TEST_DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 | | 20 | TEST_DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 |
22 | | | 21 | |
23 | USE_TOOLS+= gmake msgfmt | | 22 | USE_TOOLS+= gmake msgfmt |
24 | | | 23 | |
25 | INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 | | 24 | INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 |
26 | INSTALLATION_DIRS+= share/doc/mercurial | | 25 | INSTALLATION_DIRS+= share/doc/mercurial |
27 | | | 26 | |
28 | .include "version.mk" | | 27 | .include "version.mk" |
29 | | | 28 | |
30 | # Known test failures: | | 29 | # Known test failures: |
31 | # none as of 5.2 | | 30 | # none as of 5.2.2 |
32 | # Ran 817 tests, 79 skipped, 0 failed. | | 31 | # Ran 820 tests, 76 skipped, 0 failed. |
33 | # | | 32 | # |
34 | # test-narrow-shallow (sometimes): | | 33 | # test-narrow-shallow (sometimes): |
35 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6150 | | 34 | # https://bz.mercurial-scm.org/show_bug.cgi?id=6150 |
36 | do-test: | | 35 | do-test: |
37 | cd ${WRKSRC} && make tests PYTHON=${PYTHONBIN} TESTFLAGS=${_MAKE_JOBS:Q} | | 36 | cd ${WRKSRC} && make tests PYTHON=${PYTHONBIN} TESTFLAGS=${_MAKE_JOBS:Q} |
38 | | | 37 | |
39 | post-install: | | 38 | post-install: |
40 | ${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 | | 39 | ${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 |
41 | ${INSTALL_DATA} ${WRKSRC}/doc/*.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 | | 40 | ${INSTALL_DATA} ${WRKSRC}/doc/*.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5 |
42 | ${INSTALL_DATA} ${WRKSRC}/README.rst \ | | 41 | ${INSTALL_DATA} ${WRKSRC}/README.rst \ |
43 | ${DESTDIR}${PREFIX}/share/doc/mercurial | | 42 | ${DESTDIR}${PREFIX}/share/doc/mercurial |
44 | | | 43 | |
45 | .include "../../lang/python/distutils.mk" | | 44 | .include "../../lang/python/distutils.mk" |