[Python-modules-commits] r9172 - in packages/python-cjson/trunk/debian (5 files)

bzed at users.alioth.debian.org bzed at users.alioth.debian.org
Mon Jul 27 20:30:29 UTC 2009


    Date: Monday, July 27, 2009 @ 20:30:22
  Author: bzed
Revision: 9172

* debian/pycompat:
  - Drop file, not needed.
* debian/python-cjson.install:
  - Change to install non -dbg files only.
* debian/python-cjson-dbg.install:
  - Install dbg extensions.

Added:
  packages/python-cjson/trunk/debian/python-cjson-dbg.install
Modified:
  packages/python-cjson/trunk/debian/changelog
  packages/python-cjson/trunk/debian/python-cjson.install
  packages/python-cjson/trunk/debian/rules
Deleted:
  packages/python-cjson/trunk/debian/pycompat

Modified: packages/python-cjson/trunk/debian/changelog
===================================================================
--- packages/python-cjson/trunk/debian/changelog	2009-07-27 20:18:07 UTC (rev 9171)
+++ packages/python-cjson/trunk/debian/changelog	2009-07-27 20:30:22 UTC (rev 9172)
@@ -10,6 +10,12 @@
     - Remove cdbs Build-dep, bump required debhelper version.
   * debian/rules:
     - Replace cdbs weirdness by dh.
+  * debian/pycompat:
+    - Drop file, not needed.
+  * debian/python-cjson.install:
+    - Change to install non -dbg files only.
+  * debian/python-cjson-dbg.install:
+    - Install dbg extensions.
 
   [ Sandro Tosi ]
   * debian/control
@@ -17,7 +23,7 @@
   * debian/control
     - switch Vcs-Browser field to viewsvn
 
- -- Bernd Zeimetz <bzed at debian.org>  Mon, 27 Jul 2009 21:58:51 +0200
+ -- Bernd Zeimetz <bzed at debian.org>  Mon, 27 Jul 2009 22:28:01 +0200
 
 python-cjson (1.0.5-1) unstable; urgency=low
 

Deleted: packages/python-cjson/trunk/debian/pycompat
===================================================================
--- packages/python-cjson/trunk/debian/pycompat	2009-07-27 20:18:07 UTC (rev 9171)
+++ packages/python-cjson/trunk/debian/pycompat	2009-07-27 20:30:22 UTC (rev 9172)
@@ -1 +0,0 @@
-2

Added: packages/python-cjson/trunk/debian/python-cjson-dbg.install
===================================================================
--- packages/python-cjson/trunk/debian/python-cjson-dbg.install	                        (rev 0)
+++ packages/python-cjson/trunk/debian/python-cjson-dbg.install	2009-07-27 20:30:22 UTC (rev 9172)
@@ -0,0 +1 @@
+debian/tmp/usr/lib/python*/*-packages/cjson_.so

Modified: packages/python-cjson/trunk/debian/python-cjson.install
===================================================================
--- packages/python-cjson/trunk/debian/python-cjson.install	2009-07-27 20:18:07 UTC (rev 9171)
+++ packages/python-cjson/trunk/debian/python-cjson.install	2009-07-27 20:30:22 UTC (rev 9172)
@@ -1 +1,2 @@
-debian/tmp/usr/lib/python*
+debian/tmp/usr/lib/python*/*-packages/cjson.so
+debian/tmp/usr/lib/python*/*-packages/python_cjson*

Modified: packages/python-cjson/trunk/debian/rules
===================================================================
--- packages/python-cjson/trunk/debian/rules	2009-07-27 20:18:07 UTC (rev 9171)
+++ packages/python-cjson/trunk/debian/rules	2009-07-27 20:30:22 UTC (rev 9172)
@@ -1,9 +1,16 @@
 #!/usr/bin/make -f
 
+PACKAGE=python-cjson
+
 %:
 	dh $@
 
 override_dh_installdocs:
 	dh_installdocs
-	rm -rf debian/python-cjson-dbg/usr/share/doc/python-cjson-dbg
-	ln -s python-cjson debian/python-cjson-dbg/usr/share/doc/python-cjson-dbg
+	rm -rf debian/$(PACKAGE)-dbg/usr/share/doc/$(PACKAGE)-dbg
+	ln -s $(PACKAGE) debian/$(PACKAGE)-dbg/usr/share/doc/$(PACKAGE)-dbg
+
+override_dh_strip:
+	dh_strip --dbg-package=$(PACKAGE)-dbg
+
+




More information about the Python-modules-commits mailing list