[Python-modules-commits] r2477 - in /packages/celementtree/trunk/debian: changelog control rules

kitterma-guest at users.alioth.debian.org kitterma-guest at users.alioth.debian.org
Tue May 29 16:49:41 UTC 2007


Author: kitterma-guest
Date: Tue May 29 16:49:41 2007
New Revision: 2477

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=2477
Log:
Update to build for Python 2.5 and added -dgb package.

Modified:
    packages/celementtree/trunk/debian/changelog
    packages/celementtree/trunk/debian/control
    packages/celementtree/trunk/debian/rules

Modified: packages/celementtree/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/celementtree/trunk/debian/changelog?rev=2477&op=diff
==============================================================================
--- packages/celementtree/trunk/debian/changelog (original)
+++ packages/celementtree/trunk/debian/changelog Tue May 29 16:49:41 2007
@@ -1,4 +1,4 @@
-celementtree (1.0.5-9) UNRELEASED; urgency=low
+celementtree (1.0.5-9) unstable; urgency=low
 
   [ Piotr Ozarowski ]
   * Added XS-Vcs-Svn field
@@ -8,7 +8,12 @@
   * Fixed lintian warning package-has-a-duplicate-build-relation
     for cdbs and debhelper
 
- -- Bernd Zeimetz <bernd at bzed.de>  Wed, 16 May 2007 14:00:12 +0200
+  [ Scott Kitterman ]
+  * Add debian/control and debian/rules changes for python-celementree-dbg
+    package from Ubuntu
+  * Build for Python 2.5
+
+ -- Scott Kitterman <scott at kitterman.com>  Tue, 29 May 2007 12:32:37 -0400
 
 celementtree (1.0.5-8) unstable; urgency=medium
 

Modified: packages/celementtree/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/celementtree/trunk/debian/control?rev=2477&op=diff
==============================================================================
--- packages/celementtree/trunk/debian/control (original)
+++ packages/celementtree/trunk/debian/control Tue May 29 16:49:41 2007
@@ -2,9 +2,9 @@
 Section: python
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org> 
-Uploaders: Torsten Marek <shlomme at debian.org>, Raphael Hertzog <hertzog at debian.org>
-Build-Depends: debhelper (>= 5.0.37.2), cdbs (>= 0.4.43), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.0), patchutils (>= 0.2.25), libexpat-dev, python-setuptools (>= 0.6b3-1)
-XS-Python-Version: >= 2.3, << 2.5
+Uploaders: Torsten Marek <shlomme at debian.org>, Raphael Hertzog <hertzog at debian.org>, Scott Kitterman <scott at kitterman.com>
+Build-Depends: debhelper (>= 5.0.37.2), cdbs (>= 0.4.43), python-all-dev (>= 2.3.5-11), python-all-dbg (>= 2.3.5-11), python-central (>= 0.5.0), patchutils (>= 0.2.25), libexpat-dev, python-setuptools (>= 0.6b3-1)
+XS-Python-Version: >= 2.3
 Standards-Version: 3.7.2
 XS-Vcs-Svn: svn://svn.debian.org/python-modules/packages/celementtree/trunk/
 XS-Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/celementtree/trunk/
@@ -15,6 +15,7 @@
 Provides: ${python:Provides}
 Replaces: python2.3-celementtree (<< 1.0.5-6), python2.4-celementtree (<< 1.0.5-6)
 Conflicts: python2.3-celementtree (<< 1.0.5-6), python2.4-celementtree (<< 1.0.5-6)
+Suggests: python-celementtree-dbg
 XB-Python-Version: ${python:Versions}
 Description: Light-weight toolkit for XML processing
  cElementTree provides a simple but flexible container object,
@@ -26,3 +27,19 @@
  is supposed to be a drop-in replacement.
  .
   Homepage: http://effbot.org/zone/celementtree.htm
+
+Package: python-celementtree-dbg
+Priority: extra
+Architecture: any
+Depends: python-celementtree (= ${Source-Version}), python-dbg, ${shlibs:Depends}
+Description: Light-weight toolkit for XML processing (debug extension)
+ cElementTree provides a simple but flexible container object,
+ designed to store hierarchical data structures, such as
+ simplified XML infosets, in memory. The element type can
+ be described as a hybrid between a Python list and a Python
+ dictionary.
+ cElementTree is a C implementation of the ElementTree API and
+ is supposed to be a drop-in replacement.
+ .
+ This package contains the extension built for the python debug interpreter.
+

Modified: packages/celementtree/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/celementtree/trunk/debian/rules?rev=2477&op=diff
==============================================================================
--- packages/celementtree/trunk/debian/rules (original)
+++ packages/celementtree/trunk/debian/rules Tue May 29 16:49:41 2007
@@ -11,6 +11,24 @@
 
 DEB_PYTHON_INSTALL_ARGS += --single-version-externally-managed
 
+build/python-celementtree-dbg::
+	set -e; \
+	for i in $(cdbs_python_build_versions); do \
+	  python$$i-dbg ./setup.py build; \
+	done
+
+install/python-celementtree-dbg::
+	for i in $(cdbs_python_build_versions); do \
+	  python$$i-dbg ./setup.py install --root $(CURDIR)/debian/python-celementtree-dbg; \
+	done
+	find debian/python-celementtree-dbg \
+		! -type d ! -name '*_d.so' | xargs rm -f
+	find debian/python-celementtree-dbg -depth -empty -exec rmdir {} \;
+
+binary-predeb/python-celementtree-dbg::
+	rm -rf debian/python-celementtree-dbg/usr/share/doc/python-celementtree-dbg
+	ln -s python-celementtree debian/python-celementtree-dbg/usr/share/doc/python-celementtree-dbg
+
 clean::
 #	hack (CDBS bug -- see #300149)
 	-rm -rf build cElementTree.egg-info




More information about the Python-modules-commits mailing list