forked from pool/python-spidev
- Update to 3.8
* Added open_path method to accommodate dynamic SPI bus number allocation OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-spidev?expand=0&rev=10
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
48
python-spidev.changes
Normal file
48
python-spidev.changes
Normal file
@@ -0,0 +1,48 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 29 11:53:14 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 3.8
|
||||
* Added open_path method to accommodate dynamic SPI bus number allocation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Update to 3.6
|
||||
* Added read0 flag to enable reading 0 bytes after transfer to lower CS when cshigh == True
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 28 08:43:38 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- Update to 3.5
|
||||
* Fixed memory leaks
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 7 14:25:22 UTC 2019 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Uses tarball from github which includes the license file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 6 14:13:06 UTC 2019 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Add missing LICENSE file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 6 09:28:38 UTC 2019 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Initial version 3.4
|
||||
|
||||
52
python-spidev.spec
Normal file
52
python-spidev.spec
Normal file
@@ -0,0 +1,52 @@
|
||||
#
|
||||
# spec file for package python-spidev
|
||||
#
|
||||
# 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-spidev
|
||||
Version: 3.8
|
||||
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
|
||||
|
||||
%description
|
||||
This package contains the python module for interfacing with SPI devices from user space via the spidev linux kernel driver.
|
||||
|
||||
%prep
|
||||
%setup -q -n spidev-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitearch}/spidev*.so
|
||||
%{python_sitearch}/spidev-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
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
|
||||
3
spidev-3.8.tar.gz
Normal file
3
spidev-3.8.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2bc02fb8c6312d519ebf1f4331067427c0921d3f77b8bcaf05189a2e8b8382c0
|
||||
size 13893
|
||||
Reference in New Issue
Block a user