Hello community,

here is the log from the commit of package python-construct for 
openSUSE:Factory checked in at 2019-01-28 20:45:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-construct (Old)
 and      /work/SRC/openSUSE:Factory/.python-construct.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-construct"

Mon Jan 28 20:45:38 2019 rev:11 rq:664590 version:2.9.45

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-construct/python-construct.changes        
2018-12-06 12:14:28.309703226 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-construct.new.28833/python-construct.changes 
    2019-01-28 20:45:40.346080210 +0100
@@ -1,0 +2,13 @@
+Mon Jan  7 11:37:34 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Reintroduce split_debug.patch for rpmlint[mini] mode
+
+-------------------------------------------------------------------
+Wed Jan  2 09:36:53 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Version update to 2.9.45:
+  * No obvious changelog present
+- Remove obsolete split_debug.patch
+- Use github tarball in order to be able to run tests
+
+-------------------------------------------------------------------

Old:
----
  construct-2.8.12.tar.gz

New:
----
  v2.9.45.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-construct.spec ++++++
--- /var/tmp/diff_new_pack.3CWvoX/_old  2019-01-28 20:45:41.390079112 +0100
+++ /var/tmp/diff_new_pack.3CWvoX/_new  2019-01-28 20:45:41.394079108 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-construct
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,19 +18,27 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-construct
-Version:        2.8.12
+Version:        2.9.45
 Release:        0
 Summary:        A declarative parser/builder for binary data
 License:        MIT
 Group:          Development/Languages/Python
-URL:            http://construct.readthedocs.org
-Source:         
https://files.pythonhosted.org/packages/source/c/construct/construct-%{version}.tar.gz
-# PATCH-FEATURE-OPENSUSE split_debug.patch [email protected] -- make 
debug.py non-loadable
+URL:            https://github.com/construct/construct
+Source:         
https://github.com/construct/construct/archive/v%{version}.tar.gz
 Patch0:         split_debug.patch
+BuildRequires:  %{python_module arrow}
+BuildRequires:  %{python_module pytest-benchmark}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
+Requires:       python-arrow
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-six
+BuildRequires:  python2-enum34
+%ifpython2
+Requires:       python-enum34
+%endif
 BuildArch:      noarch
 %python_subpackages
 
@@ -46,6 +54,10 @@
 %setup -q -n construct-%{version}
 %patch0 -p1
 
+# remove gallery tests that require in place stuff
+rm -rf tests/gallery
+rm -rf tests/deprecated_gallery
+
 %build
 %python_build
 
@@ -53,6 +65,9 @@
 %python_install
 %python_expand %fdupes -s %{buildroot}%{$python_sitelib}
 
+%check
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
py.test-%{$python_bin_suffix}
+
 %files %{python_files}
 %license LICENSE
 %doc README.rst

++++++ split_debug.patch ++++++
--- /var/tmp/diff_new_pack.3CWvoX/_old  2019-01-28 20:45:41.418079082 +0100
+++ /var/tmp/diff_new_pack.3CWvoX/_new  2019-01-28 20:45:41.418079082 +0100
@@ -1,26 +1,39 @@
-Index: construct-2.8.11/construct/__init__.py
+Index: construct-2.9.45/construct/__init__.py
 ===================================================================
---- construct-2.8.11.orig/construct/__init__.py
-+++ construct-2.8.11/construct/__init__.py
-@@ -21,7 +21,6 @@
+--- construct-2.9.45.orig/construct/__init__.py
++++ construct-2.9.45/construct/__init__.py
+@@ -21,7 +21,6 @@ Hands-on example:
  
  from construct.core import *
- from construct.expr import this, Path, Path2, PathFunc, len_, sum_, min_, 
max_, abs_, obj_
--from construct.debug import Probe, ProbeInto, Debugger
- from construct.version import version, version_string, release_date
+ from construct.expr import *
+-from construct.debug import *
+ from construct.version import *
  from construct import lib
  
