forked from pool/python-construct
- Update to 2.10.56:
* drop support for python2 * no upstream changelog - Rebase patch split_debug.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-construct?expand=0&rev=33
This commit is contained in:
committed by
Git OBS Bridge
parent
60e3e866fe
commit
3cfaeef8f3
@@ -1,7 +1,7 @@
|
||||
Index: construct-2.9.45/construct/__init__.py
|
||||
Index: construct-2.10.56/construct/__init__.py
|
||||
===================================================================
|
||||
--- construct-2.9.45.orig/construct/__init__.py
|
||||
+++ construct-2.9.45/construct/__init__.py
|
||||
--- construct-2.10.56.orig/construct/__init__.py
|
||||
+++ construct-2.10.56/construct/__init__.py
|
||||
@@ -21,7 +21,6 @@ Hands-on example:
|
||||
|
||||
from construct.core import *
|
||||
@@ -17,8 +17,8 @@ Index: construct-2.9.45/construct/__init__.py
|
||||
- 'Debugger',
|
||||
'Default',
|
||||
'Double',
|
||||
'Embedded',
|
||||
@@ -144,7 +142,6 @@ __all__ = [
|
||||
'Enum',
|
||||
@@ -143,7 +141,6 @@ __all__ = [
|
||||
'possiblestringencodings',
|
||||
'Prefixed',
|
||||
'PrefixedArray',
|
||||
@@ -26,14 +26,13 @@ Index: construct-2.9.45/construct/__init__.py
|
||||
'ProcessRotateLeft',
|
||||
'ProcessXor',
|
||||
'RangeError',
|
||||
@@ -207,3 +204,10 @@ __all__ = [
|
||||
@@ -206,3 +203,9 @@ __all__ = [
|
||||
]
|
||||
__all__ += ["Int%s%s%s" % (n,us,bln) for n in (8,16,24,32,64) for us in "us" for bln in "bln"]
|
||||
__all__ += ["Float%s%s" % (n,bln) for n in (32,64) for bln in "bln"]
|
||||
__all__ += ["Float%s%s" % (n,bln) for n in (16,32,64) for bln in "bln"]
|
||||
+
|
||||
+try:
|
||||
+ from construct.debug import *
|
||||
+ __all__ += ['Debugger', 'Probe']
|
||||
+except ImportError:
|
||||
+ pass
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user