14
0

Accepting request 1132044 from devel:languages:python

- update to 3.1.0:
  * Fix bug preventing use of setPollFDNotifiers.
  * Wrap libusb_interrupt_event_handler, available since libusb
    1.0.21, to help applications wake an event handling thread (ex:
    durring exit).

    segfault when closing a transfer from inside its callback function.

OBS-URL: https://build.opensuse.org/request/show/1132044
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-libusb1?expand=0&rev=5
This commit is contained in:
2023-12-08 21:33:11 +00:00
committed by Git OBS Bridge
4 changed files with 17 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5792a9defee40f15d330a40d9b1800545c32e47ba7fc66b6f28f133c9fcc8538
size 82499

3
libusb1-3.1.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4ee9b0a55f8bd0b3ea7017ae919a6c1f439af742c4a4b04543c5fd7af89b828c
size 83013

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Dec 8 08:19:05 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.1.0:
* Fix bug preventing use of setPollFDNotifiers.
* Wrap libusb_interrupt_event_handler, available since libusb
1.0.21, to help applications wake an event handling thread (ex:
durring exit).
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 3 04:49:28 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com> Thu Mar 3 04:49:28 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-libusb1 # spec file for package python-libusb1
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 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
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-libusb1 Name: python-libusb1
Version: 3.0.0 Version: 3.1.0
Release: 0 Release: 0
Summary: Python wrapper for libusb-1.0 Summary: Python wrapper for libusb-1.0
# Relicensed from GPL to LGPLv2.1+ in May 2015 # Relicensed from GPL to LGPLv2.1+ in May 2015
@@ -28,9 +28,9 @@ URL: https://github.com/vpelletier/%{name}
Source: https://files.pythonhosted.org/packages/source/l/libusb1/libusb1-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/l/libusb1/libusb1-%{version}.tar.gz
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: libusb-1_0-0 BuildRequires: libusb-1_0-0 >= 1.0.21
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: libusb-1_0-0 Requires: libusb-1_0-0 >= 1.0.21
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages