Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-spidev for openSUSE:Factory 
checked in at 2025-06-04 20:29:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-spidev (Old)
 and      /work/SRC/openSUSE:Factory/.python-spidev.new.16005 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-spidev"

Wed Jun  4 20:29:27 2025 rev:4 rq:1282723 version:3.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-spidev/python-spidev.changes      
2022-11-10 14:24:23.215063662 +0100
+++ /work/SRC/openSUSE:Factory/.python-spidev.new.16005/python-spidev.changes   
2025-06-04 20:29:34.911539541 +0200
@@ -1,0 +2,15 @@
+Wed Jun  4 09:45:15 UTC 2025 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- Update to 3.7
+  * Fixed deprecation warning
+- Limit Python files matched in %files section
+- Switch package to modern Python Stack on SLE-15
+  * Use Python 3.11 on SLE-15 by default
+  * Drop support for older Python versions
+- Switch build system from setuptools to pyproject.toml
+  * Add python-pip and python-wheel to BuildRequires
+  * Replace %python_build with %pyproject_wheel
+  * Replace %python_install with %pyproject_install
+  * Update name for dist directory in %files section
+
+-------------------------------------------------------------------

Old:
----
  spidev-3.6.tar.gz

New:
----
  spidev-3.7.tar.gz

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

Other differences:
------------------
++++++ python-spidev.spec ++++++
--- /var/tmp/diff_new_pack.il9Cpx/_old  2025-06-04 20:29:35.443561583 +0200
+++ /var/tmp/diff_new_pack.il9Cpx/_new  2025-06-04 20:29:35.443561583 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-spidev
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,16 +16,18 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?sle15_python_module_pythons}
 Name:           python-spidev
-Version:        3.6
+Version:        3.7
 Release:        0
 Summary:        Python module for interfacing with SPI devices
 License:        MIT
 URL:            https://pypi.org/project/spidev/
 Source0:        
https://files.pythonhosted.org/packages/source/s/spidev/spidev-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  python-rpm-macros
 %python_subpackages
 
@@ -36,14 +38,14 @@
 %setup -q -n spidev-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install -O1 --skip-build
+%pyproject_install
 
 %files %{python_files}
 %doc README.md
 %license LICENSE
