[xml/sgml-commit] r363 - packages/libxml2/branches/unstable/debian

Mike Hommey glandium@costa.debian.org
Tue, 22 Mar 2005 21:58:47 +0100


Author: glandium
Date: 2005-03-22 21:58:46 +0100 (Tue, 22 Mar 2005)
New Revision: 363

Modified:
   packages/libxml2/branches/unstable/debian/changelog
   packages/libxml2/branches/unstable/debian/control
   packages/libxml2/branches/unstable/debian/rules
Log:
Make (a basic) use of dh_python

Modified: packages/libxml2/branches/unstable/debian/changelog
===================================================================
--- packages/libxml2/branches/unstable/debian/changelog	2005-03-18 13:58:31 UTC (rev 362)
+++ packages/libxml2/branches/unstable/debian/changelog	2005-03-22 20:58:46 UTC (rev 363)
@@ -1,3 +1,14 @@
+libxml2 (2.6.16-4) unstable; urgency=high
+
+  * Urgency set to high because we avoid breaking packages depending on us
+    when we don't properly bytecompile our python bindings.
+  * debian/rules: Call dh_python. We now get proper maintainer scripts for
+    bytecompiling files at install time and removing them at removal time.
+    Closes: #300834.
+  * debian/control: Adjust build dependencies accordingly.
+
+ -- Mike Hommey <glandium@debian.org>  Tue, 22 Mar 2005 21:56:50 +0100
+
 libxml2 (2.6.16-3) unstable; urgency=low
 
   * tree.c: Avoid adding namespaced attributes to other elements than element

Modified: packages/libxml2/branches/unstable/debian/control
===================================================================
--- packages/libxml2/branches/unstable/debian/control	2005-03-18 13:58:31 UTC (rev 362)
+++ packages/libxml2/branches/unstable/debian/control	2005-03-22 20:58:46 UTC (rev 363)
@@ -4,7 +4,7 @@
 Maintainer: Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>
 Uploaders: Mike Hommey <glandium@debian.org>
 Standards-Version: 3.6.1
-Build-Depends: debhelper (>= 4.0.0), zlib1g-dev | libz-dev, python2.3-dev, autotools-dev
+Build-Depends: debhelper (>= 4.1.67), zlib1g-dev | libz-dev, python, python2.3-dev, autotools-dev
 
 Package: libxml2
 Architecture: any

Modified: packages/libxml2/branches/unstable/debian/rules
===================================================================
--- packages/libxml2/branches/unstable/debian/rules	2005-03-18 13:58:31 UTC (rev 362)
+++ packages/libxml2/branches/unstable/debian/rules	2005-03-22 20:58:46 UTC (rev 363)
@@ -130,6 +130,7 @@
 		ln -sf ../libxml2/$${file} debian/python2.3-libxml2/usr/share/doc/python2.3-libxml2/$${file}; \
 	done
 	dh_install -a --sourcedir=debian/tmp
+	dh_python -a -V 2.3
 	dh_link -a
 	dh_strip -a
 	dh_compress -a -Xexamples/