pkgsrc/devel/py-mercurial/Makefile
wiz 8d821f2637 Updated py-mercurial to 3.8.4.
Update HOMEPAGE and MASTER_SITES.

This is a regularly-scheduled bugfix release.

    bdiff: extend matches across popular lines
    bdiff: remove effectively dead code
    bundle2: don't assume ordering of heads checked after push
    help: document that [subpaths] may rewrite relative paths
    largefiles: fix support for local largefiles while using share extension
    sslutil: synchronize hostname matching logic with CPython
2016-07-02 11:09:37 +00:00

36 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2016/07/02 11:09:37 wiz Exp $
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
# with this dependency, two zip test cases start working
# http://bz.selenic.com/show_bug.cgi?id=4483
# http://bz.selenic.com/show_bug.cgi?id=4485
#BUILD_DEPENDS+= unzip-[0-9]*:../../archivers/unzip
DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses
USE_TOOLS+= gmake msgfmt
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
INSTALLATION_DIRS+= share/doc/mercurial
.include "Makefile.version"
do-test:
cd ${WRKSRC} && make tests PYTHON=${PYTHONBIN}
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/doc/*.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
${INSTALL_DATA} ${WRKSRC}/README \
${DESTDIR}${PREFIX}/share/doc/mercurial
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"