-%{python_sitearch}/*.so
-%{python_sitearch}/*.egg-info
+%{python_sitearch}/spidev*.so
+%{python_sitearch}/spidev-%{version}.dist-info
 

++++++ spidev-3.6.tar.gz -> spidev-3.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spidev-3.6/PKG-INFO new/spidev-3.7/PKG-INFO
--- old/spidev-3.6/PKG-INFO     2022-11-03 21:09:46.102516400 +0100
+++ new/spidev-3.7/PKG-INFO     2025-05-06 16:23:13.357438000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: spidev
-Version: 3.6
+Version: 3.7
 Summary: Python bindings for Linux SPI access through spidev
 Home-page: http://github.com/doceme/py-spidev
 Author: Volker Thoms
@@ -8,135 +8,6 @@
 Maintainer: Stephen Caudle
 Maintainer-email: [email protected]
 License: MIT
-Description: Python Spidev
-        =============
-        
-        This project contains a python module for interfacing with SPI devices 
from user space via the spidev linux kernel driver.
-        
-        All code is MIT licensed unless explicitly stated otherwise.
-        
-        Usage
-        -----
-        
-        ```python
-        import spidev
-        spi = spidev.SpiDev()
-        spi.open(bus, device)
-        to_send = [0x01, 0x02, 0x03]
-        spi.xfer(to_send)
-        ```
-        Settings
-        --------
-        
-        ```python
-        import spidev
-        spi = spidev.SpiDev()
-        spi.open(bus, device)
-        
-        # Settings (for example)
-        spi.max_speed_hz = 5000
-        spi.mode = 0b01
-        
-        ...
-        ```
-        
-        * `bits_per_word`
-        * `cshigh`
-        * `loop` - Set the "SPI_LOOP" flag to enable loopback mode
-        * `no_cs` - Set the "SPI_NO_CS" flag to disable use of the chip select 
(although the driver may still own the CS pin)
-        * `lsbfirst`
-        * `max_speed_hz`
-        * `mode` - SPI mode as two bit pattern of clock polarity and phase 
[CPOL|CPHA], min: 0b00 = 0, max: 0b11 = 3
-        * `threewire` - SI/SO signals shared
-        * `read0` - Read 0 bytes after transfer to lower CS if cshigh == True
-        
-        Methods
-        -------
-        
-            open(bus, device)
-        
-        Connects to the specified SPI device, opening 
`/dev/spidev<bus>.<device>`
-        
-            readbytes(n)
-        
-        Read n bytes from SPI device.
-        
-            writebytes(list of values)
-        
-        Writes a list of values to SPI device.
-        
-            writebytes2(list of values)
-        
-        Similar to `writebytes` but accepts arbitrary large lists.
-        If list size exceeds buffer size (which is read from 
`/sys/module/spidev/parameters/bufsiz`),
-        data will be split into smaller chunks and sent in multiple operations.
-        
-        Also, `writebytes2` understands [buffer 
protocol](https://docs.python.org/3/c-api/buffer.html)
-        so it can accept numpy byte arrays for example without need to convert 
them with `tolist()` first.
-        This offers much better performance where you need to transfer frames 
to SPI-connected displays for instance.
-        
-            xfer(list of values[, speed_hz, delay_usec, bits_per_word])
-        
-        Performs an SPI transaction. Chip-select should be released and 
reactivated between blocks.
-        Delay specifies the delay in usec between blocks.
-        
-            xfer2(list of values[, speed_hz, delay_usec, bits_per_word])
-        
-        Performs an SPI transaction. Chip-select should be held active between 
blocks.
-        
-            xfer3(list of values[, speed_hz, delay_usec, bits_per_word])
-        
-        Similar to `xfer2` but accepts arbitrary large lists.
-        If list size exceeds buffer size (which is read from 
`/sys/module/spidev/parameters/bufsiz`),
-        data will be split into smaller chunks and sent in multiple operations.
-        
-            close()
-        
-        Disconnects from the SPI device.
-        
-        Changelog
-        ---------
-        
-        3.6
-        ====
-        
-        * Added read0 flag to enable reading 0 bytes after transfer to lower 
CS when cshigh == True
-        
-        3.5
-        ====
-        
-        * Fixed memory leaks
-        
-        3.4
-        =====
-        
-        * Changed license to MIT
-        
-        3.0.1
-        =====
-        
-        * Fixed README.md and CHANGELOG.md formatting, hopefully
-        
-        3.0
-        ===
-        
-        * Memset fix recommended by Dougie Lawson
-        * Fixes for Kernel 3.15+ from https://github.com/chrillomat/py-spidev
-        * Fixes for Python 3/2 compatibility.
-        * Added subclassing support - 
https://github.com/doceme/py-spidev/issues/10
-        
-        2.0
-        ===
-        
-        Code sourced from 
http://elk.informatik.fh-augsburg.de/da/da-49/trees/pyap7k/lang/py-spi
-        and modified.
-        
-        Pre 2.0
-        =======
-        
-        spimodule.c originally uathored by Volker Thoms, 2009.
-        
-Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Operating System :: POSIX :: Linux
 Classifier: License :: OSI Approved :: MIT License
@@ -148,3 +19,132 @@
 Classifier: Topic :: System :: Hardware
 Classifier: Topic :: System :: Hardware :: Hardware Drivers
 Description-Content-Type: text/markdown
+License-File: LICENSE
+
+Python Spidev
+=============
+
+This project contains a python module for interfacing with SPI devices from 
user space via the spidev linux kernel driver.
+
+All code is MIT licensed unless explicitly stated otherwise.
+
+Usage
+-----
+
+```python
+import spidev
+spi = spidev.SpiDev()
+spi.open(bus, device)
+to_send = [0x01, 0x02, 0x03]
+spi.xfer(to_send)
+```
+Settings
+--------
+
+```python
+import spidev
+spi = spidev.SpiDev()
+spi.open(bus, device)
+
+# Settings (for example)
+spi.max_speed_hz = 5000
+spi.mode = 0b01
+
+...
+```
+
+* `bits_per_word`
+* `cshigh`
+* `loop` - Set the "SPI_LOOP" flag to enable loopback mode
+* `no_cs` - Set the "SPI_NO_CS" flag to disable use of the chip select 
(although the driver may still own the CS pin)
+* `lsbfirst`
+* `max_speed_hz`
+* `mode` - SPI mode as two bit pattern of clock polarity and phase 
[CPOL|CPHA], min: 0b00 = 0, max: 0b11 = 3
+* `threewire` - SI/SO signals shared
+* `read0` - Read 0 bytes after transfer to lower CS if cshigh == True
+
+Methods
+-------
+
+    open(bus, device)
+
+Connects to the specified SPI device, opening `/dev/spidev<bus>.<device>`
+
+    readbytes(n)
+
+Read n bytes from SPI device.
+
+    writebytes(list of values)
+
+Writes a list of values to SPI device.
+
+    writebytes2(list of values)
+
+Similar to `writebytes` but accepts arbitrary large lists.
+If list size exceeds buffer size (which is read from 
`/sys/module/spidev/parameters/bufsiz`),
+data will be split into smaller chunks and sent in multiple operations.
+
+Also, `writebytes2` understands [buffer 
protocol](https://docs.python.org/3/c-api/buffer.html)
+so it can accept numpy byte arrays for example without need to convert them 
with `tolist()` first.
+This offers much better performance where you need to transfer frames to 
SPI-connected displays for instance.
+
+    xfer(list of values[, speed_hz, delay_usec, bits_per_word])
+
+Performs an SPI transaction. Chip-select should be released and reactivated 
between blocks.
+Delay specifies the delay in usec between blocks.
+
+    xfer2(list of values[, speed_hz, delay_usec, bits_per_word])
+
+Performs an SPI transaction. Chip-select should be held active between blocks.
+
+    xfer3(list of values[, speed_hz, delay_usec, bits_per_word])
+
+Similar to `xfer2` but accepts arbitrary large lists.
+If list size exceeds buffer size (which is read from 
`/sys/module/spidev/parameters/bufsiz`),
+data will be split into smaller chunks and sent in multiple operations.
+
+    close()
+
+Disconnects from the SPI device.
+
+Changelog
+---------
+
+3.6
+====
+
+* Added read0 flag to enable reading 0 bytes after transfer to lower CS when 
cshigh == True
+
+3.5
+====
+
+* Fixed memory leaks
+
+3.4
+=====
+
+* Changed license to MIT
+
+3.0.1
+=====
+
+* Fixed README.md and CHANGELOG.md formatting, hopefully
+
+3.0
+===
+
+* Memset fix recommended by Dougie Lawson
+* Fixes for Kernel 3.15+ from https://github.com/chrillomat/py-spidev
+* Fixes for Python 3/2 compatibility.
+* Added subclassing support - https://github.com/doceme/py-spidev/issues/10
+
+2.0
+===
+
+Code sourced from 
http://elk.informatik.fh-augsburg.de/da/da-49/trees/pyap7k/lang/py-spi
+and modified.
+
+Pre 2.0
+=======
+
+spimodule.c originally uathored by Volker Thoms, 2009.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spidev-3.6/setup.cfg new/spidev-3.7/setup.cfg
--- old/spidev-3.6/setup.cfg    2022-11-03 21:09:46.102516400 +0100
+++ new/spidev-3.7/setup.cfg    2025-05-06 16:23:13.357438000 +0200
@@ -1,5 +1,5 @@
 [metadata]
-description-file = README.md
+description_file = README.md
 
 [egg_info]
 tag_build = 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spidev-3.6/spidev.egg-info/PKG-INFO 
new/spidev-3.7/spidev.egg-info/PKG-INFO
--- old/spidev-3.6/spidev.egg-info/PKG-INFO     2022-11-03 21:09:45.000000000 
+0100
+++ new/spidev-3.7/spidev.egg-info/PKG-INFO     2025-05-06 16:23:13.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: spidev
-Version: 3.6
+Version: 3.7
 Summary: Python bindings for Linux SPI access through spidev
 Home-page: http://github.com/doceme/py-spidev
 Author: Volker Thoms
@@ -8,135 +8,6 @@
 Maintainer: Stephen Caudle
 Maintainer-email: [email protected]
 License: MIT
-Description: Python Spidev
-        =============
-        
-        This project contains a python module for interfacing with SPI devices 
from user space via the spidev linux kernel driver.
-        
-        All code is MIT licensed unless explicitly stated otherwise.
-        
-        Usage
-        -----
-        
-        ```python
-        import spidev
-        spi = spidev.SpiDev()
-        spi.open(bus, device)
-        to_send = [0x01, 0x02, 0x03]
-        spi.xfer(to_send)
-        ```
-        Settings
-        --------
-        
-        ```python
-        import spidev
-        spi = spidev.SpiDev()
-        spi.open(bus, device)
-        
-        # Settings (for example)
-        spi.max_speed_hz = 5000
-        spi.mode = 0b01
-        
-        ...
-        ```
-        
-        * `bits_per_word`
-        * `cshigh`
-        * `loop` - Set the "SPI_LOOP" flag to enable loopback mode
-        * `no_cs` - Set the "SPI_NO_CS" flag to disable use of the chip select 
(although the driver may still own the CS pin)
-        * `lsbfirst`
-        * `max_speed_hz`
-        * `mode` - SPI mode as two bit pattern of clock polarity and phase 
[CPOL|CPHA], min: 0b00 = 0, max: 0b11 = 3
-        * `threewire` - SI/SO signals shared
-        * `read0` - Read 0 bytes after transfer to lower CS if cshigh == True
-        
-        Methods
-        -------
-        
-            open(bus, device)
-        
-        Connects to the specified SPI device, opening 
`/dev/spidev<bus>.<device>`
-        
-            readbytes(n)
-        
-        Read n bytes from SPI device.
-        
-            writebytes(list of values)
-        
-        Writes a list of values to SPI device.
-        
-            writebytes2(list of values)
-        
-        Similar to `writebytes` but accepts arbitrary large lists.
-        If list size exceeds buffer size (which is read from 
`/sys/module/spidev/parameters/bufsiz`),
-        data will be split into smaller chunks and sent in multiple operations.
-        
-        Also, `writebytes2` understands [buffer 
protocol](https://docs.python.org/3/c-api/buffer.html)
-        so it can accept numpy byte arrays for example without need to convert 
them with `tolist()` first.
-        This offers much better performance where you need to transfer frames 
to SPI-connected displays for instance.
-        
-            xfer(list of values[, speed_hz, delay_usec, bits_per_word])
-        
-        Performs an SPI transaction. Chip-select should be released and 
reactivated between blocks.
-        Delay specifies the delay in usec between blocks.
-        
-            xfer2(list of values[, speed_hz, delay_usec, bits_per_word])
-        
-        Performs an SPI transaction. Chip-select should be held active between 
blocks.
-        
-            xfer3(list of values[, speed_hz, delay_usec, bits_per_word])
-        
-        Similar to `xfer2` but accepts arbitrary large lists.
-        If list size exceeds buffer size (which is read from 
`/sys/module/spidev/parameters/bufsiz`),
-        data will be split into smaller chunks and sent in multiple operations.
-        
-            close()
-        
-        Disconnects from the SPI device.
-        
-        Changelog
-        ---------
-        
-        3.6
-        ====
-        
-        * Added read0 flag to enable reading 0 bytes after transfer to lower 
CS when cshigh == True
-        
-        3.5
-        ====
-        
-        * Fixed memory leaks
-        
-        3.4
-        =====
-        
-        * Changed license to MIT
-        
-        3.0.1
-        =====
-        
-        * Fixed README.md and CHANGELOG.md formatting, hopefully
-        
-        3.0
-        ===
-        
-        * Memset fix recommended by Dougie Lawson
-        * Fixes for Kernel 3.15+ from https://github.com/chrillomat/py-spidev
-        * Fixes for Python 3/2 compatibility.
-        * Added subclassing support - 
https://github.com/doceme/py-spidev/issues/10
-        
-        2.0
-        ===
-        
-        Code sourced from 
http://elk.informatik.fh-augsburg.de/da/da-49/trees/pyap7k/lang/py-spi
-        and modified.
-        
-        Pre 2.0
-        =======
-        
-        spimodule.c originally uathored by Volker Thoms, 2009.
-        
-Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Operating System :: POSIX :: Linux
 Classifier: License :: OSI Approved :: MIT License
@@ -148,3 +19,132 @@
 Classifier: Topic :: System :: Hardware
 Classifier: Topic :: System :: Hardware :: Hardware Drivers
 Description-Content-Type: text/markdown
+License-File: LICENSE
+
+Python Spidev
+=============
+
+This project contains a python module for interfacing with SPI devices from 
user space via the spidev linux kernel driver.
+
+All code is MIT licensed unless explicitly stated otherwise.
+
+Usage
+-----
+
+```python
+import spidev
+spi = spidev.SpiDev()
+spi.open(bus, device)
+to_send = [0x01, 0x02, 0x03]
+spi.xfer(to_send)
+```
+Settings
+--------
+
+```python
+import spidev
+spi = spidev.SpiDev()
+spi.open(bus, device)
+
+# Settings (for example)
+spi.max_speed_hz = 5000
+spi.mode = 0b01
+
+...
+```
+
+* `bits_per_word`
+* `cshigh`
+* `loop` - Set the "SPI_LOOP" flag to enable loopback mode
+* `no_cs` - Set the "SPI_NO_CS" flag to disable use of the chip select 
(although the driver may still own the CS pin)
+* `lsbfirst`
+* `max_speed_hz`
+* `mode` - SPI mode as two bit pattern of clock polarity and phase 
[CPOL|CPHA], min: 0b00 = 0, max: 0b11 = 3
+* `threewire` - SI/SO signals shared
+* `read0` - Read 0 bytes after transfer to lower CS if cshigh == True
+
+Methods
+-------
+
+    open(bus, device)
+
+Connects to the specified SPI device, opening `/dev/spidev<bus>.<device>`
+
+    readbytes(n)
+
+Read n bytes from SPI device.
+
+    writebytes(list of values)
+
+Writes a list of values to SPI device.
+
+    writebytes2(list of values)
+
+Similar to `writebytes` but accepts arbitrary large lists.
+If list size exceeds buffer size (which is read from 
`/sys/module/spidev/parameters/bufsiz`),
+data will be split into smaller chunks and sent in multiple operations.
+
+Also, `writebytes2` understands [buffer 
protocol](https://docs.python.org/3/c-api/buffer.html)
+so it can accept numpy byte arrays for example without need to convert them 
with `tolist()` first.
+This offers much better performance where you need to transfer frames to 
SPI-connected displays for instance.
+
+    xfer(list of values[, speed_hz, delay_usec, bits_per_word])
+
+Performs an SPI transaction. Chip-select should be released and reactivated 
between blocks.
+Delay specifies the delay in usec between blocks.
+
+    xfer2(list of values[, speed_hz, delay_usec, bits_per_word])
+
+Performs an SPI transaction. Chip-select should be held active between blocks.
+
+    xfer3(list of values[, speed_hz, delay_usec, bits_per_word])
+
+Similar to `xfer2` but accepts arbitrary large lists.
+If list size exceeds buffer size (which is read from 
`/sys/module/spidev/parameters/bufsiz`),
+data will be split into smaller chunks and sent in multiple operations.
+
+    close()
+
+Disconnects from the SPI device.
+
+Changelog
+---------
+
+3.6
+====
+
+* Added read0 flag to enable reading 0 bytes after transfer to lower CS when 
cshigh == True
+
+3.5
+====
+
+* Fixed memory leaks
+
+3.4
+=====
+
+* Changed license to MIT
+
+3.0.1
+=====
+
+* Fixed README.md and CHANGELOG.md formatting, hopefully
+
+3.0
+===
+
+* Memset fix recommended by Dougie Lawson
+* Fixes for Kernel 3.15+ from https://github.com/chrillomat/py-spidev
+* Fixes for Python 3/2 compatibility.
+* Added subclassing support - https://github.com/doceme/py-spidev/issues/10
+
+2.0
+===
+
+Code sourced from 
http://elk.informatik.fh-augsburg.de/da/da-49/trees/pyap7k/lang/py-spi
+and modified.
+
+Pre 2.0
+=======
+
+spimodule.c originally uathored by Volker Thoms, 2009.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spidev-3.6/spidev_module.c 
new/spidev-3.7/spidev_module.c
--- old/spidev-3.6/spidev_module.c      2022-11-03 07:26:16.000000000 +0100
+++ new/spidev-3.7/spidev_module.c      2025-05-06 16:21:18.000000000 +0200
@@ -35,7 +35,7 @@
 #include <sys/ioctl.h>
 #include <linux/ioctl.h>
 
-#define _VERSION_ "3.6"
+#define _VERSION_ "3.7"
 #define SPIDEV_MAXPATH 4096
 
 #define BLOCK_SIZE_CONTROL_FILE "/sys/module/spidev/parameters/bufsiz"

Reply via email to