File: ignore-pyxb.patch

package info (click to toggle)
python-pbcore 1.2.11%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 18,612 kB
  • ctags: 5,336
  • sloc: python: 22,160; xml: 2,667; makefile: 239
file content (95 lines) | stat: -rw-r--r-- 3,789 bytes parent folder | download
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
Description: Ignore hard-coded pyxb version check
 Upstream does not really care to keep up with pyxb versions
 (see https://github.com/PacificBiosciences/pbcore/pull/105/commits/2b2782e68a0117e0844279a001a010376e18b644)
 Dataset is not an interesting part of pbcore either. Disabling the hardcoded
 version check, the test suite still passes.
Author: Afif Elghraoui <afif@debian.org>
Forwarded: not-needed
Last-Update: 2016-10-09
--- python-pbcore.orig/pbcore/io/dataset/DataSetXsd.py
+++ python-pbcore/pbcore/io/dataset/DataSetXsd.py
@@ -18,10 +18,10 @@
 _GenerationUID = pyxb.utils.utility.UniqueIdentifier('urn:uuid:8749368c-9df1-11e5-86b0-001a4acb6b14')
 
 # Version of PyXB used to generate the bindings
-_PyXBVersion = '1.2.4'
+#_PyXBVersion = '1.2.4'
 # Generated bindings are not compatible across PyXB versions
-if pyxb.__version__ != _PyXBVersion:
-    raise pyxb.PyXBVersionError(_PyXBVersion)
+#if pyxb.__version__ != _PyXBVersion:
+#    raise pyxb.PyXBVersionError(_PyXBVersion)
 
 # Import bindings for namespaces imported into schema
 import pyxb.binding.datatypes
--- python-pbcore.orig/pbcore/io/dataset/_pbbase.py
+++ python-pbcore/pbcore/io/dataset/_pbbase.py
@@ -18,10 +18,10 @@
 _GenerationUID = pyxb.utils.utility.UniqueIdentifier('urn:uuid:8749368c-9df1-11e5-86b0-001a4acb6b14')
 
 # Version of PyXB used to generate the bindings
-_PyXBVersion = '1.2.4'
+#_PyXBVersion = '1.2.4'
 # Generated bindings are not compatible across PyXB versions
-if pyxb.__version__ != _PyXBVersion:
-    raise pyxb.PyXBVersionError(_PyXBVersion)
+#if pyxb.__version__ != _PyXBVersion:
+#    raise pyxb.PyXBVersionError(_PyXBVersion)
 
 # Import bindings for namespaces imported into schema
 import pyxb.binding.datatypes
--- python-pbcore.orig/pbcore/io/dataset/_pbmeta.py
+++ python-pbcore/pbcore/io/dataset/_pbmeta.py
@@ -18,10 +18,10 @@
 _GenerationUID = pyxb.utils.utility.UniqueIdentifier('urn:uuid:8749368c-9df1-11e5-86b0-001a4acb6b14')
 
 # Version of PyXB used to generate the bindings
-_PyXBVersion = '1.2.4'
+#_PyXBVersion = '1.2.4'
 # Generated bindings are not compatible across PyXB versions
-if pyxb.__version__ != _PyXBVersion:
-    raise pyxb.PyXBVersionError(_PyXBVersion)
+#if pyxb.__version__ != _PyXBVersion:
+#    raise pyxb.PyXBVersionError(_PyXBVersion)
 
 # Import bindings for namespaces imported into schema
 import pyxb.binding.datatypes
--- python-pbcore.orig/pbcore/io/dataset/_pbrk.py
+++ python-pbcore/pbcore/io/dataset/_pbrk.py
@@ -18,10 +18,10 @@
 _GenerationUID = pyxb.utils.utility.UniqueIdentifier('urn:uuid:8749368c-9df1-11e5-86b0-001a4acb6b14')
 
 # Version of PyXB used to generate the bindings
-_PyXBVersion = '1.2.4'
+#_PyXBVersion = '1.2.4'
 # Generated bindings are not compatible across PyXB versions
-if pyxb.__version__ != _PyXBVersion:
-    raise pyxb.PyXBVersionError(_PyXBVersion)
+#if pyxb.__version__ != _PyXBVersion:
+#    raise pyxb.PyXBVersionError(_PyXBVersion)
 
 # Import bindings for namespaces imported into schema
 import pyxb.binding.datatypes
--- python-pbcore.orig/pbcore/io/dataset/_pbsample.py
+++ python-pbcore/pbcore/io/dataset/_pbsample.py
@@ -18,10 +18,10 @@
 _GenerationUID = pyxb.utils.utility.UniqueIdentifier('urn:uuid:8749368c-9df1-11e5-86b0-001a4acb6b14')
 
 # Version of PyXB used to generate the bindings
-_PyXBVersion = '1.2.4'
+#_PyXBVersion = '1.2.4'
 # Generated bindings are not compatible across PyXB versions
-if pyxb.__version__ != _PyXBVersion:
-    raise pyxb.PyXBVersionError(_PyXBVersion)
+#if pyxb.__version__ != _PyXBVersion:
+#    raise pyxb.PyXBVersionError(_PyXBVersion)
 
 # Import bindings for namespaces imported into schema
 import pyxb.binding.datatypes
--- python-pbcore.orig/requirements-dev.txt
+++ python-pbcore/requirements-dev.txt
@@ -1,3 +1,3 @@
 sphinx
 nose
-pyxb==1.2.4
+pyxb