diff -u reportlab-accel-0.61-20080128/debian/control reportlab-accel-0.61-20080128/debian/control --- reportlab-accel-0.61-20080128/debian/control +++ reportlab-accel-0.61-20080128/debian/control @@ -1,8 +1,9 @@ Source: reportlab-accel Section: python Priority: optional -Maintainer: Matthias Klose -Build-Depends: debhelper (>= 5.0.37.1), python-all-dev (>= 2.3.5-9), python-central +Maintainer: Ubuntu MOTU developers +XSBC-Original-Maintainer: Matthias Klose +Build-Depends: debhelper (>= 5.0.37.1), python-all-dev (>= 2.3.5-9), python-all-dbg, python-central XS-Python-Version: all Standards-Version: 3.8.0 @@ -15,3 +16,12 @@ +Suggests: python-reportlab-accel-dbg XB-Python-Version: ${python:Versions} Description: C coded extension accelerator for the ReportLab Toolkit A C coded extension accelerator for the ReportLab Toolkit. + +Package: python-reportlab-accel-dbg +Architecture: any +Depends: python-reportlab-accel (= ${Source-Version}), python-dbg, ${shlibs:Depends} +Description: C coded extension accelerator for the ReportLab Toolkit (debug build) + A C coded extension accelerator for the ReportLab Toolkit. + . + This package contains the extension built for the python debug interpreter. diff -u reportlab-accel-0.61-20080128/debian/changelog reportlab-accel-0.61-20080128/debian/changelog --- reportlab-accel-0.61-20080128/debian/changelog +++ reportlab-accel-0.61-20080128/debian/changelog @@ -1,3 +1,10 @@ +reportlab-accel (0.61-20080128-2ubuntu1) intrepid; urgency=low + + * Merge from debian unstable, remaining changes (LP: #243654): + - Build a python-reportlab-accel-dbg package. + + -- Nathan Handler Sat, 26 Jul 2008 08:22:51 -0500 + reportlab-accel (0.61-20080128-2) unstable; urgency=low * Rebuild with recent python-central. @@ -18,6 +25,13 @@ -- Matthias Klose Mon, 28 Jan 2008 21:20:34 +0100 +reportlab-accel (0.60-20061203-2ubuntu1) feisty; urgency=low + + * Build a python-reportlab-accel-dbg package. + * Set Ubuntu maintainer address. + + -- Matthias Klose Sun, 18 Feb 2007 16:51:30 +0100 + reportlab-accel (0.60-20061203-2) unstable; urgency=medium * Build-depend on python-central. Closes: #401574. diff -u reportlab-accel-0.61-20080128/debian/rules reportlab-accel-0.61-20080128/debian/rules --- reportlab-accel-0.61-20080128/debian/rules +++ reportlab-accel-0.61-20080128/debian/rules @@ -32,6 +32,11 @@ for v in $(PYVERS); do \ python$$v setup.py build; \ done + set -e; \ + cd rl_accel; \ + for v in $(PYVERS); do \ + python$$v-dbg setup.py build; \ + done touch build-arch-stamp clean: @@ -51,33 +56,41 @@ set -e; \ cd rl_accel; \ for v in $(PYVERS); do \ - python$$v setup.py install --prefix=$(CURDIR)/$(d)/usr; \ + python$$v setup.py install --root=$(CURDIR)/$(d); \ rm -f $(CURDIR)/$(d)/usr/lib/python$$v/site-packages/sgmlop.so; \ done -binary-common: - dh_testdir - dh_testroot - dh_installchangelogs - dh_installdocs - dh_link - dh_strip - dh_compress - dh_fixperms - dh_pycentral - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb + set -e; \ + cd rl_accel; \ + for v in $(PYVERS); do \ + python$$v-dbg setup.py install --root=$(CURDIR)/$(d)-dbg; \ + rm -f $(CURDIR)/$(d)-dbg/usr/lib/python$$v/site-packages/sgmlop_d.so; \ + done + find debian/python-*-dbg ! -type d ! -name '*.so' | xargs rm -f + find debian/python-*-dbg -depth -empty -exec rmdir {} \; # Build architecture independant packages using the common target. binary-indep: build-indep install-indep - $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common +# nothing needs to be done # Build architecture dependant packages using the common target. binary-arch: build-arch install-arch - $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + dh_testdir + dh_testroot + dh_installchangelogs -s + dh_installdocs -s + dh_link -s + dh_strip -p$(p) --dbg-package=$(p)-dbg + rm -rf $(d)-dbg/usr/share/doc/$(p)-dbg + ln -s $(p) $(d)-dbg/usr/share/doc/$(p)-dbg + dh_compress -s + dh_fixperms -s + DH_PYCENTRAL=nomove dh_pycentral -s + dh_installdeb -s + dh_shlibdeps -s + dh_gencontrol -s + dh_md5sums -s + dh_builddeb -s binary: binary-arch .PHONY: build clean binary-indep binary-arch binary install install-arch