forked from pool/python-libusb1
Accepting request 864610 from home:jayvdb:branches:devel:languages:python
- Update to v1.9.1 OBS-URL: https://build.opensuse.org/request/show/864610 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libusb1?expand=0&rev=5
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:adf64a4f3f5c94643a1286f8153bcf4bc787c348b38934aacd7fe17fbeebc571
|
|
||||||
size 78016
|
|
||||||
3
libusb1-1.9.1.tar.gz
Normal file
3
libusb1-1.9.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d03ef15248c8b8ce440f6be4248eaadc074fc2dc5edd36c48e6e78eef3999292
|
||||||
|
size 79646
|
||||||
@@ -1,3 +1,21 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 20 09:43:06 UTC 2021 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Update to v1.9.1
|
||||||
|
* Fix installation from pypi source tarball, broken in 1.8.1
|
||||||
|
- from v1.9
|
||||||
|
* Drop USBPollerThread
|
||||||
|
* Deprecate libusb-lock-related USBContext API
|
||||||
|
- from v1.8.1
|
||||||
|
* Embed libusb1 dll for easier deployment on Windows
|
||||||
|
* Cryptographically signed releases
|
||||||
|
* Use libusb_free_pollfds whenever available (libusb1>=1.0.20)
|
||||||
|
* Fix hotplug callback destruction at context teardown
|
||||||
|
* Drop remnants of python 2.6 support code
|
||||||
|
- from v1.8
|
||||||
|
* Fix getExtra and libusb1.libusb_control_transfer_get_data
|
||||||
|
* Fix getMaxPower unit on SuperSpeed devices
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 15 21:54:23 UTC 2019 - Jonathan Harker <jharker@suse.com>
|
Wed May 15 21:54:23 UTC 2019 - Jonathan Harker <jharker@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-libusb1
|
# spec file for package python-libusb1
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2021 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: 1.7.1
|
Version: 1.9.1
|
||||||
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
|
||||||
@@ -40,6 +40,8 @@ This is a pure python wrapper for libusb-1.0.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n libusb1-%{version}
|
%setup -q -n libusb1-%{version}
|
||||||
|
sed -i '/wheel/d' setup.py
|
||||||
|
|
||||||
sed -i '1{/^#!/d}' examples/*.py
|
sed -i '1{/^#!/d}' examples/*.py
|
||||||
chmod a-x examples/*.py
|
chmod a-x examples/*.py
|
||||||
|
|
||||||
@@ -51,7 +53,7 @@ chmod a-x examples/*.py
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec -m usb1.testUSB1
|
%python_exec -m usb1.testUSB1 -v
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst examples/
|
%doc README.rst examples/
|
||||||
|
|||||||
Reference in New Issue
Block a user