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

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


    Date: Friday, June 3, 2011 @ 13:09:15
  Author: eriol-guest
Revision: 17277

Set proper debug path inside python-ply generated tables using override_dh_auto_configure

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

Modified: packages/pyke/trunk/debian/changelog
===================================================================
--- packages/pyke/trunk/debian/changelog	2011-06-03 12:56:55 UTC (rev 17276)
+++ packages/pyke/trunk/debian/changelog	2011-06-03 13:09:15 UTC (rev 17277)
@@ -24,11 +24,10 @@
     - Added override_dh_auto_test to run doctests at build time using
       python-nose
     - Added override_dh_auto_configure to:
-         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_install to set proper debug path inside
-      python-ply generated tables
+       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 python-ply generated tables
   * debian/clean
     - Added to clean python-ply cached tables shipped in upstream tarball
   * debian/copyright
@@ -52,7 +51,7 @@
     - Added patch by Jakub Wilk to skip check_tables: python-ply tables are
       regenerated at built time
 
- -- Daniele Tricoli <eriol at mornie.org>  Fri, 03 Jun 2011 14:55:52 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Fri, 03 Jun 2011 15:05:53 +0200
 
 pyke (1.1.1-1) unstable; urgency=low
 

Modified: packages/pyke/trunk/debian/rules
===================================================================
--- packages/pyke/trunk/debian/rules	2011-06-03 12:56:55 UTC (rev 17276)
+++ packages/pyke/trunk/debian/rules	2011-06-03 13:09:15 UTC (rev 17277)
@@ -4,17 +4,14 @@
 
 override_dh_auto_configure:
 	rm -rf pyke/krb_compiler/ply/ pyke/krb_compiler/*_tables.py
-
-override_dh_auto_install:
 	# Regenerating python-ply cached tables
-	rm -f pyke/krb_compiler/*_tables.py
 	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
-	sed -i 's:pyke/krb_compiler:/usr/share/pyshared/pyke/krb_compiler:' pyke/krb_compiler/*_tables.py
-	dh_auto_install
+	sed -i 's:pyke/krb_compiler:/usr/share/pyshared/pyke/krb_compiler:' \
+		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