Hello community,
here is the log from the commit of package python-construct for
openSUSE:Factory checked in at 2020-04-19 21:41:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-construct (Old)
and /work/SRC/openSUSE:Factory/.python-construct.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-construct"
Sun Apr 19 21:41:17 2020 rev:14 rq:785568 version:2.10.56
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-construct/python-construct.changes
2019-12-25 10:54:34.773625129 +0100
+++
/work/SRC/openSUSE:Factory/.python-construct.new.2738/python-construct.changes
2020-04-19 21:41:22.739106771 +0200
@@ -1,0 +2,8 @@
+Wed Feb 12 11:59:37 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Update to 2.10.56:
+ * drop support for python2
+ * no upstream changelog
+- Rebase patch split_debug.patch
+
+-------------------------------------------------------------------
Old:
----
v2.9.45.tar.gz
New:
----
v2.10.56.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-construct.spec ++++++
--- /var/tmp/diff_new_pack.dISsPG/_old 2020-04-19 21:41:23.971109243 +0200
+++ /var/tmp/diff_new_pack.dISsPG/_new 2020-04-19 21:41:23.979109259 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python
#
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
-%bcond_without test
%define psuffix -test
+%bcond_without test
%else
%bcond_with test
%endif
+%define skip_python2 1
Name: python-construct%{?psuffix}
-Version: 2.9.45
+Version: 2.10.56
Release: 0
Summary: A declarative parser/builder for binary data
License: MIT
@@ -35,18 +36,16 @@
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires: python-arrow
+Recommends: python-numpy
+Recommends: python-ruamel.yaml
+BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module arrow}
+BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pytest-benchmark}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module six}
-BuildRequires: python2-enum34
-%endif
-Requires: python-arrow
-Requires: python-six
-BuildArch: noarch
-%ifpython2
-Requires: python-enum34
+BuildRequires: %{python_module ruamel.yaml}
%endif
%python_subpackages
++++++ split_debug.patch ++++++
--- /var/tmp/diff_new_pack.dISsPG/_old 2020-04-19 21:41:24.019109339 +0200
+++ /var/tmp/diff_new_pack.dISsPG/_new 2020-04-19 21:41:24.019109339 +0200
@@ -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 @@
- 'Debugger',
'Default',
'Double',
- 'Embedded',
-@@ -144,7 +142,6 @@ __all__ = [
+ 'Enum',
+@@ -143,7 +141,6 @@ __all__ = [
'possiblestringencodings',
'Prefixed',
'PrefixedArray',
@@ -26,14 +26,13 @@
'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
-+
++++++ v2.9.45.tar.gz -> v2.10.56.tar.gz ++++++
++++ 3227 lines of diff (skipped)