[Python-modules-commits] r798 - in /packages/python-htmltmpl/trunk: debian/ debian/README.Debian debian/changelog debian/compat debian/control debian/copyright debian/docs debian/examples debian/rules htmltmpl.py setup.py

sto at users.alioth.debian.org sto at users.alioth.debian.org
Wed Jun 14 09:54:37 UTC 2006


Author: sto
Date: Wed Jun 14 09:54:36 2006
New Revision: 798

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=798
Log:
Load newtrunk into packages/python-htmltmpl/trunk.

Added:
    packages/python-htmltmpl/trunk/debian/
    packages/python-htmltmpl/trunk/debian/README.Debian
    packages/python-htmltmpl/trunk/debian/changelog
    packages/python-htmltmpl/trunk/debian/compat
    packages/python-htmltmpl/trunk/debian/control
    packages/python-htmltmpl/trunk/debian/copyright
    packages/python-htmltmpl/trunk/debian/docs
    packages/python-htmltmpl/trunk/debian/examples
    packages/python-htmltmpl/trunk/debian/rules   (with props)
Modified:
    packages/python-htmltmpl/trunk/htmltmpl.py
    packages/python-htmltmpl/trunk/setup.py   (contents, props changed)

Added: packages/python-htmltmpl/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/python-modules/packages/python-htmltmpl/trunk/debian/README.Debian?rev=798&op=file
==============================================================================
--- packages/python-htmltmpl/trunk/debian/README.Debian (added)
+++ packages/python-htmltmpl/trunk/debian/README.Debian Wed Jun 14 09:54:36 2006
@@ -1,0 +1,16 @@
+python-htmltmpl for Debian
+--------------------------
+
+The html documentation for the package can be found in the directory:
+  
+  /usr/share/doc/python-html/doc
+
+And in the 'examples' subdirectory you'll find the test suite, a sample
+easydoc main program and an i18n tool for the templates (see the docs).
+    
+NOTE: If you use vim 6.0 and syntax highlighting there's a syntax script for
+htmltmpl available on:
+
+  http://www.vim.org/script.php?script_id=254
+
+-- Sergio Talens-Oliag <sto at debian.org>,  Wed, 14 Jun 2006 00:19:36 +0200

