blob: ec4cf610ad1454264fd02e9c5b1fe59b34d2e336 (
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
|
# $NetBSD: Makefile,v 1.3 2014/05/09 07:37:02 wiz 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 34 # 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"
|