Package: pyflakes Version: 0.2.1+svn16699-1 Severity: normal Tags: patch The newer revision (17054 [newest revision of pyflakes subtree as of 26th December) includes fixes for newer python features like the "with statement".
I attached a patch for the new release, and one which also converts the package from CDBS to debhelper 7 (which even removes *.pyc files itself). You can also drop pycompat, as this is not required any more (it's not mentioned in Python Policy). Attachments: pyflakes_0.2.1+svn17054-0jak1.diff - Update to newer upstream pyflakes_0.2.1+svn17054-0jak2.diff - Use debhelper 7 -- System Information: Debian Release: 5.0 APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (200, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages pyflakes depends on: ii python 2.5.2-3 An interactive high-level object-o ii python-central 0.6.8 register and build utility for Pyt pyflakes recommends no packages. pyflakes suggests no packages. -- no debconf information -- Julian Andres Klode - Free Software Developer Debian Developer - Contributing Member of SPI Ubuntu Member - Fellow of FSFE Website: http://jak-linux.org/ XMPP: [email protected] Debian: http://www.debian.org/ SPI: http://www.spi-inc.org/ Ubuntu: http://www.ubuntu.com/ FSFE: http://www.fsfe.org/
diff -u pyflakes-0.2.1+svn16699/debian/changelog pyflakes-0.2.1+svn17054/debian/changelog --- pyflakes-0.2.1+svn16699/debian/changelog +++ pyflakes-0.2.1+svn17054/debian/changelog @@ -1,3 +1,10 @@ +pyflakes (0.2.1+svn17054-0jak1) unstable; urgency=low + + * New upstream snapshot + * Remove debian/patches/install_scripts_package.diff, fixed upstream + + -- Julian Andres Klode <[email protected]> Fri, 26 Dec 2008 15:29:20 +0100 + pyflakes (0.2.1+svn16699-1) unstable; urgency=low [ Tristan Seligmann ] @@ -67,7 +74,7 @@ * debian/copyright: + Rewrite to match new proposed Copyright format. * debian/compat: Set to 5. - + -- Kumar Appaiah <[email protected]> Sun, 09 Dec 2007 00:42:09 +0530 pyflakes (0.2.1-2) unstable; urgency=low @@ -86,7 +93,7 @@ * New upstream release * Changed Section to python - + -- Andrew Mitchell <[email protected]> Thu, 13 Oct 2005 02:37:05 +1300 pyflakes (0.2.0-0ubuntu1) breezy; urgency=low diff -u pyflakes-0.2.1+svn16699/debian/patches/series pyflakes-0.2.1+svn17054/debian/patches/series --- pyflakes-0.2.1+svn16699/debian/patches/series +++ pyflakes-0.2.1+svn17054/debian/patches/series @@ -5 +4,0 @@ -install_scripts_package.diff reverted: --- pyflakes-0.2.1+svn16699/debian/patches/install_scripts_package.diff +++ pyflakes-0.2.1+svn16699.orig/debian/patches/install_scripts_package.diff @@ -1,13 +0,0 @@ -Index: b/bin/pyflakes -=================================================================== ---- a/setup.py -+++ b/setup.py -@@ -12,7 +12,7 @@ - maintainer="Moe Aboulkheir", - maintainer_email="[email protected]", - url="http://www.divmod.org/projects/pyflakes", -- packages=["pyflakes"], -+ packages=["pyflakes", "pyflakes/scripts"], - scripts=["bin/pyflakes"], - long_description="""Pyflakes is program to analyze Python programs and detect various errors. It - works by parsing the source file, not importing it, so it is safe to use on diff -u pyflakes-0.2.1+svn16699/debian/patches/always_close_fd.diff pyflakes-0.2.1+svn17054/debian/patches/always_close_fd.diff --- pyflakes-0.2.1+svn16699/debian/patches/always_close_fd.diff +++ pyflakes-0.2.1+svn17054/debian/patches/always_close_fd.diff @@ -1,10 +1,8 @@ -Index: b/bin/pyflakes -=================================================================== --- a/pyflakes/scripts/pyflakes.py +++ b/pyflakes/scripts/pyflakes.py -@@ -34,7 +34,11 @@ - - def checkPath(filename): +@@ -39,7 +39,11 @@ def checkPath(filename): + @return: the number of warnings printed + """ if os.path.exists(filename): - return check(file(filename, 'U').read() + '\n', filename) + fd = file(filename, 'U') @@ -15,3 +13,3 @@ - - def main(args): - warnings = 0 + else: + print >> sys.stderr, '%s: no such file' % (filename,) + return 1
diff -u pyflakes-0.2.1+svn17054/debian/control pyflakes-0.2.1+svn17054/debian/control --- pyflakes-0.2.1+svn17054/debian/control +++ pyflakes-0.2.1+svn17054/debian/control @@ -3,7 +3,7 @@ Priority: optional Maintainer: Python Applications Packaging Team <[email protected]> Uploaders: Tristan Seligmann <[email protected]>, Varun Hiremath <[email protected]>, Sandro Tosi <[email protected]> -Build-Depends: debhelper (>= 5.0.37.2), cdbs (>= 0.4.43), python-central (>= 0.6), python, quilt +Build-Depends: debhelper (>= 7), python-central (>= 0.6), python, quilt XS-Python-Version: current Standards-Version: 3.8.0 Homepage: http://divmod.org/trac/wiki/DivmodPyflakes @@ -14,9 +14,9 @@ Architecture: all XB-Python-Version: ${python:Versions} -Depends: ${python:Depends} +Depends: ${python:Depends}, ${misc:Depends} Description: simple Python source checker Pyflakes is a simple program which checks Python source files for errors. It is similar to PyChecker in scope, but differs in that it does not execute - the modules to check them. This is both safer and faster, although it does + the modules to check them. This is both safer and faster, although it does not perform as many checks. Unlike PyLint, Pyflakes checks only for logical errors in programs; it does not perform any checks on style. diff -u pyflakes-0.2.1+svn17054/debian/rules pyflakes-0.2.1+svn17054/debian/rules --- pyflakes-0.2.1+svn17054/debian/rules +++ pyflakes-0.2.1+svn17054/debian/rules @@ -1,17 +1,16 @@ #!/usr/bin/make -f -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 +include /usr/share/quilt/quilt.make -DEB_PYTHON_SYSTEM=pycentral - -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/python-distutils.mk -include /usr/share/cdbs/1/rules/patchsys-quilt.mk - -DEB_PYTHON_INSTALL_ARGS_ALL += --prefix=/usr - -clean:: - find . -name \*pyc -exec rm '{}' \; +# Build instructions +%: + dh $@ --with python_central + +# Dependency information +build: patch +clean: unpatch +binary-arch: build +binary-indep: build +binary: binary-arch binary-indep PACKAGE = pyflakes SRC_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p') @@ -29 +27,0 @@ - diff -u pyflakes-0.2.1+svn17054/debian/changelog pyflakes-0.2.1+svn17054/debian/changelog --- pyflakes-0.2.1+svn17054/debian/changelog +++ pyflakes-0.2.1+svn17054/debian/changelog @@ -1,7 +1,8 @@ -pyflakes (0.2.1+svn17054-0jak1) unstable; urgency=low +pyflakes (0.2.1+svn17054-0jak2) unstable; urgency=low * New upstream snapshot * Remove debian/patches/install_scripts_package.diff, fixed upstream + * Convert debian/rules to debhelper 7 -- Julian Andres Klode <[email protected]> Fri, 26 Dec 2008 15:29:20 +0100 diff -u pyflakes-0.2.1+svn17054/debian/compat pyflakes-0.2.1+svn17054/debian/compat --- pyflakes-0.2.1+svn17054/debian/compat +++ pyflakes-0.2.1+svn17054/debian/compat @@ -1 +1 @@ -5 +7
signature.asc
Description: Digital signature

