Import py-codestyle-2.0.0 as devel/py-codestyle.

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.
This commit is contained in:
wiz 2016-09-30 10:36:13 +00:00
parent c54f108685
commit 4b4f202844
5 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1 @@
bin/pycodestyle @PREFIX@/bin/pycodestyle-@PYVERSSUFFIX@

2
devel/py-codestyle/DESCR Normal file
View file

@ -0,0 +1,2 @@
pycodestyle is a tool to check your Python code against some of
the style conventions in PEP 8.

View file

@ -0,0 +1,22 @@
# $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"

12
devel/py-codestyle/PLIST Normal file
View file

@ -0,0 +1,12 @@
@comment $NetBSD: PLIST,v 1.1 2016/09/30 10:36:13 wiz Exp $
bin/pycodestyle-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/pycodestyle.py
${PYSITELIB}/pycodestyle.pyc
${PYSITELIB}/pycodestyle.pyo

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2016/09/30 10:36:13 wiz Exp $
SHA1 (pycodestyle-2.0.0.tar.gz) = 498a91b4e93a7e656d15b7166014de994adf388f
RMD160 (pycodestyle-2.0.0.tar.gz) = 2e96f05c6bfc5f91e35e0534042147697f98559c
SHA512 (pycodestyle-2.0.0.tar.gz) = c003a75bb8873d8ec09cbaf7391c75ebd4739eeab518bbea03c8b2cdc18839773190352166ded78d32992adb56895ee1502003bca11b2d63676c10facb879ac8
Size (pycodestyle-2.0.0.tar.gz) = 81701 bytes