forked from pool/python-pyusb
Accepting request 1250143 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1250143 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyusb?expand=0&rev=5
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
|
Tue Dec 7 19:54:08 UTC 2021 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyusb
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
Name: python-pyusb
|
||||||
Version: 1.2.1
|
Version: 1.3.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: USB access on the Python language
|
Summary: USB access on the Python language
|
||||||
# URL is incorrect on PyPI, gh#pyusb/pyusb#211
|
# URL is incorrect on PyPI, gh#pyusb/pyusb#211
|
||||||
@@ -27,9 +25,11 @@ License: BSD-3-Clause
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/pyusb/pyusb
|
URL: https://github.com/pyusb/pyusb
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pyusb/pyusb-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pyusb/pyusb-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: dos2unix
|
BuildRequires: dos2unix
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -48,10 +48,10 @@ Provides USB access to the Python language.
|
|||||||
find . -name "*.rst" -exec dos2unix {} +
|
find . -name "*.rst" -exec dos2unix {} +
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -62,6 +62,7 @@ find . -name "*.rst" -exec dos2unix {} +
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc ACKNOWLEDGEMENTS README.rst docs/*
|
%doc ACKNOWLEDGEMENTS README.rst docs/*
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/usb
|
||||||
|
%{python_sitelib}/pyusb-%{version}*info
|
||||||
|
|
||||||
%changelog
|
%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