diff --git a/python-spidev.changes b/python-spidev.changes index 74ea238..033234a 100644 --- a/python-spidev.changes +++ b/python-spidev.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Wed Jun 4 09:45:15 UTC 2025 - John Paul Adrian Glaubitz + +- 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 + ------------------------------------------------------------------- Wed Nov 9 19:10:36 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-spidev.spec b/python-spidev.spec index 7479b7a..6d119e8 100644 --- a/python-spidev.spec +++ b/python-spidev.spec @@ -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,15 +38,15 @@ This package contains the python module for interfacing with SPI devices from us %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 %changelog diff --git a/spidev-3.6.tar.gz b/spidev-3.6.tar.gz deleted file mode 100644 index 2d1979f..0000000 --- a/spidev-3.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:14dbc37594a4aaef85403ab617985d3c3ef464d62bc9b769ef552db53701115b -size 11917 diff --git a/spidev-3.7.tar.gz b/spidev-3.7.tar.gz new file mode 100644 index 0000000..a84fddc --- /dev/null +++ b/spidev-3.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ce628a5ff489f45132679879bff5f455a66abf9751af01843850155b06ae92f0 +size 11616