forked from pool/python-pyusb
Accepting request 1250142 from home:fstegmeier:branches:devel:languages:python
- Update to 1.3.1 * core: fix a regression in ctrl_transfer where supplied read buffers were discarded (#528, #530) OBS-URL: https://build.opensuse.org/request/show/1250142 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyusb?expand=0&rev=9
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 4 16:19:46 UTC 2025 - Felix Stegmeier <felix.stegmeier@suse.com>
|
||||
|
||||
- Update to 1.3.1
|
||||
* core: fix a regression in ctrl_transfer where supplied read buffers were discarded (#528, #530)
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 7 19:54:08 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pyusb
|
||||
#
|
||||
# Copyright (c) 2021 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,10 +16,8 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%global skip_python2 1
|
||||
Name: python-pyusb
|
||||
Version: 1.2.1
|
||||
Version: 1.3.1
|
||||
Release: 0
|
||||
Summary: USB access on the Python language
|
||||
# URL is incorrect on PyPI, gh#pyusb/pyusb#211
|
||||
@@ -27,9 +25,11 @@ License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/pyusb/pyusb
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pyusb/pyusb-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -48,10 +48,10 @@ Provides USB access to the Python language.
|
||||
find . -name "*.rst" -exec dos2unix {} +
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -62,6 +62,7 @@ find . -name "*.rst" -exec dos2unix {} +
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc ACKNOWLEDGEMENTS README.rst docs/*
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/usb
|
||||
%{python_sitelib}/pyusb-%{version}*info
|
||||
|
||||
%changelog
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a4cc7404a203144754164b8b40994e2849fde1cfff06b08492f12fff9d9de7b9
|
||||
size 75292
|
3
pyusb-1.3.1.tar.gz
Normal file
3
pyusb-1.3.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3af070b607467c1c164f49d5b0caabe8ac78dbed9298d703a8dbf9df4052d17e
|
||||
size 77281
|
Reference in New Issue
Block a user