14
0

Accepting request 958558 from devel:languages:python

- Update to 3.0.0:
  * Add support for pyinstaller.
  * Fix support for python 3.10.
  * Drop python <3.4 support.
  * Do not load the C library on import. Allows applications to customise
    the lookup logic (see usb1.loadLibrary).
  * Add LIBUSB_SPEED_SUPER_PLUS.
  * Better control device iterator end of life.
  * Fix objects escaping control from their parent.
  * Fix a TypeError exception in USBContext.handleEvents.
  * Fix an AttributeError exception in USBContext.hotplugRegisterCallback.
  * Fix segfault in pypy3 when finalizing USBDevice objects.
  * Source only: convert examples to python3.
  * Release process: also run some examples scripts.
  * Update versioneer to be compatible with 3.11.
  * Drop python <3.6 support.

OBS-URL: https://build.opensuse.org/request/show/958558
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-libusb1?expand=0&rev=4
This commit is contained in:
2022-03-03 23:17:22 +00:00
committed by Git OBS Bridge
4 changed files with 25 additions and 6 deletions

View File

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

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

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

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Thu Mar 3 04:49:28 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 3.0.0:
* Add support for pyinstaller.
* Fix support for python 3.10.
* Drop python <3.4 support.
* Do not load the C library on import. Allows applications to customise
the lookup logic (see usb1.loadLibrary).
* Add LIBUSB_SPEED_SUPER_PLUS.
* Better control device iterator end of life.
* Fix objects escaping control from their parent.
* Fix a TypeError exception in USBContext.handleEvents.
* Fix an AttributeError exception in USBContext.hotplugRegisterCallback.
* Fix segfault in pypy3 when finalizing USBDevice objects.
* Source only: convert examples to python3.
* Release process: also run some examples scripts.
* Update versioneer to be compatible with 3.11.
* Drop python <3.6 support.
-------------------------------------------------------------------
Wed Jan 20 09:43:06 UTC 2021 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-libusb1
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-libusb1
Version: 1.9.1
Version: 3.0.0
Release: 0
Summary: Python wrapper for libusb-1.0
# Relicensed from GPL to LGPLv2.1+ in May 2015
# https://github.com/vpelletier/python-libusb1/commit/238eaefa0759622afc554884b4b333d9bf946c65
License: LGPL-2.1-or-later
Group: Development/Languages/Python
URL: https://github.com/vpelletier/%{name}
Source: https://files.pythonhosted.org/packages/source/l/libusb1/libusb1-%{version}.tar.gz
BuildRequires: %{python_module setuptools}