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

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Thu Jun 2 20:53:49 UTC 2011


    Date: Thursday, June 2, 2011 @ 20:53:46
  Author: eriol-guest
Revision: 17271

Set proper debug path inside 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 15:17:49 UTC (rev 17270)
+++ packages/pyke/trunk/debian/changelog	2011-06-02 20:53:46 UTC (rev 17271)
@@ -27,8 +27,9 @@
          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
-    - Added override_dh_auto_clean to clean python-ply cached tables shipped in
-      upstream tarball
+         3. Set proper debug path inside tables
+  * debian/clean
+    - Added to clean python-ply cached tables shipped in upstream tarball
   * debian/copyright
     - Made DEP5 compliant
   * debian/clean
@@ -47,7 +48,7 @@
   * debian/patches/06_remove-tracking-javascript-and-remote-images.patch
     - Remove tracking javascript code and remote images
 
- -- Daniele Tricoli <eriol at mornie.org>  Tue, 31 May 2011 12:48:57 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Thu, 02 Jun 2011 22:48:00 +0200
 
 pyke (1.1.1-1) unstable; urgency=low
 

Modified: packages/pyke/trunk/debian/rules
===================================================================
--- packages/pyke/trunk/debian/rules	2011-06-02 15:17:49 UTC (rev 17270)
+++ packages/pyke/trunk/debian/rules	2011-06-02 20:53:46 UTC (rev 17271)
@@ -4,11 +4,16 @@
 
 override_dh_auto_configure:
 	rm -rf pyke/krb_compiler/ply/
-	# Regenerating python-ply cached tables.
+	# Regenerating python-ply cached tables
 	python -c "from pyke.krb_compiler import kfbparser, krbparser, scanner; \
 		scanner.init(scanner, 0, True); \
 		krbparser.init(krbparser, True); \
 		kfbparser.init(kfbparser, True)"
+	# 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
 
 override_dh_auto_install:
 	dh_auto_install




More information about the Python-modules-commits mailing list