14
0

Accepting request 703274 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/703274
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-libusb1?expand=0&rev=2
This commit is contained in:
2019-05-16 20:09:45 +00:00
committed by Git OBS Bridge
4 changed files with 16 additions and 10 deletions

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

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

View File

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

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed May 15 21:54:23 UTC 2019 - Jonathan Harker <jharker@suse.com>
- Upgrade to 1.7.1:
* usb1.__version__ is now present, managed by versioneer. Fix an occasional
segfault when closing a transfer from inside its callback function.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Apr 15 06:40:15 UTC 2019 - John Vandenberg <jayvdb@gmail.com> Mon Apr 15 06:40:15 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-libusb1 # spec file for package python-libusb1
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# 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
@@ -12,28 +12,27 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-libusb1 Name: python-libusb1
Version: 1.7 Version: 1.7.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
# https://github.com/vpelletier/python-libusb1/commit/238eaefa0759622afc554884b4b333d9bf946c65 # https://github.com/vpelletier/python-libusb1/commit/238eaefa0759622afc554884b4b333d9bf946c65
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/vpelletier/%{name} URL: https://github.com/vpelletier/%{name}
Source: https://files.pythonhosted.org/packages/source/l/libusb1/libusb1-1.7.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
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: libusb-1_0-0 Requires: libusb-1_0-0
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@@ -54,7 +53,7 @@ chmod a-x examples/*.py
%check %check
%python_exec -m usb1.testUSB1 %python_exec -m usb1.testUSB1
%files %python_files %files %{python_files}
%doc README.rst examples/ %doc README.rst examples/
%license COPYING.LESSER %license COPYING.LESSER
%{python_sitelib}/* %{python_sitelib}/*