summaryrefslogtreecommitdiff
path: root/devel/py-hg-evolve/Makefile
blob: 636813dafed287f066e24df391f967ba0546b7bb (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
# $NetBSD: Makefile,v 1.33 2022/11/09 13:14:09 joerg Exp $
#
# Release notes:
# https://lists.mercurial-scm.org/pipermail/mercurial-evolve-testers/

DISTNAME=	hg-evolve-10.5.2
PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/post//}
CATEGORIES=	devel scm
MASTER_SITES=	${MASTER_SITE_PYPI:=h/hg-evolve/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://www.mercurial-scm.org/doc/evolution/
COMMENT=	Experimental Mercurial extensions from Facebook
LICENSE=	gnu-gpl-v2

DEPENDS+=	${PYPKGPREFIX}-mercurial>=5.4nb1:../../devel/py-mercurial
DEPENDS+=	${PYPKGPREFIX}-sqlite3>=0:../../databases/py-sqlite3
TEST_DEPENDS+=	curl-[0-9]*:../../www/curl

USE_TOOLS+=	bash:test

PYTHON_VERSIONS_INCOMPATIBLE=	27

post-install:
	rm -f ${DESTDIR}${PREFIX}/${PYSITELIB}/hgext3rd/__init__.py*
	rm -f ${DESTDIR}${PREFIX}/${PYSITELIB}/hgext3rd/__pycache__/__init__.*

# Test status as of 10.1.0 with mercurial 5.6:
# Failed test-check-compat-strings.t: output changed
# Failed test-check-debian.t: output changed
# Failed test-evolve-content-divergent-case-A2.t: output changed
# Ran 194 tests, 4 skipped, 3 failed.

.if 0
HG_WRKSRC=	cd ../py-mercurial && ${MAKE} show-var VARNAME=WRKSRC

do-test:
	HGROOT=${HG_WRKSRC:sh}; cd ${WRKSRC}/tests && ${PYTHONBIN} $${HGROOT}/tests/run-tests.py ${_MAKE_JOBS:Q}
.endif

.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"