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
