--- jaxml-3.01.orig/debian/changelog +++ jaxml-3.01/debian/changelog @@ -0,0 +1,130 @@ +jaxml (3.01-6.2) unstable; urgency=medium + + * Non-maintainer upload. + * Build using dh-python. Closes: #786124. + + -- Matthias Klose Sat, 22 Aug 2015 10:49:03 +0200 + +jaxml (3.01-6.1) unstable; urgency=low + + * Non-maintainer upload. + + [ Migual Landeata ] + * Assignment to __debug__, even as an attribute, is not allowed in + Python 2.7. See upstream tracker issue . + (LP: #719188) (Closes: #590822). Thanks to Xavier Bassery for the patch. + + -- gregor herrmann Fri, 20 Jan 2012 14:50:48 +0100 + +jaxml (3.01-6) unstable; urgency=low + + * New maintainer (Closes: #553069). + * Copyright refers to a version license file. + * Add copyright notice. + * Update Debian Policy version to 3.9.1. + * Add ${misc:Depends} to the dependencies. + + -- Vanessa Gutiérrez Sun, 22 Aug 2010 20:54:30 -0300 + +jaxml (3.01-5) unstable; urgency=low + + * Change to Standards-Version 3.7.3. + * Add Homepage line to debian/control. + * Add debian/compat file content to 5. + + -- Ernesto Nadir Crespo Avila Fri, 28 Dec 2007 07:09:14 -0430 + +jaxml (3.01-4) unstable; urgency=low + + * New maintainer (closes: #302299). + + -- Ernesto Nadir Crespo Avila Tue, 30 Jan 2007 00:20:27 -0400 + +jaxml (3.01-3) unstable; urgency=medium + + * QA upload. + * Actually conform to new Python policy. Closes: #381655. + - Build depend on debhelper (>= 5.0.37.2). + - Build depend on python-support (>= 0.3). + - Build depend on python rather than python-all-dev since we don't + compile extensions. + - Replace `Provides: ${pyhon:Provides}' (sic) with `Provides: jaxml'. + - debian/postinst, debian/postrm: Remove old compilation code. + * debian/rules: Restore `dh_compress -X.py' to keep test.py executable. + * Change section to python in accordance with the override file. + + -- Matej Vela Sun, 6 Aug 2006 23:25:00 +0200 + +jaxml (3.01-2) unstable; urgency=low + + * QA Upload. + * Update package to the new python policy (and even the previous one). + (Closes: #380848) + * Switch to cdbs, as it eases the maintenance of such tools, and uses the + builtin setup.py (instead of custom crude hack). + * Fix FSF address in debian/copyright. + + -- Pierre Habouzit Tue, 1 Aug 2006 21:59:33 +0200 + +jaxml (3.01-1) unstable; urgency=low + + * QA upload. + * Package is orphaned (see #302299); set maintainer to Debian QA Group. + * Acknowledge NMU by Matthias Klose. Closes: #206634. + * Move test.py and template.htt to examples. + * Conforms to Standards version 3.6.1. + + -- Matej Vela Tue, 26 Apr 2005 12:05:25 +0200 + +jaxml (3.01-0.1) unstable; urgency=low + + * NMU + * New upstream version. + * Add support for python2.3 (closes: #206634). + + -- Matthias Klose Tue, 26 Aug 2003 08:29:06 +0200 + +jaxml (3.0-2) unstable; urgency=low + + * Really remove python 1.5 install (closes: #188069, #188074) + + -- JP Sugarbroad Mon, 07 Apr 2003 19:47:22 -0500 + +jaxml (3.0-1) unstable; urgency=low + + * New upstream release + * Remove python 1.5 install + + -- JP Sugarbroad Sat, 5 Apr 2003 12:48:40 -0600 + +jaxml (2.24-2) unstable; urgency=low + + * Fix postinst/prerm (closes: #161108) + + -- JP Sugarbroad Mon, 16 Sep 2002 17:23:29 -0500 + +jaxml (2.24-1) unstable; urgency=low + + * New upstream release + * Update to Standards-Version 3.5.7 + * Update to python 2.2 + * Add python to Build-Depends-Indep + + -- JP Sugarbroad Sat, 14 Sep 2002 16:05:08 -0500 + +jaxml (2.22-2) unstable; urgency=low + + * Integrate NMU changes (thanks Gregor) + * Remove Build-Depends (closes: #119207) + * Expand to more python versions (closes: #123910) + Note that it compiles the .py files at install time now. + + -- JP Sugarbroad Fri, 21 Dec 2001 17:23:01 -0600 + +jaxml (2.22-1) unstable; urgency=low + + * Initial Release + + -- JP Sugarbroad Sun, 13 May 2001 03:17:02 -0500 + +# vim:nosta: --- jaxml-3.01.orig/debian/compat +++ jaxml-3.01/debian/compat @@ -0,0 +1 @@ +5 --- jaxml-3.01.orig/debian/control +++ jaxml-3.01/debian/control @@ -0,0 +1,17 @@ +Source: jaxml +Section: python +Priority: optional +Maintainer: Vanessa Gutiérrez +Build-Depends: debhelper (>= 5.0.37.2), cdbs (>= 0.4.43), python, dh-python +Standards-Version: 3.9.1 +Homepage: http://www.librelogiciel.com/software/jaxml/action_Presentation + +Package: python-jaxml +Architecture: all +Depends: ${python:Depends}, ${misc:Depends} +Provides: jaxml +Replaces: jaxml +Conflicts: jaxml +Description: Python module for generating XML documents + jaxml is a Python module that defines a class XML_document, which allows easy + and trouble-free generation of XML documents. --- jaxml-3.01.orig/debian/copyright +++ jaxml-3.01/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by JP Sugarbroad on +Sun, 13 May 2001 03:17:02 -0500. + +It was downloaded from http://www.librelogiciel.com/software/jaxml/action_Presentation + +Upstream Author: + + Jerome Alet + +Currently maintained by: + + Vanessa Gutiérrez + +Copyright: + + Copr. 2000-2003 Jerome Alet + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + 02110-1301, USA. + +On Debian systems, the complete text of the GNU General Public License +can be found in `/usr/share/common-licenses/GPL-2'. --- jaxml-3.01.orig/debian/docs +++ jaxml-3.01/debian/docs @@ -0,0 +1,3 @@ +CREDITS +NEWS +README --- jaxml-3.01.orig/debian/examples +++ jaxml-3.01/debian/examples @@ -0,0 +1 @@ +test/* --- jaxml-3.01.orig/debian/rules +++ jaxml-3.01/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +DEB_COMPRESS_EXCLUDE=.py + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk --- jaxml-3.01.orig/jaxml.py +++ jaxml-3.01/jaxml.py @@ -955,13 +955,21 @@ it inherits from the HTML_document class, but more methods are present """ - __possibleargs = {"version": "1.0", "encoding": "iso-8859-1", "content_type": "text/html", "content_disposition": "", "expires": "", "pragma": "", "redirect": "", "status": "", "statmes": "", "debug": None} + __possibleargs = {"version": "1.0", "encoding": "iso-8859-1", "content_type": "text/html", "content_disposition": "", "expires": "", "pragma": "", "redirect": "", "status": "", "statmes": "", "debug_file": None} def __init__(self, **args) : """ Initialise local datas. """ HTML_document.__init__(self) + #translate keyword argument 'debug' to 'debug_file' to not break API + if args.has_key("debug") : + if args.has_key("debug_file"): + #in case both arguments 'debug' and 'debug_file' are given, the latter wins + args.pop("debug") + else : + args["debug_file"] = args.pop("debug") + for key in self.__possibleargs.keys() : if args.has_key(key) : value = args[key] @@ -987,7 +995,7 @@ def _set_debug(self, file) : """Sets the flag to send the output to a file too.""" - self.__debug__ = file + self.__debug_file__ = file def _set_pragma(self, pragma) : """Defines the pragma value. @@ -1145,12 +1153,12 @@ def _output(self, file = "-") : """Prints the CGI script output to stdout or file. - If self.__debug__ is defined it is used as a file + If self.__debug_file__ is defined it is used as a file to which send the output to too. """ HTML_document._output(self, file) - if self.__debug__ : - HTML_document._output(self, self.__debug__) + if self.__debug_file__ : + HTML_document._output(self, self.__debug_file__) class Html_document : """This class warns the programmer when used, and exits the program.