15
0

- update to 2.10.70:

* all exceptions docstrings were defined.
  * stream_size stream_iseof now raise properly StreamError
  * Keep track of offsets within substreams where possible
  * Fix missing objects in Struct._emitbuild's context
  * Fix ExprMixin for and/or being compiled as logical instead of
    bitwise
  * Issue 1046: Docs updated accordingly.
  * enum34 module renamed to enum, etc.
  * Use builtin dict instead of collections.OrderedDict for class
    Contain…
  * Implement __getstate__ and __setstate__ on Container
  * documentation updates
  * no changelog available
- Skip NumPy tests on pyhton36 flavor. Due to NEP29, python36-numpy
  Necessary due change in pytest macro gh#openSUSE/python-rpm-macros#48

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-construct?expand=0&rev=43
This commit is contained in:
2023-12-29 18:15:59 +00:00
committed by Git OBS Bridge
parent b5671d675d
commit a91814eb48
5 changed files with 38 additions and 22 deletions

View File

@@ -1,7 +1,7 @@
Index: construct-2.10.56/construct/__init__.py
Index: construct-2.10.70/construct/__init__.py
===================================================================
--- construct-2.10.56.orig/construct/__init__.py
+++ construct-2.10.56/construct/__init__.py
--- construct-2.10.70.orig/construct/__init__.py
+++ construct-2.10.70/construct/__init__.py
@@ -21,7 +21,6 @@ Hands-on example:
from construct.core import *
@@ -10,15 +10,15 @@ Index: construct-2.10.56/construct/__init__.py
from construct.version import *
from construct import lib
@@ -69,7 +68,6 @@ __all__ = [
@@ -71,7 +70,6 @@ __all__ = [
'ConstructError',
'Container',
'CString',
- 'Debugger',
'Default',
'Double',
'Enum',
@@ -143,7 +141,6 @@ __all__ = [
'EncryptedSym',
@@ -148,7 +146,6 @@ __all__ = [
'possiblestringencodings',
'Prefixed',
'PrefixedArray',
@@ -26,7 +26,7 @@ Index: construct-2.10.56/construct/__init__.py
'ProcessRotateLeft',
'ProcessXor',
'RangeError',
@@ -206,3 +203,9 @@ __all__ = [
@@ -213,3 +210,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 (16,32,64) for bln in "bln"]