[Python-modules-commits] r10231 - in packages/formalchemy/trunk/debian/patches (1 file)

chaica-guest at users.alioth.debian.org chaica-guest at users.alioth.debian.org
Fri Oct 30 00:31:11 UTC 2009


    Date: Friday, October 30, 2009 @ 00:31:09
  Author: chaica-guest
Revision: 10231

* Modified the upstream formalchemy/ext/pylons/pastertemplate.py for paster compatibility

Modified:
  packages/formalchemy/trunk/debian/patches/switching_locale_path

Modified: packages/formalchemy/trunk/debian/patches/switching_locale_path
===================================================================
--- packages/formalchemy/trunk/debian/patches/switching_locale_path	2009-10-29 11:42:40 UTC (rev 10230)
+++ packages/formalchemy/trunk/debian/patches/switching_locale_path	2009-10-30 00:31:09 UTC (rev 10231)
@@ -1,8 +1,8 @@
 Set internationalization in the Debian way
 Index: FormAlchemy-1.3/formalchemy/i18n.py
 ===================================================================
---- FormAlchemy-1.3.orig/formalchemy/i18n.py	2009-10-27 21:40:41.000000000 +0100
-+++ FormAlchemy-1.3/formalchemy/i18n.py	2009-10-27 21:42:03.000000000 +0100
+--- FormAlchemy-1.3.orig/formalchemy/i18n.py	2009-08-27 15:55:31.000000000 +0200
++++ FormAlchemy-1.3/formalchemy/i18n.py	2009-10-29 20:27:17.000000000 +0100
 @@ -6,7 +6,8 @@
  import os
  from gettext import GNUTranslations
@@ -15,8 +15,8 @@
      from pylons.i18n import get_lang
 Index: FormAlchemy-1.3/setup.py
 ===================================================================
---- FormAlchemy-1.3.orig/setup.py	2009-10-27 21:40:41.000000000 +0100
-+++ FormAlchemy-1.3/setup.py	2009-10-27 22:43:31.000000000 +0100
+--- FormAlchemy-1.3.orig/setup.py	2009-10-10 16:43:25.000000000 +0200
++++ FormAlchemy-1.3/setup.py	2009-10-29 20:27:17.000000000 +0100
 @@ -28,11 +28,13 @@
        download_url='http://code.google.com/p/formalchemy/downloads/list',
        install_requires=['SQLAlchemy', 'Tempita'],
@@ -35,8 +35,8 @@
            'Development Status :: 5 - Production/Stable',
 Index: FormAlchemy-1.3/MANIFEST.in
 ===================================================================
---- FormAlchemy-1.3.orig/MANIFEST.in	2009-10-27 21:40:42.000000000 +0100
-+++ FormAlchemy-1.3/MANIFEST.in	2009-10-27 22:45:59.000000000 +0100
+--- FormAlchemy-1.3.orig/MANIFEST.in	2009-08-27 15:55:30.000000000 +0200
++++ FormAlchemy-1.3/MANIFEST.in	2009-10-29 20:27:17.000000000 +0100
 @@ -10,5 +10,6 @@
  recursive-include formalchemy *tmpl
  recursive-include formalchemy *mako
@@ -47,8 +47,8 @@
  recursive-include formalchemy/tests/data *
 Index: FormAlchemy-1.3/formalchemy/templates.py
 ===================================================================
---- FormAlchemy-1.3.orig/formalchemy/templates.py	2009-10-27 21:55:41.000000000 +0100
-+++ FormAlchemy-1.3/formalchemy/templates.py	2009-10-27 21:55:58.000000000 +0100
+--- FormAlchemy-1.3.orig/formalchemy/templates.py	2009-10-09 10:11:12.000000000 +0200
++++ FormAlchemy-1.3/formalchemy/templates.py	2009-10-29 20:27:17.000000000 +0100
 @@ -20,7 +20,8 @@
      HAS_GENSHI = False
  
@@ -59,3 +59,16 @@
          'paster_templates','pylons_fa','+package+','templates', 'forms')
  
  class TemplateEngine(object):
+Index: FormAlchemy-1.3/formalchemy/ext/pylons/pastertemplate.py
+===================================================================
+--- FormAlchemy-1.3.orig/formalchemy/ext/pylons/pastertemplate.py	2009-10-29 20:34:09.000000000 +0100
++++ FormAlchemy-1.3/formalchemy/ext/pylons/pastertemplate.py	2009-10-29 20:34:46.000000000 +0100
+@@ -7,7 +7,7 @@
+         pass
+ else:
+     class PylonsTemplate(Template):
+-        _template_dir = ('formalchemy', 'paster_templates/pylons_fa')
++        _template_dir = ('/usr/share', 'paster_templates/pylons_fa')
+         summary = 'Pylons application template with formalchemy support'
+         required_templates = ['pylons']
+         template_renderer = staticmethod(paste_script_template_renderer)




More information about the Python-modules-commits mailing list