Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-construct for
openSUSE:Factory checked in at 2024-01-05 22:58:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-construct (Old)
and /work/SRC/openSUSE:Factory/.python-construct.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-construct"
Fri Jan 5 22:58:52 2024 rev:19 rq:1136270 version:2.10.70
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-construct/python-construct.changes
2022-03-29 18:14:19.755068000 +0200
+++
/work/SRC/openSUSE:Factory/.python-construct.new.28375/python-construct.changes
2024-01-05 22:58:54.200768222 +0100
@@ -1,0 +2,16 @@
+Fri Dec 29 18:13:42 UTC 2023 - Dirk Müller <[email protected]>
+
+- 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
+
+-------------------------------------------------------------------
Old:
----
construct-2.10.68.tar.gz
New:
----
construct-2.10.70.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-construct.spec ++++++
--- /var/tmp/diff_new_pack.SGYxBg/_old 2024-01-05 22:58:54.968796362 +0100
+++ /var/tmp/diff_new_pack.SGYxBg/_new 2024-01-05 22:58:54.968796362 +0100
@@ -1,7 +1,7 @@
#
# spec file
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
@@ -24,16 +23,18 @@
%else
%bcond_with test
%endif
-%define skip_python2 1
+%{?sle15_python_module_pythons}
Name: python-construct%{?psuffix}
-Version: 2.10.68
+Version: 2.10.70
Release: 0
Summary: A declarative parser/builder for binary data
License: MIT
URL: https://github.com/construct/construct
Source:
https://github.com/construct/construct/archive/v%{version}.tar.gz#/construct-%{version}.tar.gz
Patch0: split_debug.patch
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-arrow
@@ -45,11 +46,12 @@
%if %{with test}
BuildRequires: %{python_module arrow}
BuildRequires: %{python_module cloudpickle}
+BuildRequires: %{python_module cryptography}
BuildRequires: %{python_module lz4}
+BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pytest-benchmark}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module ruamel.yaml}
-BuildRequires: %{python_module numpy if (%python-base without python36-base)}
%endif
%python_subpackages
@@ -71,12 +73,12 @@
%build
%if %{without test}
-%python_build
+%pyproject_wheel
%endif
%install
%if %{without test}
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
@@ -94,6 +96,6 @@
%license LICENSE
%doc README.rst
%{python_sitelib}/construct
-%{python_sitelib}/construct-%{version}-py%{python_version}.egg-info
+%{python_sitelib}/construct-%{version}.dist-info
%endif
++++++ construct-2.10.68.tar.gz -> construct-2.10.70.tar.gz ++++++
++++ 1701 lines of diff (skipped)
++++++ split_debug.patch ++++++
--- /var/tmp/diff_new_pack.SGYxBg/_old 2024-01-05 22:58:55.124802079 +0100
+++ /var/tmp/diff_new_pack.SGYxBg/_new 2024-01-05 22:58:55.128802225 +0100
@@ -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 @@
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 @@
'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"]