diff options
author | wiz <wiz@pkgsrc.org> | 2016-09-30 10:36:13 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2016-09-30 10:36:13 +0000 |
commit | 333392d295779a3838425ec5a49bb2689dfa7926 (patch) | |
tree | caf4cdc7785ca5453616f8f05713eb291081df42 | |
parent | 7d001c4ec82ec5ff74407ad819e3c65a88e9cf78 (diff) | |
download | pkgsrc-333392d295779a3838425ec5a49bb2689dfa7926.tar.gz |
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.
-rw-r--r-- | devel/py-codestyle/ALTERNATIVES | 1 | ||||
-rw-r--r-- | devel/py-codestyle/DESCR | 2 | ||||
-rw-r--r-- | devel/py-codestyle/Makefile | 22 | ||||
-rw-r--r-- | devel/py-codestyle/PLIST | 12 | ||||
-rw-r--r-- | devel/py-codestyle/distinfo | 6 |
5 files changed, 43 insertions, 0 deletions
diff --git a/devel/py-codestyle/ALTERNATIVES b/devel/py-codestyle/ALTERNATIVES new file mode 100644 index 00000000000..d47b8044d7d --- /dev/null +++ b/devel/py-codestyle/ALTERNATIVES @@ -0,0 +1 @@ +bin/pycodestyle @PREFIX@/bin/pycodestyle-@PYVERSSUFFIX@ diff --git a/devel/py-codestyle/DESCR b/devel/py-codestyle/DESCR new file mode 100644 index 00000000000..8b955a78004 --- /dev/null +++ b/devel/py-codestyle/DESCR @@ -0,0 +1,2 @@ +pycodestyle is a tool to check your Python code against some of +the style conventions in PEP 8. diff --git a/devel/py-codestyle/Makefile b/devel/py-codestyle/Makefile new file mode 100644 index 00000000000..782fc4596f9 --- /dev/null +++ b/devel/py-codestyle/Makefile @@ -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" diff --git a/devel/py-codestyle/PLIST b/devel/py-codestyle/PLIST new file mode 100644 index 00000000000..68eb855ee72 --- /dev/null +++ b/devel/py-codestyle/PLIST @@ -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 diff --git a/devel/py-codestyle/distinfo b/devel/py-codestyle/distinfo new file mode 100644 index 00000000000..0cc8285be4b --- /dev/null +++ b/devel/py-codestyle/distinfo @@ -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 |