Bug#632306: python-debian: deb822 parser should not treat comments as a paragraph

Jelmer Vernooij jelmer at debian.org
Fri Jul 1 11:04:29 UTC 2011


Package: python-debian
Version: 0.1.20ubuntu1
Severity: normal


Deb822 does not ignore comments at the start of the file, but instead considers it an empty paragraph, like in this file:

# This file is autogenerated. DO NOT EDIT!
# 
# Modifications should be made to debian/control.in instead.
# This file is regenerated automatically in the clean target.

Source: gedit
Section: gnome
Priority: optional
Maintainer: Ubuntu Desktop Team <ubuntu-desktop at lists.ubuntu.com>
XSBC-Original-Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers at lists.alioth.debian.org>
Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers at lists.alioth.debian.org>, Josselin Mouette <joss at debian.org>
Build-Depends: cdbs (>= 0.4.41),
               debhelper (>= 5.0.37.2),
               gnome-pkg-tools (>= 0.10),
               dh-autoreconf,
               gnome-common,
               python-support (>= 0.3),
               intltool (>= 0.40.0),
               gnome-doc-utils (>= 0.9.0),
               gsettings-desktop-schemas-dev,
               gtk-doc-tools (>= 1.0),
               libenchant-dev (>= 1.2.0),
               iso-codes (>= 0.35),
               libsm-dev (>= 2:1.0),
               libxml2-dev (>= 2.5.0),
               libglib2.0-dev (>= 2.28.0),
               libgtk-3-dev (>= 3.1.6),
               libgtksourceview-3.0-dev (>= 3.0.0),
               libpeas-dev (>= 0.7.3),
               libx11-dev,
               python-dev (>= 2.5),
               python-gobject-dev (>= 2.28),
               gobject-introspection,
               libgirepository1.0-dev (>= 0.9.3),
               scrollkeeper,
               liblaunchpad-integration-3.0-dev
Build-Depends-Indep: libglib2.0-doc,
                     libgtk-3-doc,
                     libgtksourceview-3.0-doc
Standards-Version: 3.9.0
XS-Python-Version: >= 2.5
Vcs-Bzr: https://code.launchpad.net/~ubuntu-desktop/gedit/ubuntu
Homepage: http://www.gnome.org/projects/gedit/

Package: gedit
Architecture: any
Depends: ${misc:Depends},
         ${python:Depends},
         ${shlibs:Depends},
         gedit-common (>= ${gnome:Version}),
         gedit-common (<< ${gnome:NextVersion}),
         python-gobject (>= 2.28),
         gir1.2-glib-2.0,
         gir1.2-peas-1.0,
         gir1.2-gtk-3.0,
         iso-codes
Conflicts: gir1.2-gedit-3.0
Breaks: seahorse (<< 2.24),
        seahorse-plugins (<< 2.26),
Recommends: gir1.2-gtksource-3.0,
            zenity,
            yelp
XB-Python-Version: ${python:Versions}
Description: official text editor of the GNOME desktop environment
 gedit is a text editor which supports most standard editor features,
 extending this basic functionality with other features not usually
 found in simple text editors. gedit is a graphical application which
 supports editing multiple text files in one window (known sometimes as
 tabs or MDI).
 .
 gedit fully supports international text through its use of the Unicode
 UTF-8 encoding in edited files. Its core feature set includes syntax
 highlighting of source code, auto indentation and printing and print preview
 support.
 .
 gedit is also extensible through its plugin system, which currently
 includes support for spell checking, comparing files, viewing CVS
 ChangeLogs, and adjusting indentation levels.

Package: gedit-common
Architecture: all
Depends: ${misc:Depends}
Recommends: gedit
Description: official text editor of the GNOME desktop environment (support files)
 gedit is a text editor which supports most standard editor features,
 extending this basic functionality with other features not usually
 found in simple text editors.
 .
 This package contains gedit's architecture-independent support files.

Package: gedit-dev
Architecture: all
Section: devel
Depends: ${misc:Depends},
         gedit (>= ${gnome:Version}),
         gedit (<< ${gnome:NextVersion}),
         libgtksourceview-3.0-dev,
         libpeas-dev
Replaces: gedit-common (<< 2.16.2-3)
Description: official text editor of the GNOME desktop environment (development files)
 gedit is a text editor which supports most standard editor features,
 extending this basic functionality with other features not usually
 found in simple text editors. gedit is a graphical application which
 supports editing multiple text files in one window (known sometimes as
 tabs or MDI).
 .
 gedit fully supports international text through its use of the Unicode
 UTF-8 encoding in edited files. Its core feature set includes syntax
 highlighting of source code, auto indentation and printing and print preview
 support.
 .
 gedit is also extensible through its plugin system, which currently
 includes support for spell checking, comparing files, viewing CVS
 ChangeLogs, and adjusting indentation levels.
 .
 This package is required to build plugins for gedit.

-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 'oneiric'), (100, 'oneiric-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0-1-generic (SMP w/4 CPU cores)
Locale: LANG=en_IE.utf8, LC_CTYPE=en_IE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-debian depends on:
ii  python                    2.7.2-1ubuntu2 interactive high-level object-orie
ii  python-chardet            2.0.1-1        universal character encoding detec
ii  python-support            1.0.13ubuntu1  automated rebuilding support for P

Versions of packages python-debian recommends:
ii  python-apt             0.8.0~exp4ubuntu1 Python interface to libapt-pkg

Versions of packages python-debian suggests:
ii  gpgv                     1.4.11-3ubuntu1 GNU privacy guard - signature veri

-- no debconf information





More information about the pkg-python-debian-maint mailing list