[Python-modules-commits] r17274 - in packages/pyke/trunk/debian (changelog rules)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Fri Jun 3 00:13:05 UTC 2011


    Date: Friday, June 3, 2011 @ 00:13:04
  Author: eriol-guest
Revision: 17274

Added override_dh_auto_install to set proper debug path inside python-ply generated tables

Modified:
  packages/pyke/trunk/debian/changelog
  packages/pyke/trunk/debian/rules

Modified: packages/pyke/trunk/debian/changelog
===================================================================
--- packages/pyke/trunk/debian/changelog	2011-06-02 21:12:28 UTC (rev 17273)
+++ packages/pyke/trunk/debian/changelog	2011-06-03 00:13:04 UTC (rev 17274)
@@ -27,7 +27,8 @@
          1. Remove embedded copy of python-ply from the package. Thanks to
             Jakub Wilk for the report. (Closes: #555363)
          2. Regenerate python-ply cached tables
-         3. Set proper debug path inside tables
+    - Added override_dh_auto_install to set proper debug path inside
+      python-ply generated tables
   * debian/clean
     - Added to clean python-ply cached tables shipped in upstream tarball
   * debian/copyright
@@ -48,7 +49,7 @@
   * debian/patches/06_remove-tracking-javascript-and-remote-images.patch
     - Remove tracking javascript code and remote images
 
- -- Daniele Tricoli <eriol at mornie.org>  Thu, 02 Jun 2011 22:48:00 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Fri, 03 Jun 2011 02:11:40 +0200
 
 pyke (1.1.1-1) unstable; urgency=low
 

Modified: packages/pyke/trunk/debian/rules
===================================================================
--- packages/pyke/trunk/debian/rules	2011-06-02 21:12:28 UTC (rev 17273)
+++ packages/pyke/trunk/debian/rules	2011-06-03 00:13:04 UTC (rev 17274)
@@ -9,11 +9,12 @@
 		scanner.init(scanner, 0, True); \
 		krbparser.init(krbparser, True); \
 		kfbparser.init(kfbparser, True)"
+
+override_dh_auto_install:
+	dh_auto_install
 	# Set the correct debug path inside tables
-	for table in "kfbparser_tables.py" "krbparser_tables.py"; do \
-		sed -i 's:pyke/krb_compiler:/usr/share/pyshared/pyke/krb_compiler:' \
-			pyke/krb_compiler/$$table; \
-	done
+	sed -i 's:pyke/krb_compiler:/usr/share/pyshared/pyke/krb_compiler:' \
+		debian/tmp/usr/lib/python2.*/*-packages/pyke/krb_compiler/*_tables.py;
 
 override_dh_auto_test:
 	# Run tests twice to make sure that all of the tests run properly




More information about the Python-modules-commits mailing list