tag 590822 + patch
thanks
--
Miguel Landaeta, miguel at miguel.cc
secure email with PGP 0x7D8967E9 available at http://keyserver.pgp.com/
Faith means not wanting to know what is true. -- Nietzsche
diff -Nru jaxml-3.01/debian/changelog jaxml-3.01/debian/changelog
--- jaxml-3.01/debian/changelog 2011-09-29 21:46:30.0 -0430
+++ jaxml-3.01/debian/changelog 2011-09-29 21:41:56.0 -0430
@@ -1,3 +1,14 @@
+jaxml (3.01-6.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Assignment to __debug__, even as an attribute, is not allowed in
+Python 2.7. See upstream tracker issue http://bugs.python.org/issue9438.
+(LP: #719188) (Closes: #590822). Thanks to Xavier Bassery for the patch.
+ * Bump Standards-Version to 3.9.2. No changes were required.
+ * Switch to source format 3.0 (quilt).
+
+ -- Miguel Landaeta mig...@miguel.cc Thu, 29 Sep 2011 21:18:02 -0430
+
jaxml (3.01-6) unstable; urgency=low
* New maintainer (Closes: #553069).
diff -Nru jaxml-3.01/debian/control jaxml-3.01/debian/control
--- jaxml-3.01/debian/control 2011-09-29 21:46:30.0 -0430
+++ jaxml-3.01/debian/control 2011-09-29 21:39:59.0 -0430
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Vanessa GutiƩrrez vane...@gmail.com
Build-Depends: debhelper (= 5.0.37.2), cdbs (= 0.4.43), python,
python-support (= 0.3)
-Standards-Version: 3.9.1
+Standards-Version: 3.9.2
Homepage: http://www.librelogiciel.com/software/jaxml/action_Presentation
Package: python-jaxml
diff -Nru jaxml-3.01/debian/patches/python27.diff
jaxml-3.01/debian/patches/python27.diff
--- jaxml-3.01/debian/patches/python27.diff 1969-12-31 20:00:00.0
-0400
+++ jaxml-3.01/debian/patches/python27.diff 2011-09-29 21:33:38.0
-0430
@@ -0,0 +1,55 @@
+Description: Assignment to __debug__, even as an attribute, is not allowed in
Python 2.7
+Author: Xavier Bassery xav...@bartica.org
+Forwarded: no
+Last-Update: 2011-09-29
+
+--- 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.
diff -Nru jaxml-3.01/debian/patches/series jaxml-3.01/debian/patches/series
--- jaxml-3.01/debian/patches/series1969-12-31 20:00:00.0 -0400
+++ jaxml-3.01/debian/patches/series2011-09-29 21:31:16.0 -0430
@@ -0,0 +1 @@
+python27.diff
diff -Nru jaxml-3.01/debian/source/format jaxml-3.01/debian/source/format
--- jaxml-3.01/debian/source/format 1969-12-31 20:00:00.0 -0400
+++ jaxml-3.01/debian/source/format 2011-09-29 21:39:07.0 -0430
@@ -0,0 +1 @@
+3.0 (quilt)
signature.asc
Description: Digital signature