Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-ctypeslib2 for
openSUSE:Factory checked in at 2023-08-28 17:13:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ctypeslib2 (Old)
and /work/SRC/openSUSE:Factory/.python-ctypeslib2.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ctypeslib2"
Mon Aug 28 17:13:28 2023 rev:10 rq:1105929 version:2.3.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ctypeslib2/python-ctypeslib2.changes
2023-04-26 17:26:24.837991682 +0200
+++
/work/SRC/openSUSE:Factory/.python-ctypeslib2.new.1766/python-ctypeslib2.changes
2023-08-28 17:13:34.217106616 +0200
@@ -1,0 +2,7 @@
+Fri Aug 25 15:22:11 UTC 2023 - Ben Greiner <[email protected]>
+
+- Update ctypeslib2-suse-remove-info-check.patch
+- Prevent failing 15.5 build until clang is available for the
+ SLE15 python smodule (forget dead Py 3.6)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-ctypeslib2.spec ++++++
--- /var/tmp/diff_new_pack.ufHh6g/_old 2023-08-28 17:13:35.533153875 +0200
+++ /var/tmp/diff_new_pack.ufHh6g/_new 2023-08-28 17:13:35.537154019 +0200
@@ -16,20 +16,24 @@
#
-# Until python3-clang is converted to multiflavor, we have the primary flavor
only
-# Please keep the multiflavor macro usage in the specfile consistent.
-%define pythons python3
-# help in the rename from multiflavor to python3 only
-%define primary_python3 python%{python3_version_nodots}
%ifarch %{ix86} x86_64
%bcond_without test
%else
%bcond_with test
%endif
+
%if 0%{suse_version} >= 1599
# Tumbleweed default 16 is not compatible
%define clangmajor 15
+# Until python3-clang is converted to multiflavor, we have the primary flavor
only
+# Please keep the multiflavor macro usage in the specfile consistent.
+%define pythons python3
+# help in the rename from multiflavor to python3 only
+%define primary_python3 python%{python3_version_nodots}
+%else
+%{?sle15_python_module_pythons}
%endif
+
Name: python-ctypeslib2
Version: 2.3.4
Release: 0
@@ -43,8 +47,8 @@
BuildRequires: %{python_module clang%{?clangmajor} >= 11}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module setuptools_scm}
-BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module setuptools >= 57}
+BuildRequires: %{python_module setuptools_scm >= 7}
BuildRequires: %{python_module testsuite}
BuildRequires: %{python_module wheel}
BuildRequires: clang%{?clangmajor} >= 11
++++++ ctypeslib2-suse-remove-info-check.patch ++++++
--- /var/tmp/diff_new_pack.ufHh6g/_old 2023-08-28 17:13:35.565155024 +0200
+++ /var/tmp/diff_new_pack.ufHh6g/_new 2023-08-28 17:13:35.569155168 +0200
@@ -37,4 +37,27 @@
dynamic = ["version"]
[project.urls]
+From 12425beba8db4c3074bb045d80a07be8ad722ade Mon Sep 17 00:00:00 2001
+From: Ben Greiner <[email protected]>
+Date: Wed, 26 Apr 2023 11:00:41 +0200
+Subject: [PATCH] Switch clang and clang_py versions
+
+---
+ ctypeslib/clang2py.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ctypeslib/clang2py.py b/ctypeslib/clang2py.py
+index 10c29a1..49133bc 100755
+--- a/ctypeslib/clang2py.py
++++ b/ctypeslib/clang2py.py
+@@ -260,7 +260,7 @@ def windows_dlls(option, opt, value, _parser): # pylint:
disable=unused-argumen
+
+ def version_string():
+ version = "versions - %(prog)s:" \
+- f"{ctypeslib.__version__} python-clang:{clang_version()}
clang:{clang_py_version()} " \
++ f"{ctypeslib.__version__} python-clang:{clang_py_version()}
clang:{clang_version()} " \
+ f"clang_filename:{ctypeslib.__clang_library_filename}" #
pylint: disable=protected-access
+ return version
+
+(No newline at EOF)