[Python-modules-commits] r17276 - in packages/pyke/trunk/debian (4 files)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Fri Jun 3 12:56:56 UTC 2011


    Date: Friday, June 3, 2011 @ 12:56:55
  Author: eriol-guest
Revision: 17276

Added patch by Jakub Wilk to skip check_tables: python-ply tables are regenerated at built time

Added:
  packages/pyke/trunk/debian/patches/07_disable_check_tables.patch
Modified:
  packages/pyke/trunk/debian/changelog
  packages/pyke/trunk/debian/patches/05_do-not-use-embedded-ply.patch
  packages/pyke/trunk/debian/patches/series

Modified: packages/pyke/trunk/debian/changelog
===================================================================
--- packages/pyke/trunk/debian/changelog	2011-06-03 00:33:01 UTC (rev 17275)
+++ packages/pyke/trunk/debian/changelog	2011-06-03 12:56:55 UTC (rev 17276)
@@ -48,8 +48,11 @@
     - Do not use embedded copy of python-ply
   * debian/patches/06_remove-tracking-javascript-and-remote-images.patch
     - Remove tracking javascript code and remote images
+  * debian/patches/07_disable_check_tables.patch
+    - 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 02:11:40 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Fri, 03 Jun 2011 14:55:52 +0200
 
 pyke (1.1.1-1) unstable; urgency=low
 

Modified: packages/pyke/trunk/debian/patches/05_do-not-use-embedded-ply.patch
===================================================================
--- packages/pyke/trunk/debian/patches/05_do-not-use-embedded-ply.patch	2011-06-03 00:33:01 UTC (rev 17275)
+++ packages/pyke/trunk/debian/patches/05_do-not-use-embedded-ply.patch	2011-06-03 12:56:55 UTC (rev 17276)
@@ -1,5 +1,6 @@
 Description: Do not use embedded copy of python-ply
 Author: Daniele Tricoli <eriol at mornie.org>
+Forwarded: not-needed
 --- a/pyke/krb_compiler/kfbparser.py
 +++ b/pyke/krb_compiler/kfbparser.py
 @@ -26,7 +26,7 @@

Added: packages/pyke/trunk/debian/patches/07_disable_check_tables.patch
===================================================================
--- packages/pyke/trunk/debian/patches/07_disable_check_tables.patch	                        (rev 0)
+++ packages/pyke/trunk/debian/patches/07_disable_check_tables.patch	2011-06-03 12:56:55 UTC (rev 17276)
@@ -0,0 +1,41 @@
+Description: On Debian, tables are regenerated at built time so we can skip
+ check_tables. Proper debug path inside python-ply generated tables will not be
+ reset.
+Author: Jakub Wilk <jwilk at debian.org>
+Forwarded: not-needed
+--- a/pyke/krb_compiler/kfbparser.py
++++ b/pyke/krb_compiler/kfbparser.py
+@@ -121,7 +121,8 @@
+                                debug=debug, debugfile='kfbparser.yacc.out',
+                                outputdir=outputdir)
+         else:
+-            if check_tables:
++            if False:
++                # On Debian systems, check_tables is ignored.
+                 kfbparser_mtime = os.path.getmtime(this_module.__file__)
+                 tables_name = os.path.join(outputdir, 'kfbparser_tables.py')
+                 try:
+--- a/pyke/krb_compiler/krbparser.py
++++ b/pyke/krb_compiler/krbparser.py
+@@ -564,7 +564,8 @@
+                                debug=debug, debugfile='krbparser.yacc.out',
+                                outputdir=outputdir)
+         else:
+-            if check_tables:
++            if False:
++                # On Debian systems, check_tables is ignored.
+                 krbparser_mtime = os.path.getmtime(this_module.__file__)
+                 tables_name = os.path.join(outputdir, 'krbparser_tables.py')
+                 try:
+--- a/pyke/krb_compiler/scanner.py
++++ b/pyke/krb_compiler/scanner.py
+@@ -674,7 +674,8 @@
+         if debug_param:
+             lexer = lex.lex(module=this_module, debug=1)
+         else:
+-            if check_tables:
++            if False:
++                # On Debian systems, check_tables is ignored.
+                 scanner_mtime = os.path.getmtime(this_module.__file__)
+                 tables_name = \
+                     os.path.join(os.path.dirname(this_module.__file__),

Modified: packages/pyke/trunk/debian/patches/series
===================================================================
--- packages/pyke/trunk/debian/patches/series	2011-06-03 00:33:01 UTC (rev 17275)
+++ packages/pyke/trunk/debian/patches/series	2011-06-03 12:56:55 UTC (rev 17276)
@@ -4,3 +4,4 @@
 04_fix-shorter-float-repr.patch
 05_do-not-use-embedded-ply.patch
 06_remove-tracking-javascript-and-remote-images.patch
+07_disable_check_tables.patch




More information about the Python-modules-commits mailing list