-@@ -40,6 +39,12 @@
- # exposed names
- 
#===============================================================================
- __all__ = [
--    'AdaptationError', 'Aligned', 'AlignedStruct', 'Array', 'Bit', 
'BitIntegerError', 'BitStruct', 'Bitwise', 'CString', 'Construct', 
'ConstructError', 'Container', 'Debugger', 'EmbeddedBitStruct', 'Enum', 
'ExprAdapter', 'FieldError', 'Flag', 'FlagsContainer', 'FlagsEnum', 'Bytes', 
'FormatField', 'GreedyRange', 'HexDump', 'HexString', 'If', 'IfThenElse', 
'Indexing', 'LazyBound', 'LazyContainer', 'ListContainer', 'Mapping', 
'MappingError', 'Nibble', 'NoneOf', 'Octet', 'OnDemand', 'OnDemandPointer', 
'OneOf', 'Optional', 'OverwriteError', 'Packer', 'Padding', 'PaddingError', 
'PascalString', 'Pass', 'Peek', 'Pointer', 'PrefixedArray', 'Probe', 'Range', 
'RangeError', 'Renamed', 'RepeatUntil', 'Select', 'SelectError', 'Sequence', 
'SizeofError', 'Slicing', 'String', 'Struct', 'Subconstruct', 'Switch', 
'SwitchError', 'SymmetricMapping', 'Terminated', 'TerminatedError', 
'UnionError', 'Union', 'ValidationError', 'Validator', 'Computed', 'Bytes', 
'Tunnel', 'Embedded', 'Const', 'ConstError', 'VarInt', 'StringError', 
'Checksum', 'ByteSwapped', 'LazyStruct', 'Numpy', 'Adapter', 
'SymmetricAdapter', 'Tunnel', 'Compressed', 'GreedyBytes', 'Prefixed', 
'Padded', 'GreedyString', 'RawCopy', 'LazyRange', 'LazySequence', 
'LazySequenceContainer', 'BitsInteger', 'BytesInteger', '__author__', 
'__version__', 'Restreamed', 'RestreamedBytesIO', 'Bytewise', 
'LazyRangeContainer', 'BitsSwapped', 'RebufferedBytesIO', 'Rebuffered', 
'version', 
'version_string','lib','Seek','Tell','setglobalstringencoding','globalstringencoding','NamedTuple','ExprValidator','Filter','Hex','Error','ExplicitError','release_date','Rebuild','Check','len_','sum_','min_','max_','abs_','obj_','singleton','singletonfunction',
 'this', 
'Path','Path2','PathFunc','FocusedSeq','FocusedError','ExprSymmetricAdapter','ProbeInto','Default','ChecksumError','StopIf',
 'setglobalfullprinting','getglobalfullprinting','Byte','Short','Int','Long',
-+    'AdaptationError', 'Aligned', 'AlignedStruct', 'Array', 'Bit', 
'BitIntegerError', 'BitStruct', 'Bitwise', 'CString', 'Construct', 
'ConstructError', 'Container', 'EmbeddedBitStruct', 'Enum', 'ExprAdapter', 
'FieldError', 'Flag', 'FlagsContainer', 'FlagsEnum', 'Bytes', 'FormatField', 
'GreedyRange', 'HexDump', 'HexString', 'If', 'IfThenElse', 'Indexing', 
'LazyBound', 'LazyContainer', 'ListContainer', 'Mapping', 'MappingError', 
'Nibble', 'NoneOf', 'Octet', 'OnDemand', 'OnDemandPointer', 'OneOf', 
'Optional', 'OverwriteError', 'Packer', 'Padding', 'PaddingError', 
'PascalString', 'Pass', 'Peek', 'Pointer', 'PrefixedArray', 'Range', 
'RangeError', 'Renamed', 'RepeatUntil', 'Select', 'SelectError', 'Sequence', 
'SizeofError', 'Slicing', 'String', 'Struct', 'Subconstruct', 'Switch', 
'SwitchError', 'SymmetricMapping', 'Terminated', 'TerminatedError', 
'UnionError', 'Union', 'ValidationError', 'Validator', 'Computed', 'Bytes', 
'Tunnel', 'Embedded', 'Const', 'ConstError', 'VarInt', 'StringError', 
'Checksum', 'ByteSwapped', 'LazyStruct', 'Numpy', 'Adapter', 
'SymmetricAdapter', 'Tunnel', 'Compressed', 'GreedyBytes', 'Prefixed', 
'Padded', 'GreedyString', 'RawCopy', 'LazyRange', 'LazySequence', 
'LazySequenceContainer', 'BitsInteger', 'BytesInteger', '__author__', 
'__version__', 'Restreamed', 'RestreamedBytesIO', 'Bytewise', 
'LazyRangeContainer', 'BitsSwapped', 'RebufferedBytesIO', 'Rebuffered', 
'version', 
'version_string','lib','Seek','Tell','setglobalstringencoding','globalstringencoding','NamedTuple','ExprValidator','Filter','Hex','Error','ExplicitError','release_date','Rebuild','Check','len_','sum_','min_','max_','abs_','obj_','singleton','singletonfunction',
 'this', 
'Path','Path2','PathFunc','FocusedSeq','FocusedError','ExprSymmetricAdapter','Default','ChecksumError','StopIf',
 'setglobalfullprinting','getglobalfullprinting','Byte','Short','Int','Long',
- 
- ] + ["Int%s%s%s" % (n,us,bln) for n in (8,16,32,64) for us in "us" for bln in 
"bln"] + ["Int24ub","Int24ul","Int24sb","Int24sl"] + ["Float%s%s" % (n,bl) for 
n in (32,64) for bl in "bl"] + ["Single","Double"]
+@@ -69,7 +68,6 @@ __all__ = [
+     'ConstructError',
+     'Container',
+     'CString',
+-    'Debugger',
+     'Default',
+     'Double',
+     'Embedded',
+@@ -144,7 +142,6 @@ __all__ = [
+     'possiblestringencodings',
+     'Prefixed',
+     'PrefixedArray',
+-    'Probe',
+     'ProcessRotateLeft',
+     'ProcessXor',
+     'RangeError',
+@@ -207,3 +204,10 @@ __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"]
 +
 +try:
-+    from construct.debug import Probe, Debugger, ProbeInto
-+    __all__ = __all__ + ['Debugger', 'Probe', 'ProbeInto']
++    from construct.debug import *
++    __all__ += ['Debugger', 'Probe']
 +except ImportError:
 +    pass
++


Reply via email to