pkgsrc/devel/py-hgview/Makefile

32 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.19 2018/07/03 05:03:11 adam Exp $
DISTNAME= hgview-1.8.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 4
CATEGORIES= devel python
MASTER_SITES= http://download.logilab.org/pub/hgview/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://pypi.python.org/pypi/hgview
COMMENT= Visually navigate in a Mercurial repository history
LICENSE= gnu-gpl-v2
DEPENDS+= ${PYPKGPREFIX}-mercurial>=1.6:../../devel/py-mercurial
DEPENDS+= ${PYPKGPREFIX}-urwid-[0-9]*:../../devel/py-urwid
BUILD_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
BUILD_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
REPLACE_PYTHON= *.py
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 37 # not yet ported as of 1.8.0
USE_TOOLS+= gmake
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/hgview ${DESTDIR}${PREFIX}/bin/hgview${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"
.include "../../x11/py-qt4/buildlink3.mk"
.include "../../x11/qt4-qscintilla/buildlink3.mk"
.include "../../x11/py-qt4-qscintilla/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"