Control: tags -1 + pending

Dear maintainer,

I've prepared an NMU for python-gevent (versioned as 0.13.6-1+nmu2) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

I've also moved the debugging symbols to the correct location so gdb can
find them.

Regards
-- 
Sebastian Ramacher
diff -Nru python-gevent-0.13.6/debian/changelog python-gevent-0.13.6/debian/changelog
--- python-gevent-0.13.6/debian/changelog	2012-11-12 23:09:04.000000000 +0100
+++ python-gevent-0.13.6/debian/changelog	2013-03-03 15:46:11.000000000 +0100
@@ -1,3 +1,16 @@
+python-gevent (0.13.6-1+nmu2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/control:
+    - Add python-all-dbg to Build-Depends to build extensions modules for
+      debug variants too. (Closes: #661342)
+    - Add ${python:Depends}, ${shlibs:Depends}, python-greenlet-dbg to
+      python-gevent-dbg's Depends.
+  * debian/rules: Install debugging symbols into the correct location so that
+    they are actually usable.
+
+ -- Sebastian Ramacher <sramac...@debian.org>  Sun, 03 Mar 2013 15:46:09 +0100
+
 python-gevent (0.13.6-1+nmu1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru python-gevent-0.13.6/debian/control python-gevent-0.13.6/debian/control
--- python-gevent-0.13.6/debian/control	2011-05-17 16:45:37.000000000 +0200
+++ python-gevent-0.13.6/debian/control	2013-03-03 15:46:00.000000000 +0100
@@ -3,7 +3,8 @@
 Maintainer: Örjan Persson <ora...@fobie.net>
 Uploaders: Andreas Schuldei <andr...@debian.org>
 Build-Depends: debhelper (>= 7.0.50), python-support, python-all-dev, libevent-dev (>= 1.4),
-               python-greenlet | python-codespeak-lib (<< 1.0), python-sphinx (>= 0.6)
+               python-greenlet | python-codespeak-lib (<< 1.0), python-sphinx (>= 0.6),
+               python-all-dbg
 Standards-Version: 3.9.0
 Section: python
 Homepage: http://www.gevent.org/
@@ -11,7 +12,8 @@
 Package: python-gevent-dbg
 Section: debug
 Architecture: any
-Depends: ${misc:Depends}, python-gevent (= ${binary:Version})
+Depends: ${misc:Depends}, python-gevent (= ${binary:Version}), ${shlibs:Depends}, ${python:Depends},
+ python-greenlet-dbg
 Description: gevent is a coroutine-based Python networking library - debugging symbols
  gevent uses greenlet to provide a high-level synchronous API on top of
  libevent event loop.
diff -Nru python-gevent-0.13.6/debian/python-gevent-dbg.install python-gevent-0.13.6/debian/python-gevent-dbg.install
--- python-gevent-0.13.6/debian/python-gevent-dbg.install	1970-01-01 01:00:00.000000000 +0100
+++ python-gevent-0.13.6/debian/python-gevent-dbg.install	2013-03-03 14:22:23.000000000 +0100
@@ -0,0 +1 @@
+usr/lib/python2*/*-packages/gevent/*_d.so
diff -Nru python-gevent-0.13.6/debian/python-gevent.install python-gevent-0.13.6/debian/python-gevent.install
--- python-gevent-0.13.6/debian/python-gevent.install	2011-05-17 16:45:37.000000000 +0200
+++ python-gevent-0.13.6/debian/python-gevent.install	2013-03-03 14:22:23.000000000 +0100
@@ -1 +1,2 @@
-usr/lib/*
+usr/lib/python2*/*-packages/gevent/*.py
+usr/lib/python2*/*-packages/gevent/*[!_][!d].so
diff -Nru python-gevent-0.13.6/debian/rules python-gevent-0.13.6/debian/rules
--- python-gevent-0.13.6/debian/rules	2011-05-17 16:45:37.000000000 +0200
+++ python-gevent-0.13.6/debian/rules	2013-03-03 14:52:20.000000000 +0100
@@ -16,7 +16,11 @@
 	dh_compress -X.js -X_static/* -X _sources/* -X_sources/*/* -X.inv
 
 override_dh_strip:
+ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
 	dh_strip --dbg-package=python-gevent-dbg
+	mv debian/python-gevent-dbg/usr/lib/debug/usr/lib/pyshared \
+		debian/python-gevent-dbg/usr/lib/debug/usr/lib/pymodules
+endif
 
 override_dh_installdocs:
 	dh_installdocs --link-doc=python-gevent

Attachment: signature.asc
Description: Digital signature

Reply via email to