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

nomadium-guest at users.alioth.debian.org nomadium-guest at users.alioth.debian.org
Mon Apr 19 15:29:05 UTC 2010


    Date: Monday, April 19, 2010 @ 15:28:59
  Author: nomadium-guest
Revision: 12650

* Added Build-Depends on python-pyrex to generate .c files from .pyx files.
* Generated a -dbg package.
* Removed a bashism from debian/rules.

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

Modified: packages/pyamf/trunk/debian/changelog
===================================================================
--- packages/pyamf/trunk/debian/changelog	2010-04-19 14:56:27 UTC (rev 12649)
+++ packages/pyamf/trunk/debian/changelog	2010-04-19 15:28:59 UTC (rev 12650)
@@ -2,4 +2,4 @@
 
   * Initial release. (Closes: #499617)
 
- -- Miguel Landaeta <miguel at miguel.cc>  Sun, 18 Apr 2010 14:17:33 -0430
+ -- Miguel Landaeta <miguel at miguel.cc>  Mon, 19 Apr 2010 10:48:03 -0430

Modified: packages/pyamf/trunk/debian/control
===================================================================
--- packages/pyamf/trunk/debian/control	2010-04-19 14:56:27 UTC (rev 12649)
+++ packages/pyamf/trunk/debian/control	2010-04-19 15:28:59 UTC (rev 12650)
@@ -4,7 +4,7 @@
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Miguel Landaeta <miguel at miguel.cc>
 Build-Depends: debhelper (>= 7.0.50), python-all-dev, python-support (>= 0.8),
-               python-setuptools (>= 0.6c9), cython
+ python-setuptools (>= 0.6c9), cython, python-pyrex
 Standards-Version: 3.8.4
 Homepage: http://pyamf.org/
 XS-Python-Version: >= 2.5
@@ -30,3 +30,16 @@
  This contains the API documentation for the Python Action Message
  Format (AMF) support provided by python-pyamf. It includes integration
  with Python web frameworks like Django, Pylons, Twisted, and more.
+
+Package: python-pyamf-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
+ python-pyamf (= ${binary:Version}), python-dbg
+Description: Action Message Format support for Python (debugging files)
+ PyAMF provides Action Message Format (AMF) support for Python
+ that is compatible with the Flash Player. It includes integration
+ with Python web frameworks like Django, Pylons, Twisted, and more.
+ .
+ This package contains the extension built for the Python debug interpreter.

Modified: packages/pyamf/trunk/debian/rules
===================================================================
--- packages/pyamf/trunk/debian/rules	2010-04-19 14:56:27 UTC (rev 12649)
+++ packages/pyamf/trunk/debian/rules	2010-04-19 15:28:59 UTC (rev 12650)
@@ -4,12 +4,12 @@
 	dh $@
 
 override_dh_auto_build:
-	for module in cpyamf/amf3.pyx cpyamf/util.pyx; do cython $${module}; done
+	rm cpyamf/*.c
 	dh_auto_build
 
 override_dh_auto_clean:
 	dh_auto_clean
-	rm -rf PyAMF.egg-info cpyamf/amf3.{c,so} cpyamf/util.{c,so} foo
+	rm -rf PyAMF.egg-info cpyamf/*.so foo
 
 override_dh_auto_test:
 	dh_auto_test
@@ -26,6 +26,11 @@
 override_dh_compress:
 	dh_compress -X.js
 
+override_dh_strip:
+	dh_strip --dbg-package=python-pyamf-dbg
+	mv debian/python-pyamf-dbg/usr/lib/debug/usr/lib/pyshared \
+	   debian/python-pyamf-dbg/usr/lib/debug/usr/lib/pymodules
+
 get-orig-source:
 	cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \
 	uscan --rename --force-download --watchfile debian/watch --destdir $(CURDIR)




More information about the Python-modules-commits mailing list