From eb5ba2a2fadab7a7791970eb1eba5f2ebb0c3f23 Mon Sep 17 00:00:00 2001 From: mpi Date: Thu, 18 Aug 2011 14:58:21 +0000 Subject: [PATCH] Import pep8-0.6.1 pep8 is a tool to check your Python code against some of the style conventions in PEP 8. ok benoit@ --- devel/pep8/Makefile | 27 +++++++++++++++++++++++++++ devel/pep8/distinfo | 5 +++++ devel/pep8/pkg/DESCR | 2 ++ devel/pep8/pkg/PLIST | 13 +++++++++++++ 4 files changed, 47 insertions(+) create mode 100644 devel/pep8/Makefile create mode 100644 devel/pep8/distinfo create mode 100644 devel/pep8/pkg/DESCR create mode 100644 devel/pep8/pkg/PLIST diff --git a/devel/pep8/Makefile b/devel/pep8/Makefile new file mode 100644 index 00000000000..33232280e1c --- /dev/null +++ b/devel/pep8/Makefile @@ -0,0 +1,27 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2011/08/18 14:58:21 mpi Exp $ + +COMMENT = python style guide checker + +MODPY_EGG_VERSION = 0.6.1 +DISTNAME = pep8-${MODPY_EGG_VERSION} + +CATEGORIES = devel + +HOMEPAGE = http://github.com/jcrocholl/pep8 + +MAINTAINER = Martin Pieuchot + +# Expat +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM = Yes +PERMIT_DISTFILES_FTP = Yes + +MASTER_SITES = ${MASTER_SITE_PYPI:=p/pep8/} + +MODULES = lang/python + +MODPY_SETUPTOOLS = Yes +NO_REGRESS = Yes + +.include diff --git a/devel/pep8/distinfo b/devel/pep8/distinfo new file mode 100644 index 00000000000..9e7ece0b28b --- /dev/null +++ b/devel/pep8/distinfo @@ -0,0 +1,5 @@ +MD5 (pep8-0.6.1.tar.gz) = STgM32ui4iLoYwywr+KdZg== +RMD160 (pep8-0.6.1.tar.gz) = kjS9d3bvCcwGxvMzUPF1LUnsITU= +SHA1 (pep8-0.6.1.tar.gz) = IGyZQu15pSfbE4kFKsncJyGD6F0= +SHA256 (pep8-0.6.1.tar.gz) = wGVLaDvQwgmH4+dnuwJB2vAU2FTLieyE++1iPjSfruw= +SIZE (pep8-0.6.1.tar.gz) = 21499 diff --git a/devel/pep8/pkg/DESCR b/devel/pep8/pkg/DESCR new file mode 100644 index 00000000000..e44c7bed3da --- /dev/null +++ b/devel/pep8/pkg/DESCR @@ -0,0 +1,2 @@ +pep8 is a tool to check your Python code against some of the style +conventions in PEP 8. diff --git a/devel/pep8/pkg/PLIST b/devel/pep8/pkg/PLIST new file mode 100644 index 00000000000..70b4b3ec000 --- /dev/null +++ b/devel/pep8/pkg/PLIST @@ -0,0 +1,13 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2011/08/18 14:58:21 mpi Exp $ +bin/pep8 +lib/python${MODPY_VERSION}/site-packages/pep8-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/ +lib/python${MODPY_VERSION}/site-packages/pep8-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO +lib/python${MODPY_VERSION}/site-packages/pep8-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt +lib/python${MODPY_VERSION}/site-packages/pep8-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt +lib/python${MODPY_VERSION}/site-packages/pep8-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/entry_points.txt +lib/python${MODPY_VERSION}/site-packages/pep8-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/namespace_packages.txt +lib/python${MODPY_VERSION}/site-packages/pep8-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/not-zip-safe +lib/python${MODPY_VERSION}/site-packages/pep8-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt +lib/python${MODPY_VERSION}/site-packages/pep8-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt +lib/python${MODPY_VERSION}/site-packages/pep8.py +lib/python${MODPY_VERSION}/site-packages/pep8.pyc