7f64b807d2
After installing it, when you run tests with the option: py.test --flake8 every file ending in .py will be discovered and checked with flake8.
19 lines
575 B
Makefile
19 lines
575 B
Makefile
# $NetBSD: Makefile,v 1.1 2017/08/21 15:35:11 adam Exp $
|
|
|
|
DISTNAME= pytest-flake8-0.8.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-flake8/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/tholo/pytest-flake8
|
|
COMMENT= Plugin plugin to check FLAKE8 requirements
|
|
LICENSE= modified-bsd
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-flake8>=3.0:../../devel/py-flake8
|
|
DEPENDS+= ${PYPKGPREFIX}-test>=2.8:../../devel/py-test
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|