Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-zstandard for 
openSUSE:Factory checked in at 2025-09-22 16:38:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zstandard (Old)
 and      /work/SRC/openSUSE:Factory/.python-zstandard.new.27445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-zstandard"

Mon Sep 22 16:38:43 2025 rev:20 rq:1306187 version:0.24.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-zstandard/python-zstandard.changes        
2025-09-17 16:37:21.925464190 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-zstandard.new.27445/python-zstandard.changes 
    2025-09-22 16:39:04.275875083 +0200
@@ -1,0 +2,5 @@
+Tue Sep 16 14:22:03 UTC 2025 - Matej Cepl <[email protected]>
+
+- Switch from %python_{build,install} to %pyproject_* macros.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-zstandard.spec ++++++
--- /var/tmp/diff_new_pack.gbmZdO/_old  2025-09-22 16:39:04.959903864 +0200
+++ /var/tmp/diff_new_pack.gbmZdO/_new  2025-09-22 16:39:04.959903864 +0200
@@ -52,10 +52,11 @@
 
 %build
 export CFLAGS="%{optflags}"
-%python_build --system-zstd
+%define py_setup_args "--system-zstd"
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check

++++++ feature-detection.patch ++++++
--- /var/tmp/diff_new_pack.gbmZdO/_old  2025-09-22 16:39:04.987905042 +0200
+++ /var/tmp/diff_new_pack.gbmZdO/_new  2025-09-22 16:39:04.987905042 +0200
@@ -1,8 +1,14 @@
-diff --git a/c-ext/backend_c.c b/c-ext/backend_c.c
-index 9aa7a5c..f67191a 100644
---- a/c-ext/backend_c.c
-+++ b/c-ext/backend_c.c
-@@ -210,6 +210,20 @@ void zstd_module_init(PyObject *m) {
+---
+ c-ext/backend_c.c               |   14 ++++++++++++++
+ setup_zstd.py                   |    1 +
+ tests/test_module_attributes.py |   10 +++++++++-
+ 3 files changed, 24 insertions(+), 1 deletion(-)
+
+Index: zstandard-0.24.0/c-ext/backend_c.c
+===================================================================
+--- zstandard-0.24.0.orig/c-ext/backend_c.c    2025-08-17 01:50:50.000000000 
+0200
++++ zstandard-0.24.0/c-ext/backend_c.c 2025-09-16 16:15:10.125710215 +0200
+@@ -210,6 +210,20 @@
      Py_DECREF(feature);
  #endif
  
@@ -23,11 +29,11 @@
      if (PyObject_SetAttrString(m, "backend_features", features) == -1) {
          return;
      }
-diff --git a/setup_zstd.py b/setup_zstd.py
-index 5aefdd0..3d8fe73 100644
---- a/setup_zstd.py
-+++ b/setup_zstd.py
-@@ -78,6 +78,7 @@ def get_c_extension(
+Index: zstandard-0.24.0/setup_zstd.py
+===================================================================
+--- zstandard-0.24.0.orig/setup_zstd.py        2025-08-17 02:20:18.000000000 
+0200
++++ zstandard-0.24.0/setup_zstd.py     2025-09-16 16:15:10.125758965 +0200
+@@ -79,6 +79,7 @@
  
      if system_zstd:
          extra_args.append("-DZSTD_MULTITHREAD")
@@ -35,11 +41,11 @@
      else:
          extra_args.append("-DZSTD_SINGLE_FILE")
          extra_args.append("-DZSTDLIB_VISIBLE=")
-diff --git a/tests/test_module_attributes.py b/tests/test_module_attributes.py
-index a540bfe..a081b1a 100644
---- a/tests/test_module_attributes.py
-+++ b/tests/test_module_attributes.py
-@@ -26,7 +26,15 @@ class TestModuleAttributes(unittest.TestCase):
+Index: zstandard-0.24.0/tests/test_module_attributes.py
+===================================================================
+--- zstandard-0.24.0.orig/tests/test_module_attributes.py      2025-08-17 
19:03:17.000000000 +0200
++++ zstandard-0.24.0/tests/test_module_attributes.py   2025-09-16 
16:15:10.125970238 +0200
+@@ -26,7 +26,15 @@
              },
          }[zstd.backend]
  

Reply via email to