From a23e46838f2c11d086f0edf3b968b15e7f3dd026 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20O=C5=BCarowski?= <piotr@debian.org>
Date: Sun, 11 Jul 2010 18:04:48 +0200
Subject: [PATCH] Standards-Version bumped to 3.9.0: - some packages moved from
 Conflicts to versioned Breaks - Homepage field added

---
 debian/changelog  |  5 ++++-
 debian/control    | 52 ++++++++++++++++++++++++-----------------------
 debian/control.in | 40 +++++++++++++++++++-----------------
 pyclean           |  2 +-
 4 files changed, 53 insertions(+), 46 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 05adfd2..4c456c7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,9 @@ python-defaults (2.6.5-6) unstable; urgency=low
   * python-doc now suggests python-examples (closes: #585774)
   * python package doesn't conflict with python2.1 and python2.3 anymore (2.1
     and 2.3 are no longer in Debian)
+  * Standards-Version bumped to 3.9.0:
+    - some packages moved from Conflicts to versioned Breaks
+    - Homepage field added
 
   [ Scott Kitterman ]
   * Merge changes back from Ubuntu package:
@@ -27,7 +30,7 @@ python-defaults (2.6.5-6) unstable; urgency=low
   * Update hard coded fallbacks in debian/pyversions.py to add python2.6 to
     supported versions and to make it the default version
 
- -- Piotr Ożarowski <piotr@debian.org>  Sun, 11 Jul 2010 14:28:47 +0200
+ -- Piotr Ożarowski <piotr@debian.org>  Sun, 11 Jul 2010 17:08:19 +0200
 
 python-defaults (2.6.5-5) unstable; urgency=medium
 
diff --git a/debian/control b/debian/control
index 5ad34cc..5dddd31 100644
--- a/debian/control
+++ b/debian/control
@@ -5,19 +5,21 @@ Maintainer: Matthias Klose <doko@debian.org>
 Uploaders: Scott Kitterman <scott@kitterman.com>, Piotr Ożarowski <piotr@debian.org>
 Build-Depends: debhelper (>= 6.0.7~)
 Build-Depends-Indep: libhtml-tree-perl, debiandoc-sgml, python-docutils (>= 0.4-3)
-Standards-Version: 3.8.4
+Standards-Version: 3.9.0
+Homepage: http://www.python.org/
 Vcs-Bzr: http://alioth.debian.org/anonscm/bzr/pkg-python/python-defaults-debian
 Vcs-Browser: http://alioth.debian.org/scm/loggerhead/pkg-python/python-defaults-debian/files
 
 Package: python
 Architecture: all
 Priority: standard
-Depends: ${misc:Depends}, python2.6 (>= 2.6.5+20100616-1~), python-minimal (= ${binary:Version})
-Conflicts: python-xmlbase, python-csv, python-bz2, python-base, python-central (<< 0.5.5)
-Replaces: python-xmlbase, python-base, python-dev (<< 2.6.5-2)
-Provides: python-email, python-xmlbase, python-plistlib, python-ctypes, python-wsgiref
+Depends: ${misc:Depends}, python2.6 (>= 2.6.5+20100630-2~), python-minimal (= ${binary:Version})
 Suggests: python-doc (= ${binary:Version}), python-tk (= ${binary:Version}), python-profiler (= ${binary:Version})
-Description: An interactive high-level object-oriented language (default version)
+Conflicts: python-central (<< 0.5.5)
+Breaks: python-csv (<< 1.0-4), python-bz2 (<< 1.1-8), python-email (<< 2.5.5-3)
+Replaces: python-dev (<< 2.6.5-2)
+Provides: python-email, python-ctypes, python-wsgiref
+Description: interactive high-level object-oriented language (default version)
  Python, the high-level, interactive object oriented language,
  includes an extensive class library with lots of goodies for
  network programming, system administration, sounds and graphics.