Added: packages/python-htmltmpl/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/python-htmltmpl/trunk/debian/changelog?rev=798&op=file
==============================================================================
--- packages/python-htmltmpl/trunk/debian/changelog (added)
+++ packages/python-htmltmpl/trunk/debian/changelog Wed Jun 14 09:54:36 2006
@@ -1,0 +1,69 @@
+python-htmltmpl (1.22-8) unstable; urgency=low
+
+  * Package updated to the new Python policy following notes from:
+    http://wiki.debian.org/DebianPython/NewPolicy.
+
+ -- Sergio Talens-Oliag <sto at debian.org>  Wed, 14 Jun 2006 00:57:25 +0200
+
+python-htmltmpl (1.22-7) unstable; urgency=low
+
+  * Add python to build-depends, neither python2.3-dev nor python2.4-dev
+    depend on it and the package fails to build from source on a clean
+    environment because the interpreter is called using the name *python*, but
+    that is a link included on the python package (closes: Bug#354356).
+
+ -- Sergio Talens-Oliag <sto at debian.org>  Sat, 25 Feb 2006 20:16:20 +0100
+
+python-htmltmpl (1.22-6) unstable; urgency=low
+
+  * Build the package for python2.3 and python2.4, removing old python2.1 and
+    python2.2 versions (closes: Bug#351141).
+  * Build the package using cdbs.
+
+ -- Sergio Talens-Oliag <sto at debian.org>  Thu,  2 Feb 2006 23:20:44 +0100
+
+python-htmltmpl (1.22-5) unstable; urgency=low
+
+  * Default python changed to python2.3.
+
+ -- Sergio Talens-Oliag <sto at debian.org>  Mon, 11 Aug 2003 08:25:32 +0200 
+
+python-htmltmpl (1.22-4) unstable; urgency=low
+
+  * Ooops, added debian control files to include docs and examples in the
+    packages. I should have checked last time. (closes: Bug#193599)
+  
+  * Fixed postinstall and prerm scripts and modified to compile only my own
+    package .py files.
+
+ -- Sergio Talens-Oliag <sto at debian.org>  Sat, 17 May 2003 09:02:29 +0200 
+
+python-htmltmpl (1.22-3) unstable; urgency=low
+
+  * Changed section to 'python'.
+  * Fixed the python2.3 package.
+  * Changed the package description to let the user know that the templates
+    are not fully compatible with the HTML::Template versions. I feel that
+    making it compatible should be done upstream, but I've received no
+    feedback (closes: Bug#182181).
+  * Fixed previous patch (NULL variables) to allow variables with value of '0'
+    (closes: Bug#182781).
+
+ -- Sergio Talens-Oliag <sto at debian.org>  Wed, 09 Apr 2003 00:58:20 +0200 
+ 
+python-htmltmpl (1.22-2) unstable; urgency=low
+
+  * Added build-depends on 'python' (closes: Bug#165169).
+  * Applied patch to avoid replacing NULL variables with the string 'None'
+    when processing the templates.
+  * Updated policy to 3.5.7.
+  * Build package for python2.3.
+
+ -- Sergio Talens-Oliag <sto at debian.org>  Thu, 17 Oct 2002 17:09:44 +0200
+
+python-htmltmpl (1.22-1) unstable; urgency=low
+
+  * Initial Release (closes: Bug#162018)
+
+ -- Sergio Talens-Oliag <sto at debian.org>  Fri, 27 Sep 2002 02:07:38 +0200
+

Added: packages/python-htmltmpl/trunk/debian/compat
URL: http://svn.debian.org/wsvn/python-modules/packages/python-htmltmpl/trunk/debian/compat?rev=798&op=file
==============================================================================
--- packages/python-htmltmpl/trunk/debian/compat (added)
+++ packages/python-htmltmpl/trunk/debian/compat Wed Jun 14 09:54:36 2006
@@ -1,0 +1,1 @@
+5

Added: packages/python-htmltmpl/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/python-htmltmpl/trunk/debian/control?rev=798&op=file
==============================================================================
--- packages/python-htmltmpl/trunk/debian/control (added)
+++ packages/python-htmltmpl/trunk/debian/control Wed Jun 14 09:54:36 2006
@@ -1,0 +1,32 @@
+Source: python-htmltmpl
+Section: python
+Priority: optional
+Maintainer: Sergio Talens-Oliag <sto at debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: cdbs, debhelper (>= 5.0.37.1)
+Build-Depends-Indep: python-all-dev, python-support (>= 0.2.3)
+XS-Python-Version: all
+Standards-Version: 3.7.2.0
+
+Package: python-htmltmpl
+Architecture: all
+Depends: ${python:Depends}
+Conflicts: python2.3-htmltmpl (<< 1.22-8), python2.4-htmltmpl (<< 1.22-8)
+Replaces: python2.3-htmltmpl (<< 1.22-8), python2.4-htmltmpl (<< 1.22-8)
+XB-Python-Version: ${python:Versions}
+Description: Templating engine for separation of code and HTML
+ The purpose of the templating engine is to provide web application
+ developers, who need to separate program code and design (HTML code)
+ of their web application projects, with a templating tool that can be
+ easily used by cooperating webdesigners who have no programming
+ skills.
+ .
+ Templating language provided by the engine is inspired by Perl
+ templating module HTML::Template. Templates created for HTML::Template
+ can be used with this engine in case they do not violate character case 
+ rules of htmltmpl.
+ .
+ The engine is currently available for Python and PHP. The Python
+ package includes easydoc, a module which uses the templating engine to
+ generate HTML documentation from docstrings embedded in source files
+ of Python modules.

Added: packages/python-htmltmpl/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/python-modules/packages/python-htmltmpl/trunk/debian/copyright?rev=798&op=file
==============================================================================
--- packages/python-htmltmpl/trunk/debian/copyright (added)
+++ packages/python-htmltmpl/trunk/debian/copyright Wed Jun 14 09:54:36 2006
@@ -1,0 +1,10 @@
+This package was debianized by Sergio Talens-Oliag <sto at debian.org> on
+Fri, 27 Sep 2002 02:07:38 +0200.
+
+It was downloaded from <http://htmltmpl.sourceforge.net/>
+
+Upstream Author: Tomas Styblo <tripie at cpan.org>
+
+Copyright:
+
+GPL, on debian systems look in '/usr/share/common-licenses/GPL'.

Added: packages/python-htmltmpl/trunk/debian/docs
URL: http://svn.debian.org/wsvn/python-modules/packages/python-htmltmpl/trunk/debian/docs?rev=798&op=file
==============================================================================
--- packages/python-htmltmpl/trunk/debian/docs (added)
+++ packages/python-htmltmpl/trunk/debian/docs Wed Jun 14 09:54:36 2006
@@ -1,0 +1,1 @@
+doc

Added: packages/python-htmltmpl/trunk/debian/examples
URL: http://svn.debian.org/wsvn/python-modules/packages/python-htmltmpl/trunk/debian/examples?rev=798&op=file
==============================================================================
--- packages/python-htmltmpl/trunk/debian/examples (added)
+++ packages/python-htmltmpl/trunk/debian/examples Wed Jun 14 09:54:36 2006
@@ -1,0 +1,4 @@
+easy.py
+test.py
+test
+tmpl-xgettext.pl

Added: packages/python-htmltmpl/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/python-htmltmpl/trunk/debian/rules?rev=798&op=file
==============================================================================
--- packages/python-htmltmpl/trunk/debian/rules (added)
+++ packages/python-htmltmpl/trunk/debian/rules Wed Jun 14 09:54:36 2006
@@ -1,0 +1,10 @@
+#!/usr/bin/make -f
+include /usr/share/cdbs/1/class/python-distutils.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+DEB_PYTHON_INSTALL_ARGS_ALL += --install-lib usr/share/python-support/python-htmltmpl
+# Use dh_pysupport and dh_python
+binary-install/python-htmltmpl::
+	dh_pysupport -p$(cdbs_curpkg)
+	dh_python -p$(cdbs_curpkg)
+

Propchange: packages/python-htmltmpl/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Modified: packages/python-htmltmpl/trunk/htmltmpl.py
URL: http://svn.debian.org/wsvn/python-modules/packages/python-htmltmpl/trunk/htmltmpl.py?rev=798&op=diff
==============================================================================
--- packages/python-htmltmpl/trunk/htmltmpl.py (original)
+++ packages/python-htmltmpl/trunk/htmltmpl.py Wed Jun 14 09:54:36 2006
@@ -603,9 +603,10 @@
                     # If output of current block is not disabled then append
                     # the substitued and escaped variable to the output.
                     if DISABLE_OUTPUT not in output_control:
-                        value = str(self.find_value(var, loop_name, loop_pass,
-                                                    loop_total, globalp))
-                        out += self.escape(value, escape)
+                        value = self.find_value(var, loop_name, loop_pass,
+                                                loop_total, globalp)
+                        if value != "": 
+                            out += self.escape(str(value), escape)
                         self.DEB("VAR: " + str(var))
 
                 elif token == "<TMPL_LOOP":

Modified: packages/python-htmltmpl/trunk/setup.py
URL: http://svn.debian.org/wsvn/python-modules/packages/python-htmltmpl/trunk/setup.py?rev=798&op=diff
==============================================================================
--- packages/python-htmltmpl/trunk/setup.py (original)
+++ packages/python-htmltmpl/trunk/setup.py Wed Jun 14 09:54:36 2006
@@ -8,6 +8,6 @@
       author = "Tomas Styblo",
       author_email = "tripie at cpan.org",
       url = "http://htmltmpl.sourceforge.net/",
-      licence = "GNU GPL",
+      license = "GNU GPL",
       py_modules = ['htmltmpl', 'easydoc', 'easydocp']
      )

Propchange: packages/python-htmltmpl/trunk/setup.py
------------------------------------------------------------------------------
--- svn:executable (original)
+++ svn:executable Wed Jun 14 09:54:36 2006
@@ -1,0 +1,1 @@
+*




More information about the Python-modules-commits mailing list