[xml/sgml-pkgs] Bug#631416: python-libxml2: convert to dh_python2?
Colin Watson
cjwatson at ubuntu.com
Thu Jun 23 17:02:10 UTC 2011
Package: python-libxml2
Version: 2.7.8.dfsg-3
Severity: wishlist
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch oneiric
In Ubuntu 11.10, we'd like to eliminate python-support and
python-central from the Python packages on our CDs, and consolidate on
dh_python2:
https://wiki.ubuntu.com/BarryWarsaw/PythonHelpers
http://wiki.debian.org/Python/PythonSupportToDHPython2
We don't yet have a consensus on deprecating python-support in Debian.
Nevertheless, dh_python2 is usable as of squeeze. Would you be willing
to apply this patch to switch to it?
* Convert to dh_python2.
reverted:
--- libxml2-2.7.8.dfsg/debian/pycompat
+++ libxml2-2.7.8.dfsg.orig/debian/pycompat
@@ -1 +0,0 @@
-2
diff -u libxml2-2.7.8.dfsg/debian/control libxml2-2.7.8.dfsg/debian/control
--- libxml2-2.7.8.dfsg/debian/control
+++ libxml2-2.7.8.dfsg/debian/control
@@ -4,7 +4,7 @@
Maintainer: Debian XML/SGML Group <debian-xml-sgml-pkgs at lists.alioth.debian.org>
Uploaders: Mike Hommey <glandium at debian.org>
Standards-Version: 3.9.0.0
-Build-Depends: debhelper (>= 7.0.50~), zlib1g-dev | libz-dev, python-all-dev (>= 2.3.5-11), python-all-dbg, python-support (>= 0.3), autotools-dev, libreadline-dev | libreadline5-dev, binutils (>= 2.14.90.0.7), dpkg-dev (>= 1.14.9), perl
+Build-Depends: debhelper (>= 7.0.50~), zlib1g-dev | libz-dev, python-all-dev (>= 2.6.6-3~), python-all-dbg, autotools-dev, libreadline-dev | libreadline5-dev, binutils (>= 2.14.90.0.7), dpkg-dev (>= 1.14.9), perl
Homepage: http://xmlsoft.org/
Vcs-Git: git://git.debian.org/debian-xml-sgml/libxml2.git
Vcs-Browser: http://git.debian.org/?p=debian-xml-sgml/libxml2.git
@@ -95,7 +95,6 @@
Section: python
Provides: ${python:Provides}
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
-XB-Python-Version: ${python:Versions}
Description: Python bindings for the GNOME XML library
XML is a metalanguage to let you design your own markup language.
A regular markup language defines a way to describe information in
@@ -113,7 +112,6 @@
Priority: extra
Provides: ${python:Provides}
Depends: python-dbg, python-libxml2 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
-XB-Python-Version: ${python:Versions}
Description: Python bindings for the GNOME XML library (debug extension)
XML is a metalanguage to let you design your own markup language.
A regular markup language defines a way to describe information in
diff -u libxml2-2.7.8.dfsg/debian/rules libxml2-2.7.8.dfsg/debian/rules
--- libxml2-2.7.8.dfsg/debian/rules
+++ libxml2-2.7.8.dfsg/debian/rules
@@ -121 +121 @@
- dh $@
+ dh $@ --with python2
Thanks,
--
Colin Watson [cjwatson at ubuntu.com]
More information about the debian-xml-sgml-pkgs
mailing list