@@ -28,12 +30,12 @@ Description: An interactive high-level object-oriented language (default version
 Package: python-minimal
 Architecture: all
 Priority: standard
-Depends: ${misc:Depends}, python2.6-minimal (>= 2.6.5+20100616-1~), dpkg (>= 1.13.20)
-Conflicts: python (<= 2.4-1), python-central (<< 0.5.5)
-Replaces: python (<= 2.4-1)
+Depends: ${misc:Depends}, python2.6-minimal (>= 2.6.5+20100630-2~), dpkg (>= 1.13.20)
 Recommends: python
-Breaks: python-dev (<< 2.6), python-dbg (<< 2.6), python-all (<< 2.6), python-all-dev (<< 2.6), python-all-dbg (<< 2.6), python-examples (<< 2.6), idle (<< 2.6), python2.5-minimal (<< 2.5.5-3), python2.6-minimal (<< 2.6.5~rc2-2), python3.1-minimal (<< 3.1.2~rc1-2)
-Description: A minimal subset of the Python language (default version)
+Conflicts: python-central (<< 0.5.5)
+Breaks: python (<= 2.4-1), python-dev (<< 2.6), python-dbg (<< 2.6), python-all (<< 2.6), python-all-dev (<< 2.6), python-all-dbg (<< 2.6), python-examples (<< 2.6), idle (<< 2.6), python2.5-minimal (<< 2.5.5-3), python2.6-minimal (<< 2.6.5~rc2-2), python3.1-minimal (<< 3.1.2~rc1-2)
+Replaces: python (<= 2.4-1)
+Description: minimal subset of the Python language (default version)
  This package contains the interpreter and some essential modules.  It's used
  in the boot process for some basic tasks.
  See /usr/share/doc/python2.6-minimal/README.Debian for a list of the modules
@@ -41,8 +43,8 @@ Description: A minimal subset of the Python language (default version)
 
 Package: python-examples
 Architecture: all
-Depends: ${misc:Depends}, python (= ${binary:Version}), python2.6-examples (>= 2.6.5+20100616-1~)
-Description: Examples for the Python language (default version)
+Depends: ${misc:Depends}, python (= ${binary:Version}), python2.6-examples (>= 2.6.5+20100630-2~)
+Description: examples for the Python language (default version)
  Examples, Demos and Tools for Python. These are files included in
  the upstream Python distribution.
  .
@@ -51,8 +53,8 @@ Description: Examples for the Python language (default version)
 
 Package: python-dev
 Architecture: all
-Depends: ${misc:Depends}, python (= ${binary:Version}), python2.6-dev (>= 2.6.5+20100616-1~)
-Description: Header files and a static library for Python (default)
+Depends: ${misc:Depends}, python (= ${binary:Version}), python2.6-dev (>= 2.6.5+20100630-2~)
+Description: header files and a static library for Python (default)
  Header files, a static library and development tools for building
  Python modules, extending the Python interpreter or embedding Python
  in applications.
@@ -67,7 +69,7 @@ Package: idle
 Architecture: all
 Depends: ${misc:Depends}, python (= ${binary:Version}), python-tk (>= 2.4.3-3), idle-python2.6
 Enhances: python
-Description: An IDE for Python using Tkinter (default version)
+Description: IDE for Python using Tkinter (default version)
  IDLE is an Integrated Development Environment for Python.
  IDLE is written using Tkinter and therefore quite platform-independent.
  .
@@ -77,11 +79,11 @@ Description: An IDE for Python using Tkinter (default version)
 Package: python-doc
 Section: doc
 Architecture: all
-Depends: ${misc:Depends}, python2.6-doc (>= 2.6.5+20100616-1~)
+Depends: ${misc:Depends}, python2.6-doc (>= 2.6.5+20100630-2~)
 Suggests: python-examples, python (= ${binary:Version})
-Conflicts: python-doc-info, python (<< 2.3.5)
-Replaces: python-doc-info, python (<< 2.3.5)
-Description: Documentation for the high-level object-oriented language Python
+Breaks: python (<< 2.3.5)
+Replaces: python (<< 2.3.5)
+Description: documentation for the high-level object-oriented language Python
  This is the official set of documentation for the interactive high-level
  object-oriented language Python (v2.6). All documents are provided
  in HTML format, some in info format. The package consists of nine documents:
@@ -103,16 +105,16 @@ Package: python-dbg
 Architecture: all
 Section: debug
 Priority: extra
-Depends: ${misc:Depends}, python (= ${binary:Version}), python2.6-dbg (>= 2.6.5+20100616-1~)
+Depends: ${misc:Depends}, python (= ${binary:Version}), python2.6-dbg (>= 2.6.5+20100630-2~)
 Provides: python-gdbm-dbg, python-tk-dbg
-Description: Debug Build of the Python Interpreter (version 2.6)
+Description: debug build of the Python Interpreter (version 2.6)
  Python interpreter configured with --pydebug. Dynamically loaded modules are
  searched in /usr/lib/python2.6/lib-dynload/debug first.
 
 Package: python-all
 Architecture: all
 Depends: ${misc:Depends}, python (= ${binary:Version}), python2.5 (>= 2.5.5-6), python2.6 (>= 2.6.5-2)
-Description: Package depending on all supported Python runtime versions
+Description: package depending on all supported Python runtime versions
  The package currently depends on python2.5 and python2.6, in the future,
  dependencies on jython (Python for a JVM) and ironpython (Python for Mono)
  may be added.
@@ -123,7 +125,7 @@ Description: Package depending on all supported Python runtime versions
 Package: python-all-dev
 Architecture: all
 Depends: ${misc:Depends}, python (= ${binary:Version}), python-all (= ${binary:Version}), python-dev (= ${binary:Version}), python2.5-dev (>= 2.5.5-6), python2.6-dev (>= 2.6.5-2)
-Description: Package depending on all supported Python development packages
+Description: package depending on all supported Python development packages
  The package currently depends on python2.5-dev and python2.6-dev, in the
  future, dependencies on jython (Python for a JVM) and ironpython (Python
  for Mono) may be added.
@@ -136,7 +138,7 @@ Architecture: all
 Section: debug
 Priority: extra
 Depends: ${misc:Depends}, python (= ${binary:Version}), python-all (= ${binary:Version}), python-dbg (= ${binary:Version}), python2.5-dbg (>= 2.5.5-6), python2.6-dbg (>= 2.6.5-2)
-Description: Package depending on all supported Python debugging packages
+Description: package depending on all supported Python debugging packages
  The package currently depends on python2.5-dbg and python2.6-dbg, in the
  future, dependencies on jython (Python for a JVM) and ironpython (Python
  for Mono) may be added.
diff --git a/debian/control.in b/debian/control.in
index 8a34d9a..eaa41f4 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -5,7 +5,8 @@ Maintainer: Matthias Klose <doko@debian.org>
 Uploaders: Scott Kitterman <scott@kitterman.com>, Piotr Ożarowski <piotr@debian.org>
 Build-Depends: debhelper (>= 6.0.7~)
 Build-Depends-Indep: libhtml-tree-perl, debiandoc-sgml, python-docutils (>= 0.4-3)
-Standards-Version: 3.8.4
+Standards-Version: 3.9.0
+Homepage: http://www.python.org/
 Vcs-Bzr: http://alioth.debian.org/anonscm/bzr/pkg-python/python-defaults-debian
 Vcs-Browser: http://alioth.debian.org/scm/loggerhead/pkg-python/python-defaults-debian/files
 
@@ -13,11 +14,12 @@ Package: python
 Architecture: all
 Priority: standard
 Depends: ${misc:Depends}, @PVER@ (>= @PREVVER@), python-minimal (= ${binary:Version})
-Conflicts: python-xmlbase, python-csv, python-bz2, python-base, python-central (<< 0.5.5)
-Replaces: python-xmlbase, python-base, python-dev (<< 2.6.5-2)
-Provides: python-email, python-xmlbase, python-plistlib, python-ctypes, python-wsgiref
 Suggests: python-doc (= ${binary:Version}), python-tk (= ${binary:Version}), python-profiler (= ${binary:Version})
-Description: An interactive high-level object-oriented language (default version)
+Conflicts: python-central (<< 0.5.5)
+Breaks: python-csv (<< 1.0-4), python-bz2 (<< 1.1-8), python-email (<< 2.5.5-3)
+Replaces: python-dev (<< 2.6.5-2)
+Provides: python-email, python-ctypes, python-wsgiref
+Description: interactive high-level object-oriented language (default version)
  Python, the high-level, interactive object oriented language,
  includes an extensive class library with lots of goodies for
  network programming, system administration, sounds and graphics.
@@ -29,11 +31,11 @@ Package: python-minimal
 Architecture: all
 Priority: standard
 Depends: ${misc:Depends}, @PVER@-minimal (>= @PREVVER@), dpkg (>= 1.13.20)
-Conflicts: python (<= 2.4-1), python-central (<< 0.5.5)
-Replaces: python (<= 2.4-1)
 Recommends: python
-Breaks: python-dev (<< 2.6), python-dbg (<< 2.6), python-all (<< 2.6), python-all-dev (<< 2.6), python-all-dbg (<< 2.6), python-examples (<< 2.6), idle (<< 2.6), python2.5-minimal (<< 2.5.5-3), python2.6-minimal (<< 2.6.5~rc2-2), python3.1-minimal (<< 3.1.2~rc1-2)
-Description: A minimal subset of the Python language (default version)
+Conflicts: python-central (<< 0.5.5)
+Breaks: python (<= 2.4-1), python-dev (<< 2.6), python-dbg (<< 2.6), python-all (<< 2.6), python-all-dev (<< 2.6), python-all-dbg (<< 2.6), python-examples (<< 2.6), idle (<< 2.6), python2.5-minimal (<< 2.5.5-3), python2.6-minimal (<< 2.6.5~rc2-2), python3.1-minimal (<< 3.1.2~rc1-2)
+Replaces: python (<= 2.4-1)
+Description: minimal subset of the Python language (default version)
  This package contains the interpreter and some essential modules.  It's used
  in the boot process for some basic tasks.
  See /usr/share/doc/@PVER@-minimal/README.Debian for a list of the modules
@@ -42,7 +44,7 @@ Description: A minimal subset of the Python language (default version)
 Package: python-examples
 Architecture: all
 Depends: ${misc:Depends}, python (= ${binary:Version}), @PVER@-examples (>= @PREVVER@)
-Description: Examples for the Python language (default version)
+Description: examples for the Python language (default version)
  Examples, Demos and Tools for Python. These are files included in
  the upstream Python distribution.
  .
@@ -52,7 +54,7 @@ Description: Examples for the Python language (default version)
 Package: python-dev
 Architecture: all
 Depends: ${misc:Depends}, python (= ${binary:Version}), @PVER@-dev (>= @PREVVER@)
-Description: Header files and a static library for Python (default)
+Description: header files and a static library for Python (default)
  Header files, a static library and development tools for building
  Python modules, extending the Python interpreter or embedding Python
  in applications.
@@ -67,7 +69,7 @@ Package: idle
 Architecture: all
 Depends: ${misc:Depends}, python (= ${binary:Version}), python-tk (>= 2.4.3-3), idle-@PVER@
 Enhances: python
-Description: An IDE for Python using Tkinter (default version)
+Description: IDE for Python using Tkinter (default version)
  IDLE is an Integrated Development Environment for Python.
  IDLE is written using Tkinter and therefore quite platform-independent.
  .
@@ -79,9 +81,9 @@ Section: doc
 Architecture: all
 Depends: ${misc:Depends}, python@VER@-doc (>= @PREVVER@)
 Suggests: python-examples, python (= ${binary:Version})
-Conflicts: python-doc-info, python (<< 2.3.5)
-Replaces: python-doc-info, python (<< 2.3.5)
-Description: Documentation for the high-level object-oriented language Python
+Breaks: python (<< 2.3.5)
+Replaces: python (<< 2.3.5)
+Description: documentation for the high-level object-oriented language Python
  This is the official set of documentation for the interactive high-level
  object-oriented language Python (v@VER@). All documents are provided
  in HTML format, some in info format. The package consists of nine documents:
@@ -105,14 +107,14 @@ Section: debug
 Priority: extra
 Depends: ${misc:Depends}, python (= ${binary:Version}), python@VER@-dbg (>= @PREVVER@)
 Provides: python-gdbm-dbg, python-tk-dbg
-Description: Debug Build of the Python Interpreter (version @VER@)
+Description: debug build of the Python Interpreter (version @VER@)
  Python interpreter configured with --pydebug. Dynamically loaded modules are
  searched in /usr/lib/python@VER@/lib-dynload/debug first.
 
 Package: python-all
 Architecture: all
 Depends: ${misc:Depends}, python (= ${binary:Version}), python2.5 (>= 2.5.5-6), python2.6 (>= 2.6.5-2)
-Description: Package depending on all supported Python runtime versions
+Description: package depending on all supported Python runtime versions
  The package currently depends on python2.5 and python2.6, in the future,
  dependencies on jython (Python for a JVM) and ironpython (Python for Mono)
  may be added.
@@ -123,7 +125,7 @@ Description: Package depending on all supported Python runtime versions
 Package: python-all-dev
 Architecture: all
 Depends: ${misc:Depends}, python (= ${binary:Version}), python-all (= ${binary:Version}), python-dev (= ${binary:Version}), python2.5-dev (>= 2.5.5-6), python2.6-dev (>= 2.6.5-2)
-Description: Package depending on all supported Python development packages
+Description: package depending on all supported Python development packages
  The package currently depends on python2.5-dev and python2.6-dev, in the
  future, dependencies on jython (Python for a JVM) and ironpython (Python
  for Mono) may be added.
@@ -136,7 +138,7 @@ Architecture: all
 Section: debug
 Priority: extra
 Depends: ${misc:Depends}, python (= ${binary:Version}), python-all (= ${binary:Version}), python-dbg (= ${binary:Version}), python2.5-dbg (>= 2.5.5-6), python2.6-dbg (>= 2.6.5-2)
-Description: Package depending on all supported Python debugging packages
+Description: package depending on all supported Python debugging packages
  The package currently depends on python2.5-dbg and python2.6-dbg, in the
  future, dependencies on jython (Python for a JVM) and ironpython (Python
  for Mono) may be added.
diff --git a/pyclean b/pyclean
index e8c8a5b..b3fe738 100755
--- a/pyclean
+++ b/pyclean
@@ -135,7 +135,7 @@ def main():
         for filename in get_files(args):
             d.send(filename)
     else:
-        parser.print_help()
+        parser.print_usage()
         sys.exit(1)
 
 if __name__ == '__main__':
-- 
GitLab