[Python-modules-commits] r7192 - in packages/python-pytc (4 files)

vt-guest at users.alioth.debian.org vt-guest at users.alioth.debian.org
Fri Dec 26 18:11:10 UTC 2008


    Date: Friday, December 26, 2008 @ 18:11:10
  Author: vt-guest
Revision: 7192

* debian/control: set priority to optional, add Vcs fields
* debian/control, debian/python-pytc.install, debian/rules: build a debug package

Added:
  packages/python-pytc/trunk/debian/python-pytc.install
Modified:
  packages/python-pytc/trunk/debian/control
  packages/python-pytc/trunk/debian/rules
Deleted:
  packages/python-pytc/tags/0.6-2/

Modified: packages/python-pytc/trunk/debian/control
===================================================================
--- packages/python-pytc/trunk/debian/control	2008-12-26 17:10:59 UTC (rev 7191)
+++ packages/python-pytc/trunk/debian/control	2008-12-26 18:11:10 UTC (rev 7192)
@@ -1,13 +1,15 @@
 Source: python-pytc
 Section: python
-Priority: extra
+Priority: optional
 Maintainer: Vernon Tang <vt at foilhead.net>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Build-Depends: debhelper (>= 7), cdbs (>= 0.4.41), quilt, python-central,
- python-all-dev (>= 2.3), libtokyocabinet-dev (>= 1.3.6)
+ python-all-dev (>= 2.3), python-all-dbg (>= 2.3), libtokyocabinet-dev (>= 1.3.6)
 XS-Python-Version: >= 2.3
 Standards-Version: 3.8.0
 Homepage: http://pypi.python.org/pypi/pytc/
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-pytc/trunk
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-pytc/trunk
 
 Package: python-pytc
 Architecture: any
@@ -17,3 +19,16 @@
 Description: Python bindings for the Tokyo Cabinet database
  This package contains the pytc module, which gives Python programs the
  ability to work with Tokyo Cabinet database files.
+
+Package: python-pytc-dbg
+Architecture: any
+Priority: extra
+Depends: python-pytc (= ${binary:Version}), 
+ ${shlibs:Depends}, ${misc:Depends}, python-dbg
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Description: Python bindings for the Tokyo Cabinet database (debug extension)
+ This package contains the pytc module, which gives Python programs the
+ ability to work with Tokyo Cabinet database files.
+ .
+ This package contains the extension built for the Python debug interpreter.

Added: packages/python-pytc/trunk/debian/python-pytc.install
===================================================================
--- packages/python-pytc/trunk/debian/python-pytc.install	                        (rev 0)
+++ packages/python-pytc/trunk/debian/python-pytc.install	2008-12-26 18:11:10 UTC (rev 7192)
@@ -0,0 +1 @@
+debian/tmp/usr/lib/python*

Modified: packages/python-pytc/trunk/debian/rules
===================================================================
--- packages/python-pytc/trunk/debian/rules	2008-12-26 17:10:59 UTC (rev 7191)
+++ packages/python-pytc/trunk/debian/rules	2008-12-26 18:11:10 UTC (rev 7192)
@@ -5,3 +5,24 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
+
+build/python-pytc-dbg::
+	set -e; \
+	for i in $(cdbs_python_build_versions); do \
+		python$$i-dbg setup.py build; \
+	done
+
+install/python-pytc-dbg::
+	set -e; \
+	for i in $(cdbs_python_build_versions); do \
+		python$$i-dbg setup.py install --root $(CURDIR)/debian/python-pytc-dbg $(DEB_PYTHON_INSTALL_ARGS_ALL); \
+	done
+	find debian/python-pytc-dbg ! -type d ! -name '*_d.so' -delete
+	find debian/python-pytc-dbg -depth -empty -exec rmdir {} \;
+
+binary-predeb/python-pytc-dbg::
+	rm -rf debian/python-pytc-dbg/usr/share/doc/python-pytc-dbg
+	ln -s python-pytc debian/python-pytc-dbg/usr/share/doc/python-pytc-dbg
+
+clean::
+	rm -rf build




More information about the Python-modules-commits mailing list