File: 02-fix-soap-enc.xsd-copyright-char.patch

package info (click to toggle)
python-zeep 4.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,604 kB
  • sloc: python: 15,562; makefile: 13
file content (36 lines) | stat: -rw-r--r-- 2,587 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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.)