blob: 30b9db65f33db60659c5a8ee0b6d7fddd3a489d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# $NetBSD: Makefile,v 1.76 2022/11/25 11:09:07 wiz Exp $
#
# Changelog sometimes at: https://www.mercurial-scm.org/wiki/WhatsNew
DISTNAME= mercurial-${VERSION}
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel scm
MASTER_SITES= https://www.mercurial-scm.org/release/
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= https://www.mercurial-scm.org/
COMMENT= Fast, lightweight source control management system
LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # OR newer
DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses
# via xmlrpc from python itself, used in mercurial/pycompat.py
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
TEST_DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
USE_TOOLS+= gmake msgfmt
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
INSTALLATION_DIRS+= share/doc/mercurial
PYTHON_VERSIONS_INCOMPATIBLE= 27
PYTHON_SELF_CONFLICT= yes
.include "version.mk"
.include "options.mk"
USE_TOOLS+= bash:test
# Known test failures as of 6.3.1
# test-run-tests.t
# https://bz.mercurial-scm.org/show_bug.cgi?id=6661
# test-hghave.t
# https://bz.mercurial-scm.org/show_bug.cgi?id=6762
# test-status-tracked-key.t
# https://bz.mercurial-scm.org/show_bug.cgi?id=6662
# test-patchbomb-tls.t:
# https://bz.mercurial-scm.org/show_bug.cgi?id=6727
# test-demandimport.py:
# https://bz.mercurial-scm.org/show_bug.cgi?id=6680
#
# Ran 901 tests, 82 skipped, 5 failed.
TEST_TARGET= tests
TEST_MAKE_FLAGS+= PYTHON=${PYTHONBIN} TESTFLAGS=${_MAKE_JOBS:Q}
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/doc/*.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
${INSTALL_DATA} ${WRKSRC}/README.rst \
${DESTDIR}${PREFIX}/share/doc/mercurial
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|