--- pep8-1.6.2.orig/debian/changelog +++ pep8-1.6.2/debian/changelog @@ -0,0 +1,106 @@ +pep8 (1.6.2-0.1) unstable; urgency=medium + + * Non-maintainer upload. + * New upstream release (Closes: #788117). + + -- Daniel Stender Tue, 28 Jul 2015 16:04:09 +0200 + +pep8 (1.5.7-2) unstable; urgency=medium + + * Reinsert missing changelog entry. + + -- David Watson Wed, 23 Jul 2014 13:12:38 +0100 + +pep8 (1.5.7-1) unstable; urgency=medium + + [ David Watson ] + * New upstream release. (Closes: #754985) + * Remove python3-all-dev build-dep. (Closes: #751538) + * Update standards version. + + [ Michael Prokop ] + * Update manpage. (Closes: #749468) + + -- David Watson Wed, 23 Jul 2014 10:04:53 +0100 + +pep8 (1.4.6-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Use python3* dependencies in the python3-pep8 package. (Closes: #721157) + + -- Dmitrijs Ledkovs Thu, 02 Oct 2013 09:53:08 +0100 + +pep8 (1.4.6-1) unstable; urgency=low + + [ David Watson ] + * New upstream release + + [ Thomas Goirand ] + * Added support for python3. (Closes: #694564) + + -- David Watson Wed, 21 Aug 2013 10:47:20 +0100 + +pep8 (1.4.5-1) unstable; urgency=low + + * New upstream release. (Closes: #712086) + + -- David Watson Thu, 13 Jun 2013 14:54:03 +0100 + +pep8 (1.4.4-1) unstable; urgency=low + + * New upstream release. (Closes: #694443) + + -- David Watson Wed, 06 Mar 2013 13:52:24 +0000 + +pep8 (1.2-1) unstable; urgency=low + + * New upstream release + + -- David Watson Wed, 20 Jun 2012 15:37:05 +0100 + +pep8 (1.0.1-1) unstable; urgency=low + + * New upstream release. + * Update Standards version, no changes needed. + + -- David Watson Thu, 26 Apr 2012 17:22:13 +0100 + +pep8 (0.6.1-2) unstable; urgency=low + + * Revert depends change. (Closes: #637920) + * Update Standards version, no changes needed. + + -- David Watson Mon, 15 Aug 2011 20:56:11 +0100 + +pep8 (0.6.1-1) unstable; urgency=low + + * New upstream release. (Closes: #635562) + * Remove depends on python-setuptools. (Closes: #581019) + * Update Standards version, no changes needed. + + -- David Watson Sat, 06 Aug 2011 21:27:14 +0100 + +pep8 (0.5.0-1) unstable; urgency=low + + * New upstream release + * Updated Standards version, no changes needed. + + -- David Watson Wed, 16 Mar 2010 19:18:00 +0000 + +pep8 (0.4.2-3) unstable; urgency=low + + * Improve short and long descriptions. (Closes: #554944) + + -- David Watson Fri, 22 Jan 2010 16:30:48 +0000 + +pep8 (0.4.2-2) unstable; urgency=low + + * Add missing depends on python-setuptools. Closes (#552259). + + -- David Watson Mon, 26 Oct 2009 10:11:29 +0000 + +pep8 (0.4.2-1) unstable; urgency=low + + * Initial release (Closes: #552081) + + -- David Watson Fri, 23 Oct 2009 10:11:07 +0100 --- pep8-1.6.2.orig/debian/compat +++ pep8-1.6.2/debian/compat @@ -0,0 +1 @@ +7 --- pep8-1.6.2.orig/debian/control +++ pep8-1.6.2/debian/control @@ -0,0 +1,25 @@ +Source: pep8 +Section: python +Priority: optional +Maintainer: David Watson +Build-Depends: debhelper (>= 7), python-all, python3-all, python-setuptools, python3-setuptools +Standards-Version: 3.9.5 +Homepage: http://pypi.python.org/pypi/pep8 + +Package: pep8 +Architecture: all +Depends: ${misc:Depends}, ${python:Depends}, python-setuptools +Description: Python PEP 8 code style checker - python2 + Features a plugin architecture allowing for adding new checks is easily. + Parseable output listing line numbers of the error location. Consists of + just one Python file, and requires only stdlib. + +Package: python3-pep8 +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends}, python3-setuptools +Description: Python PEP 8 code style checker - python3 + Features a plugin architecture allowing for adding new checks is easily. + Parseable output listing line numbers of the error location. Consists of + just one Python file, and requires only stdlib. + . + Python 3 version. --- pep8-1.6.2.orig/debian/copyright +++ pep8-1.6.2/debian/copyright @@ -0,0 +1,43 @@ +This work was packaged for Debian by: + + David Watson on Fri, 23 Oct 2009 10:11:07 +0100 + +It was downloaded from http://pypi.python.org/pypi/pep8 + +Upstream Author: + + Johann C. Rocholl + +Copyright: + + Copyright (C) 2006 Johann C. Rocholl + +License: + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + + +The Debian packaging is: + + Copyright (C) 2009 David Watson + +and is licensed under the GPL version 3, +see `/usr/share/common-licenses/GPL-3'. --- pep8-1.6.2.orig/debian/docs +++ pep8-1.6.2/debian/docs @@ -0,0 +1 @@ +README.rst --- pep8-1.6.2.orig/debian/pep8.1 +++ pep8-1.6.2/debian/pep8.1 @@ -0,0 +1,79 @@ +.TH PEP8 "1" "July 2014" "pep8 1.5.7" "User Commands" +.SH NAME +pep8 \- A tool to check your Python code against some of the style conventions in PEP 8. +.SH SYNOPSIS +.B pep8 +[\fIoptions\fR] \fIinput \fR... +.SH OPTIONS +.TP +\fB\-\-version\fR +show program's version number and exit +.TP +\fB\-h\fR, \fB\-\-help\fR +show this help message and exit +.TP +\fB\-v\fR, \fB\-\-verbose\fR +print status messages, or debug with \fB\-vv\fR +.TP +\fB\-q\fR, \fB\-\-quiet\fR +report only file names, or nothing with \fB\-qq\fR +.TP +\fB\-\-exclude\fR=\fIpatterns\fR +exclude files or directories which match these comma separated patterns (default: .svn,CVS,.bzr,.hg,.git,__pycache__) +.TP +\fB\-\-filename\fR=\fIpatterns\fR +when parsing directories, only check filenames matching these comma separated patterns (default: *.py) +.TP +\fB\-\-select\fR=\fIerrors\fR +select errors and warning (e.g. E,W6) +.TP +\fB\-\-ignore\fR=\fIerrors\fR +skip errors and warnings (e.g. E4,W) +.TP +\fB\-\-first\fR +show first occurrence of each error +.TP +\fB\-r\fR, \fB\-\-repeat\fR +(obsolete) show all occurrences of the same error +.TP +\fB\-\-show\-source\fR +show source code for each error +.TP +\fB\-\-show\-pep8\fR +show text of PEP 8 for each error (implies \-\-first) +.TP +\fB\-\-statistics\fR +count errors and warnings +.TP +\fB\-\-count\fR +print total number of errors and warnings to standard error and set exit code to 1 if total is not null +.TP +\fB\-\-max\-line\-length\fR=\fIn\fR +set maximum allowed line length (default: 79) +.TP +\fB\-\-hang-closing\fR +hang closing bracket instead of matching indentation of opening bracket's line +.TP +\fB\-\-format\fR=\fIformat\fR +set the error format [default|pylint|] +.TP +\fB\-\-diff\fR +report only lines changed accoring to the unified diff received on STDIN +.TP +\fB\-\-benchmark\fR +measure processing speed +.TP +\fB\-\-config\fR=\fIpath\fR +user config file location (default: $HOME/.config/pep8) +.TP +.SH "USAGE EXAMPLES" +.TP +Display how often each error was found: +.sp +% pep8 \-\-statistics \-qq example/lib/ +.TP +Show source code and more verbose explanation from PEP 8: +.sp +% pep8 \-\-show-source \-\-show-pep8 foo.py +.SH AUTHOR +This manual page was written by David Watson and Michael Prokop . --- pep8-1.6.2.orig/debian/pep8.manpages +++ pep8-1.6.2/debian/pep8.manpages @@ -0,0 +1 @@ +debian/pep8.1 --- pep8-1.6.2.orig/debian/rules +++ pep8-1.6.2/debian/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 +PYTHONS:=$(shell pyversions -vr) +PYTHON3S:=$(shell py3versions -vr) + +%: + dh $@ --buildsystem=python_distutils --with python2,python3 + +override_dh_auto_install: + set -e && for pyvers in $(PYTHONS); do \ + python$$pyvers setup.py install --install-layout=deb \ + --root $(CURDIR)/debian/pep8; \ + done + + set -e && for pyvers in $(PYTHON3S); do \ + python$$pyvers setup.py install --install-layout=deb \ + --root $(CURDIR)/debian/python3-pep8; \ + done + rm -r $(CURDIR)/debian/python3-pep8/usr/bin --- pep8-1.6.2.orig/debian/source/format +++ pep8-1.6.2/debian/source/format @@ -0,0 +1 @@ +1.0 --- pep8-1.6.2.orig/debian/watch +++ pep8-1.6.2/debian/watch @@ -0,0 +1,4 @@ +version=3 + +# Current version from Python cheeseshop. +http://pypi.python.org/packages/source/p/pep8/pep8-(.+).tar.gz