[Python-modules-commits] r5747 - in packages/pyyaml/trunk/debian (changelog control rules)

kitterma-guest at users.alioth.debian.org kitterma-guest at users.alioth.debian.org
Fri Jun 27 21:03:16 UTC 2008


    Date: Friday, June 27, 2008 @ 21:03:14
  Author: kitterma-guest
Revision: 5747

Add debug package.

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

Modified: packages/pyyaml/trunk/debian/changelog
===================================================================
--- packages/pyyaml/trunk/debian/changelog	2008-06-27 20:16:36 UTC (rev 5746)
+++ packages/pyyaml/trunk/debian/changelog	2008-06-27 21:03:14 UTC (rev 5747)
@@ -15,6 +15,10 @@
       if libyaml is not present, but it's not worth splitting a small package)
     - Install with setup_with_libyaml.py for all Python versions
     - Switch from arch all to arch any
+  * Add debug package
+    - Add python-all-dbg to build-dep
+    - Add python-yaml-dbg to debian/control
+    - Update debian/rules
   * Switch from python-support to python-central
     - Update depends
     - Remove pyversions

Modified: packages/pyyaml/trunk/debian/control
===================================================================
--- packages/pyyaml/trunk/debian/control	2008-06-27 20:16:36 UTC (rev 5746)
+++ packages/pyyaml/trunk/debian/control	2008-06-27 21:03:14 UTC (rev 5747)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org> 
 Uploaders: Scott Kitterman <scott at kitterman.com>
-Build-Depends: debhelper (>= 5), cdbs (>=0.4.48), python-all-dev (>=2.3.5-11), python-central (>= 0.6), python-pyrex, libyaml-dev
+Build-Depends: debhelper (>= 5), cdbs (>=0.4.48), python-all-dev (>=2.3.5-11), python-all-dbg, python-central (>= 0.6), python-pyrex, libyaml-dev
 XS-Python-Version: all 
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyyaml/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/pyyaml/trunk/?op=log
@@ -20,3 +20,14 @@
  be a reference for YAML parser implementors. A simple extension API is also
  provided.
 
+Package: python-yaml-dbg
+Priority: extra
+Architecture: any
+Depends: python-yaml (= ${binary:Version}), python-dbg, ${shlibs:Depends}
+Description: YAML parser and emitter for Python
+ Python-yaml is a complete YAML 1.1 parser and emitter for Python.  It can parse
+ all examples from the specification. The parsing algorithm is simple enough to
+ be a reference for YAML parser implementors. A simple extension API is also
+ provided.
+ .
+ This package contains the extension built for the Python debug interpreter.

Modified: packages/pyyaml/trunk/debian/rules
===================================================================
--- packages/pyyaml/trunk/debian/rules	2008-06-27 20:16:36 UTC (rev 5746)
+++ packages/pyyaml/trunk/debian/rules	2008-06-27 21:03:14 UTC (rev 5747)
@@ -12,5 +12,18 @@
 	  python$$i ./setup_with_libyaml.py install --root $(CURDIR)/debian/python-yaml; \
 	done
 
+install/python-yaml-dbg::
+	for i in $(cdbs_python_build_versions); do \
+	  python$$i-dbg ./setup_with_libyaml.py install --root $(CURDIR)/debian/python-yaml-dbg; \
+	done
+	find debian/python-yaml-dbg \
+	  ! -type d ! -name '*_d.so' | xargs rm -f
+	find debian/python-yaml-dbg -depth -empty -exec rmdir {} \;
+
+binary-predeb/python-yaml-dbg::
+	rm -rf debian/python-yaml-dbg/usr/share/doc/python-yaml-dbg
+	ln -s python-yaml debian/python-yaml-dbg/usr/share/doc/python-yaml-dbg
+
+
 clean::
 	rm -rf build




More information about the Python-modules-commits mailing list