Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package swig for openSUSE:Factory checked in 
at 2022-05-14 22:52:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/swig (Old)
 and      /work/SRC/openSUSE:Factory/.swig.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "swig"

Sat May 14 22:52:12 2022 rev:76 rq:976590 version:4.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/swig/swig.changes        2022-01-21 
01:25:26.634577427 +0100
+++ /work/SRC/openSUSE:Factory/.swig.new.1538/swig.changes      2022-05-14 
22:52:18.051001297 +0200
@@ -1,0 +2,6 @@
+Sun May  8 18:12:21 UTC 2022 - Ben Greiner <c...@bnavigator.de>
+
+- Add swig-python310.patch -- gh#swig/swig#2064, Fix swig test
+  suite with Python 3.10
+
+-------------------------------------------------------------------

New:
----
  swig-python310.patch

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

Other differences:
------------------
++++++ swig.spec ++++++
--- /var/tmp/diff_new_pack.F9WAUH/_old  2022-05-14 22:52:18.715002128 +0200
+++ /var/tmp/diff_new_pack.F9WAUH/_new  2022-05-14 22:52:18.719002132 +0200
@@ -42,6 +42,8 @@
 # PATCH-FIX-UPSTREAM swig-octave-6.patch gh#swig/swig#2020 
badshah...@gmail.com -- Allow swig to work with octave 6 and above; patch part 
of upstream merge request
 Patch0:         swig-octave-6.patch
 Patch1:         fix-gcc12-error.patch
+# PATCH-FIX-UPSTREAM swig-python310.patch -- gh#swig/swig#2064, Fix swig test 
suite with python310
+Patch2:         swig-python310.patch
 Patch308:       swig308-isfinite.diff
 
 BuildRequires:  autoconf

++++++ swig-python310.patch ++++++
>From a2850397ba3eec5d4c58304cf8277ca535919760 Mon Sep 17 00:00:00 2001
From: Julien Schueller <schuel...@phimeca.com>
Date: Thu, 5 Aug 2021 14:05:10 +0200
Subject: [PATCH] [Python] Fix overload_simple_cast test with 3.10

Closes #2044
---
 Examples/test-suite/python/python_overload_simple_cast_runme.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Examples/test-suite/python/python_overload_simple_cast_runme.py 
b/Examples/test-suite/python/python_overload_simple_cast_runme.py
index fc398ab29b9..7a0174af8a2 100644
--- a/Examples/test-suite/python/python_overload_simple_cast_runme.py
+++ b/Examples/test-suite/python/python_overload_simple_cast_runme.py
@@ -9,6 +9,8 @@ def __init__(self, x):
     def __int__(self):
         return self.x
 
+    def __index__(self):
+        return self.x
 
 class Ad:
 

Reply via email to