[Python-modules-commits] r10579 - in packages/python-lzma/trunk/debian (control rules)

mrbeige-guest at users.alioth.debian.org mrbeige-guest at users.alioth.debian.org
Tue Nov 24 13:50:13 UTC 2009


    Date: Tuesday, November 24, 2009 @ 13:50:12
  Author: mrbeige-guest
Revision: 10579

Add debug package to python-lzma

Modified:
  packages/python-lzma/trunk/debian/control
  packages/python-lzma/trunk/debian/rules

Modified: packages/python-lzma/trunk/debian/control
===================================================================
--- packages/python-lzma/trunk/debian/control	2009-11-23 23:17:50 UTC (rev 10578)
+++ packages/python-lzma/trunk/debian/control	2009-11-24 13:50:12 UTC (rev 10579)
@@ -18,3 +18,15 @@
  PylibLZMA provides a Python interface for the liblzma library for
  reading and writing data that has been compressed or can be
  decompressed by Lasse Collin's xz / lzma utils.
+
+Package: python-lzma-dbg
+Architecture: any
+Priority: extra
+Section: debug
+Depends: ${misc:Depends}, python-lzma (= ${binary:Version})
+Description: python-lzma debug symbols 
+ PylibLZMA provides a Python interface for the liblzma library for
+ reading and writing data that has been compressed or can be
+ decompressed by Lasse Collin's xz / lzma utils.
+ .
+ This package contains detached debugging symbols for python-lzma.

Modified: packages/python-lzma/trunk/debian/rules
===================================================================
--- packages/python-lzma/trunk/debian/rules	2009-11-23 23:17:50 UTC (rev 10578)
+++ packages/python-lzma/trunk/debian/rules	2009-11-24 13:50:12 UTC (rev 10579)
@@ -23,6 +23,17 @@
 test%:
 	python$* setup.py test
 
+# Multiple binary packages, must specify which to install files into.
+override_dh_auto_install:
+	dh_auto_install --destdir=debian/python-lzma/
+override_dh_strip:
+	dh_strip --dbg-package=python-lzma-dbg
+# debug package can refer to docs of depended-on binary package
+override_dh_installdocs:
+	dh_installdocs
+	rm -rf            debian/python-lzma-dbg/usr/share/doc/python-lzma-dbg
+	ln -s python-lzma debian/python-lzma-dbg/usr/share/doc/python-lzma-dbg
 
+
 %:
 	dh $@




More information about the Python-modules-commits mailing list