14
0
forked from pool/python-pyusb

Accepting request 936361 from devel:languages:python

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

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Tue Dec 7 19:54:08 UTC 2021 - pgajdos@suse.com
- version update to 1.2.1
Added:
* core: implement Device.__eq__() (#147)
Changed:
* libusb0: implement is_kernel_driver_active() for FreeBSD and DragonFly BSD (#365)
* libusb0: implement is_kernel_driver_active() for Mac OS (#374)
Fixed:
* core: make Device hashable again (PR #376)
* setup: prevent installation on unsupported Python versions (PR #364)
* control: fix undefined USBError (#372)
* tests: fix legacy/hardware tests for Python 3.9 (#373)
- do not require pytest-runner for build, it is not needed
-------------------------------------------------------------------
Sun May 9 16:47:59 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global skip_python2 1
Name: python-pyusb
Version: 1.1.1
Version: 1.2.1
Release: 0
Summary: USB access on the Python language
# URL is incorrect on PyPI, gh#pyusb/pyusb#211
@@ -27,7 +27,7 @@ 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 pytest-runner}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: dos2unix
@@ -57,7 +57,7 @@ find . -name "*.rst" -exec dos2unix {} +
%check
# Testing mostly requires a device, which is not mocked or emulated
# See https://github.com/pyusb/pyusb/issues/235
%python_exec setup.py pytest --addopts="tests/test_find.py tests/test_util.py -k 'not FindDescriptorTest'"
%pytest tests/test_find.py tests/test_util.py -k 'not FindDescriptorTest'
%files %{python_files}
%license LICENSE

View File

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

3
pyusb-1.2.1.tar.gz Normal file
View File

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