pkgsrc/devel/py-pylint/Makefile
2014-03-12 01:35:52 +00:00

43 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.2 2014/03/12 01:35:52 rodent Exp $
DISTNAME= pylint-1.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= https://pypi.python.org/packages/source/p/pylint/
MAINTAINER= helgoman@users.sourceforge.net
HOMEPAGE= http://www.logilab.org/project/pylint
COMMENT= Python code static checker
LICENSE= gnu-gpl-v2
DEPENDS+= ${PYPKGPREFIX}-Tk-[0-9]*:../../x11/py-Tk
DEPENDS+= ${PYPKGPREFIX}-astroid>=1.0.1:../../devel/py-astroid
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-mxDateTime via py-logilab-common
USE_LANGUAGES= # none
DOCDIR= ${PREFIX}/share/doc/pylint
INSTALLATION_DIRS= ${DOCDIR} ${PKGMANDIR}/man1
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
REPLACE_PYTHON+= __main__.py test/input/noext
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/epylint \
${DESTDIR}${PREFIX}/bin/epylint${PYVERSSUFFIX}
${MV} ${DESTDIR}${PREFIX}/bin/pylint \
${DESTDIR}${PREFIX}/bin/pylint${PYVERSSUFFIX}
${MV} ${DESTDIR}${PREFIX}/bin/pylint-gui \
${DESTDIR}${PREFIX}/bin/pylint-gui${PYVERSSUFFIX}
${MV} ${DESTDIR}${PREFIX}/bin/pyreverse \
${DESTDIR}${PREFIX}/bin/pyreverse${PYVERSSUFFIX}
${MV} ${DESTDIR}${PREFIX}/bin/symilar \
${DESTDIR}${PREFIX}/bin/symilar${PYVERSSUFFIX}
${INSTALL_MAN} ${WRKSRC}/man/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
BUILDLINK_API_DEPENDS.py-logilab-common+= ${PYPKGPREFIX}-logilab-common>=0.53.0
.include "../../devel/py-logilab-common/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"