Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-dill for openSUSE:Factory 
checked in at 2021-03-05 13:44:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-dill (Old)
 and      /work/SRC/openSUSE:Factory/.python-dill.new.2378 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-dill"

Fri Mar  5 13:44:51 2021 rev:8 rq:875643 version:0.3.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-dill/python-dill.changes  2020-12-12 
20:31:12.881780070 +0100
+++ /work/SRC/openSUSE:Factory/.python-dill.new.2378/python-dill.changes        
2021-03-05 13:44:58.359605633 +0100
@@ -1,0 +2,13 @@
+Fri Feb 26 23:46:51 UTC 2021 - John Vandenberg <jay...@gmail.com>
+
+- Add 07e24913.patch to fix s390x and ppc64
+
+-------------------------------------------------------------------
+Fri Feb 26 04:58:06 UTC 2021 - John Vandenberg <jay...@gmail.com>
+
+- Update to v0.3.3
+  * See https://github.com/uqfoundation/dill/compare/dill-0.3.2...dill-0.3.3
+- from v0.3.2
+  * See https://github.com/uqfoundation/dill/compare/dill-0.3.1.1...dill-0.3.2
+
+-------------------------------------------------------------------

Old:
----
  dill-0.3.1.1.tar.gz

New:
----
  07e24913.patch
  dill-0.3.3.zip

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

Other differences:
------------------
++++++ python-dill.spec ++++++
--- /var/tmp/diff_new_pack.ymX2Mz/_old  2021-03-05 13:44:59.031606243 +0100
+++ /var/tmp/diff_new_pack.ymX2Mz/_new  2021-03-05 13:44:59.031606243 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-dill
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,17 +18,19 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-dill
-Version:        0.3.1.1
+Version:        0.3.3
 Release:        0
 Summary:        Module to serialize all of Python
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 URL:            https://github.com/uqfoundation/dill
-Source:         
https://files.pythonhosted.org/packages/source/d/dill/dill-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/d/dill/dill-%{version}.zip
+Patch0:         https://github.com/uqfoundation/dill/commit/07e24913.patch
 BuildRequires:  %{python_module objgraph >= 1.7.2}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+BuildRequires:  unzip
 %if 0%{?suse_version} >= 1550
 BuildRequires:  %{python_module dbm}
 %else
@@ -53,6 +55,7 @@
 
 %prep
 %setup -q -n dill-%{version}
+%patch0 -p1
 find dill -name '*.py' -exec sed -i '1{\@^#!%{_bindir}/env python@d}' {} \;
 
 %build
@@ -70,7 +73,7 @@
 export PYTHONDONTWRITEBYTECODE=1
 # Creative; copied from .travis.yml
 failed=0
-for test in tests/*.py; do
+for test in tests/test_*.py; do
 %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python $test || 
failed=1
 done
 exit $failed

++++++ 07e24913.patch ++++++
>From 07e24913e88dfe26448226f9cfd1ee6cf5c2a760 Mon Sep 17 00:00:00 2001
From: mmckerns <mmcke...@caltech.edu>
Date: Fri, 26 Feb 2021 12:01:52 -0500
Subject: [PATCH] comment out BigEndianStructureType

---
 dill/_objects.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dill/_objects.py b/dill/_objects.py
index 3adba2b..5c54aba 100644
--- a/dill/_objects.py
+++ b/dill/_objects.py
@@ -216,8 +216,8 @@ class _Struct(ctypes.Structure):
     a['CSizeTType'] = ctypes.c_size_t()
     a['CLibraryLoaderType'] = ctypes.cdll
     a['StructureType'] = _Struct
-    if not IS_PYPY:
-        a['BigEndianStructureType'] = ctypes.BigEndianStructure()
+    # if not IS_PYPY:
+    #     a['BigEndianStructureType'] = ctypes.BigEndianStructure()
 #NOTE: also LittleEndianStructureType and UnionType... abstract classes
 #NOTE: remember for ctypesobj.contents creates a new python object
 #NOTE: ctypes.c_int._objects is memberdescriptor for object's __dict__

Reply via email to