a800930359
2.7.0: Changes: * Fix physical checks (such as W191) at end of file. * Add ``--indent-size`` option (defaulting to ``4``). * W605: fix escaped crlf false positive on windows.
23 lines
585 B
Makefile
23 lines
585 B
Makefile
# $NetBSD: Makefile,v 1.8 2021/03/15 07:20:35 adam Exp $
|
|
|
|
DISTNAME= pycodestyle-2.7.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycodestyle/}
|
|
|
|
MAINTAINER= wenheping@gmail.com
|
|
HOMEPAGE= https://github.com/PyCQA/pycodestyle
|
|
COMMENT= Python style guide checker
|
|
LICENSE= mit
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} pycodestyle pycodestyle-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${PYTHONBIN} -m unittest -v
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|