--- python-htmltmpl-1.22.orig/debian/README.Debian
+++ python-htmltmpl-1.22/debian/README.Debian
@@ -0,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 , Wed, 14 Jun 2006 00:19:36 +0200
--- python-htmltmpl-1.22.orig/debian/changelog
+++ python-htmltmpl-1.22/debian/changelog
@@ -0,0 +1,97 @@
+python-htmltmpl (1.22-10.1build1) focal; urgency=medium
+
+ * No-change rebuild to generate dependencies on python2.
+
+ -- Matthias Klose Tue, 17 Dec 2019 12:42:33 +0000
+
+python-htmltmpl (1.22-10.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Build using dh-python. Closes: #786300.
+
+ -- Matthias Klose Tue, 18 Aug 2015 18:42:24 +0200
+
+python-htmltmpl (1.22-10) unstable; urgency=low
+
+ * Build-Depend on cdbs (>= 0.4.41), remove extensions from the
+ debian/rules file and set the variable DEB_PYTHON_INSTALL_ARGS to
+ '--no-compile -O0' to avoid distributing compiled .py files.
+
+ -- Sergio Talens-Oliag Thu, 15 Jun 2006 01:48:29 +0200
+
+python-htmltmpl (1.22-9) unstable; urgency=low
+
+ * Remove diffs outside the debian/ directory, use CDBS rules for
+ simple-patchsys.
+
+ -- Sergio Talens-Oliag Wed, 14 Jun 2006 12:28:17 +0200
+
+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 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 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 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 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 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 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 Thu, 17 Oct 2002 17:09:44 +0200
+
+python-htmltmpl (1.22-1) unstable; urgency=low
+
+ * Initial Release (closes: Bug#162018)
+
+ -- Sergio Talens-Oliag Fri, 27 Sep 2002 02:07:38 +0200
+
--- python-htmltmpl-1.22.orig/debian/compat
+++ python-htmltmpl-1.22/debian/compat
@@ -0,0 +1 @@
+5
--- python-htmltmpl-1.22.orig/debian/control
+++ python-htmltmpl-1.22/debian/control
@@ -0,0 +1,30 @@
+Source: python-htmltmpl
+Section: python
+Priority: optional
+Maintainer: Sergio Talens-Oliag
+Uploaders: Debian Python Modules Team
+Build-Depends: cdbs (>= 0.4.41), debhelper (>= 5.0.37.1), dh-python
+Build-Depends-Indep: python-all-dev
+XS-Python-Version: all
+Standards-Version: 3.7.2.0
+
+Package: python-htmltmpl
+Architecture: all
+Depends: ${python:Depends}
+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.
--- python-htmltmpl-1.22.orig/debian/copyright
+++ python-htmltmpl-1.22/debian/copyright
@@ -0,0 +1,10 @@
+This package was debianized by Sergio Talens-Oliag on
+Fri, 27 Sep 2002 02:07:38 +0200.
+
+It was downloaded from
+
+Upstream Author: Tomas Styblo
+
+Copyright:
+
+GPL, on debian systems look in '/usr/share/common-licenses/GPL'.
--- python-htmltmpl-1.22.orig/debian/docs
+++ python-htmltmpl-1.22/debian/docs
@@ -0,0 +1 @@
+doc
--- python-htmltmpl-1.22.orig/debian/examples
+++ python-htmltmpl-1.22/debian/examples
@@ -0,0 +1,4 @@
+easy.py
+test.py
+test
+tmpl-xgettext.pl
--- python-htmltmpl-1.22.orig/debian/patches/01_null_variables.patch
+++ python-htmltmpl-1.22/debian/patches/01_null_variables.patch
@@ -0,0 +1,16 @@
+--- ../htmltmpl-1.22/htmltmpl.py 2001-12-15 23:11:28.000000000 +0100
++++ htmltmpl.py 2006-06-14 11:54:51.057095134 +0200
+@@ -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 == "