forked from pool/python-spidev
- 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 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-spidev?expand=0&rev=8
This commit is contained in:
@@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 4 09:45:15 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- 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 <yarunachalam@suse.com>
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:14dbc37594a4aaef85403ab617985d3c3ef464d62bc9b769ef552db53701115b
|
||||
size 11917
|
3
spidev-3.7.tar.gz
Normal file
3
spidev-3.7.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ce628a5ff489f45132679879bff5f455a66abf9751af01843850155b06ae92f0
|
||||
size 11616
|
Reference in New Issue
Block a user