[Python-apps-commits] r5195 - in packages/cython/trunk/debian (changelog control rules)
jwilk at users.alioth.debian.org
jwilk at users.alioth.debian.org
Fri May 7 19:13:14 UTC 2010
Date: Friday, May 7, 2010 @ 19:13:10
Author: jwilk
Revision: 5195
Integrate 0.12.1-1.1 NMU.
Modified:
packages/cython/trunk/debian/changelog
packages/cython/trunk/debian/control
packages/cython/trunk/debian/rules
Modified: packages/cython/trunk/debian/changelog
===================================================================
--- packages/cython/trunk/debian/changelog 2010-05-07 19:08:58 UTC (rev 5194)
+++ packages/cython/trunk/debian/changelog 2010-05-07 19:13:10 UTC (rev 5195)
@@ -1,3 +1,10 @@
+cython (0.12.1-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Introducing cython-dbg (Closes: #541314)
+
+ -- Yaroslav Halchenko <debian at onerussian.com> Wed, 05 May 2010 14:11:54 -0400
+
cython (0.12.1-1) unstable; urgency=low
[ Kirill Smelkov ]
Modified: packages/cython/trunk/debian/control
===================================================================
--- packages/cython/trunk/debian/control 2010-05-07 19:08:58 UTC (rev 5194)
+++ packages/cython/trunk/debian/control 2010-05-07 19:13:10 UTC (rev 5195)
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
Uploaders: Ondrej Certik <ondrej at certik.cz>
-Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.38), python (>= 2.4.4-6), python-all-dev (>= 2.4.4-6), python-support (>= 0.7.5)
+Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.38), python (>= 2.4.4-6), python-all-dev (>= 2.4.4-6), python-support (>= 0.7.5), python-all-dbg
Standards-Version: 3.8.3
Homepage: http://cython.org/
Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/cython/trunk
@@ -27,3 +27,14 @@
.
This makes Cython the ideal language for wrapping for external C libraries, and
for fast C modules that speed up the execution of Python code.
+
+Package: cython-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends}, cython (= ${binary:Version})
+Suggests: gcc
+XB-Python-Version: ${python:Versions}
+Description: C-Extensions for Python (Debug Build of Cython)
+ This package contains Cython libraries built against versions of
+ Python configured with --pydebug.
Modified: packages/cython/trunk/debian/rules
===================================================================
--- packages/cython/trunk/debian/rules 2010-05-07 19:08:58 UTC (rev 5194)
+++ packages/cython/trunk/debian/rules 2010-05-07 19:13:10 UTC (rev 5195)
@@ -9,5 +9,31 @@
install/cython::
dh_installman debian/cython.1
+
+#
+# Debugging version -dbg
+#
+# Re-build using python-dbg
+install/cython-dbg ::
+ for i in $(cdbs_python_build_versions); do \
+ python$$i-dbg ./setup.py install $(DEB_PYTHON_INSTALL_ARGS_ALL) \
+ --root $(CURDIR)/debian/cython-dbg; \
+ done
+ : # Keep only _d.so files for cython-dbg package
+ find debian/cython-dbg ! -type d ! -name '*_d.so' | xargs rm -f
+ : # Prune empty directories
+ find debian/cython-dbg -depth -empty -exec rmdir \{\} \;
+
+binary-predeb/cython-dbg::
+ mkdir -p debian/cython-dbg/usr/share/doc
+ ln -s cython debian/cython-dbg/usr/share/doc/cython-dbg
+
+
clean::
rm -f Cython/Compiler/Lexicon.pickle Cython/*/*.c
+ : # Just prune build entirely
+ rm -rf build
+
+# Install directly into package directory (despite multiple packages
+# due to having cython-dbg)
+DEB_DESTDIR = $(CURDIR)/debian/cython
More information about the Python-apps-commits
mailing list