debian-zeep/debian/patches/02-fix-soap-enc.xsd-copyrig...

37 lines
2.5 KiB
Diff

Description: Replace the copyright sign by ASCII chars
The tests
tests/test_wsdl_arrays.py
tests/test_wsdl_messages_rpc.py
are failing in an sbuild environment with
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 89: ordinal not in range(128)
while they succeed without error in the GitHub CI as well as in a local
virtual environment with tox.
While investigating further this patch replaces for now the offending char.
Author: Mathias Behrle <mbehrle@debian.org>
Bug: http://bugs.tryton.org/issue4280
Forwarded: https://github.com/mvantellingen/python-zeep/issues/290
--- a/tests/wsdl_files/soap-enc.xsd
+++ b/tests/wsdl_files/soap-enc.xsd
@@ -2,8 +2,8 @@
<!-- Schema for the SOAP/1.1 encoding
-Portions © 2001 DevelopMentor.
-© 2001 W3C (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved.
+Portions Copyright 2001 DevelopMentor.
+Copyright 2001 W3C (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved.
This document is governed by the W3C Software License [1] as described in the FAQ [2].
[1] http://www.w3.org/Consortium/Legal/copyright-software-19980720
@@ -14,7 +14,7 @@
1. The full text of this NOTICE in a location viewable to users of the redistributed or derivative work.
-2. Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, a short notice of the following form (hypertext is preferred, text is permitted) should be used within the body of any redistributed or derivative code: "Copyright © 2001 World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. http://www.w3.org/Consortium/Legal/"
+2. Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, a short notice of the following form (hypertext is preferred, text is permitted) should be used within the body of any redistributed or derivative code: "Copyright 2001 World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. http://www.w3.org/Consortium/Legal/"
3. Notice of any changes or modifications to the W3C files, including the date changes were made. (We recommend you provide URIs to the location from which the code is derived.)