From 615eb9957b8161a6e849d7457dedcecef9d1ae76 Mon Sep 17 00:00:00 2001
From: Matthias Klose <doko@ubuntu.com>
Date: Thu, 28 Feb 2013 14:56:33 +0100
Subject: [PATCH]   * Add a libpython-stdlib package (not yet built).

---
 debian/changelog  |  5 +++--
 debian/control    | 42 ++++++++++++++++++++++++++++++++++++++++++
 debian/control.in | 13 +++++++++++++
 3 files changed, 58 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index cef17ae..572e9ad 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,11 @@
-python-defaults (2.7.3-11) UNRELEASED; urgency=low
+python-defaults (2.7.3-11) experimental; urgency=low
 
   * Add Multi-Arch: same packages libpython-all-{dev,dbg} (not yet built,
     python2.6 doesn't have support for multiarch).
   * python-dbg: Stop providing python-gdbm-dbg, python-tk-dbg. Closes: #700716.
+  * Add a libpython-stdlib package (not yet built).
 
- -- Matthias Klose <doko@debian.org>  Wed, 12 Dec 2012 00:25:00 +0100
+ -- Matthias Klose <doko@debian.org>  Thu, 28 Feb 2013 14:43:06 +0100
 
 python-defaults (2.7.3-10) experimental; urgency=low
 
diff --git a/debian/control b/debian/control
index 08fd78f..8b3f24c 100644
--- a/debian/control
+++ b/debian/control
@@ -15,6 +15,7 @@ Architecture: any
 Multi-Arch: allowed
 Priority: standard
 Depends: ${misc:Depends}, python2.7 (>= 2.7.3-10~), python-minimal (= ${binary:Version})
+#Depends: ${misc:Depends}, python2.7 (>= 2.7.3-10~), python-minimal (= ${binary:Version}), libpython-stdlib (= ${binary:Version})
 Suggests: python-doc (= ${binary:Version}), python-tk (= ${binary:Version})
 Conflicts: python-central (<< 0.5.5)
 Breaks: python-csv (<< 1.0-4), python-bz2 (<< 1.1-8), python-email (<< 2.5.5-3), update-manager-core (<< 0.200.5-2)
@@ -77,6 +78,18 @@ Description: header files and a static library for Python (default)
  This package is a dependency package, which depends on Debian's default
  Python version (currently v2.7).
 
+#Package: libpython-stdlib
+#Architecture: any
+#Multi-Arch: same
+#Depends: libpython2.7-stdlib (>= 2.7.3-10~), ${misc:Depends}
+#Description: interactive high-level object-oriented language (default python 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.
+# .
+# This package is a dependency package, which depends on Debian's default
+# Python version (currently v2.7).
+
 Package: idle
 Architecture: all
 Depends: ${misc:Depends}, python (= ${binary:Version}), python-tk (>= 2.4.3-3), idle-python2.7
@@ -169,3 +182,32 @@ Description: package depending on all supported Python debugging packages
  .
  This package is used as a build dependency for other packages to
  avoid hardcoded dependencies on specific Python development packages.
+
+#Package: libpython-all-dev
+#Architecture: any
+#Multi-Arch: same
+#Depends: libpython-dev (= ${binary:Version}), ${misc:Depends},
+# libpython2.7-dev
+#Description: package depending on all supported Python development packages
+# The package currently depends on libpython2.7-dev, in the
+# future, dependencies on jython (Python for a JVM) and ironpython (Python
+# for Mono) may be added.
+# .
+# This package is a dependency package used as a build dependency for other
+# packages to avoid hardcoded dependencies on specific Python development
+# packages.
+
+#Package: libpython-all-dbg
+#Architecture: any
+#Multi-Arch: same
+#Section: debug
+#Priority: extra
+#Depends: libpython-dbg (= ${binary:Version}), ${misc:Depends},
+# libpython2.7-dbg
+#Description: package depending on all supported Python debugging packages
+# The package currently depends on libpython2.7-dbg, in the
+# future, dependencies on jython (Python for a JVM) and ironpython (Python
+# for Mono) may be added.
+# .
+# This package is a dependency package used as a build dependency for other
+# packages to avoid hardcoded dependencies on specific Python debug packages.
diff --git a/debian/control.in b/debian/control.in
index 8cd40c0..5c283f0 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -15,6 +15,7 @@ Architecture: any
 Multi-Arch: allowed
 Priority: standard
 Depends: ${misc:Depends}, @PVER@ (>= @PREVVER@), python-minimal (= ${binary:Version})
+#Depends: ${misc:Depends}, @PVER@ (>= @PREVVER@), python-minimal (= ${binary:Version}), libpython-stdlib (= ${binary:Version})
 Suggests: python-doc (= ${binary:Version}), python-tk (= ${binary:Version})
 Conflicts: python-central (<< 0.5.5)
 Breaks: python-csv (<< 1.0-4), python-bz2 (<< 1.1-8), python-email (<< 2.5.5-3), update-manager-core (<< 0.200.5-2)
@@ -77,6 +78,18 @@ Description: header files and a static library for Python (default)
  This package is a dependency package, which depends on Debian's default
  Python version (currently v@VER@).
 
+#Package: libpython-stdlib
+#Architecture: any
+#Multi-Arch: same
+#Depends: libpython@VER@-stdlib (>= @PREVVER@), ${misc:Depends}
+#Description: interactive high-level object-oriented language (default python 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.
+# .
+# This package is a dependency package, which depends on Debian's default
+# Python version (currently v@VER@).
+
 Package: idle
 Architecture: all
 Depends: ${misc:Depends}, python (= ${binary:Version}), python-tk (>= 2.4.3-3), idle-@PVER@
-- 
GitLab