4b4f202844
This is the successor of py-pep8. pycodestyle is a tool to check your Python code against some of the style conventions in PEP 8.
22 lines
585 B
Makefile
22 lines
585 B
Makefile
# $NetBSD: Makefile,v 1.1 2016/09/30 10:36:13 wiz Exp $
|
|
|
|
DISTNAME= pycodestyle-2.0.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycodestyle/}
|
|
|
|
MAINTAINER= wenheping@gmail.com
|
|
HOMEPAGE= http://github.com/PyCQA/pycodestyle
|
|
COMMENT= Python style guide checker
|
|
LICENSE= mit
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && mv pycodestyle pycodestyle-${PYVERSSUFFIX}
|
|
|
|
do-test:
|
|
cd ${WRKSRC}; ${SETENV} ${TEST_ENV} ${PYTHONBIN} setup.py test
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|