pkgsrc/devel/py-flake8/Makefile
wiz 2c82705e15 Import py34-flake8-2.2.5 as devel/py-flake8.
Flake8 is a wrapper around these tools:

* PyFlakes
* pep8
* Ned Batchelder's McCabe script

Flake8 runs all the tools by launching the single flake8 script.
It displays the warnings in a per-file, merged output.
2015-01-03 00:05:47 +00:00

24 lines
807 B
Makefile

# $NetBSD: Makefile,v 1.1 2015/01/03 00:05:47 wiz Exp $
DISTNAME= flake8-2.2.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= http://pypi.python.org/packages/source/f/flake8/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://pypi.python.org/pypi/flake8/
COMMENT= Modular source code checker for Python programs
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-flakes>=0.8.1:../../devel/py-flakes
DEPENDS+= ${PYPKGPREFIX}-mccabe-[0-9]*:../../devel/py-mccabe
DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
DEPENDS+= ${PYPKGPREFIX}-pep8-[0-9]*:../../devel/py-pep8
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/flake8 ${DESTDIR}${PREFIX}/bin/flake8-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"