14
0

6 Commits

Author SHA256 Message Date
bb68c610db Accepting request 1268608 from devel:languages:python
- update to 3.3.1:
  * Fix incorrect getFinalizer() reference in
    setPollFDNotifiers()
- update to 3.3.0:
  * Fix finalizer registration errors on pypi by using a thread-
    safe sequential number generator instead of relying on object
    id unicity and timely finalizer triggering.

OBS-URL: https://build.opensuse.org/request/show/1268608
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-libusb1?expand=0&rev=8
2025-04-11 17:27:22 +00:00
dd5d817bcf - update to 3.3.1:
* Fix incorrect getFinalizer() reference in
    setPollFDNotifiers()
- update to 3.3.0:
  * Fix finalizer registration errors on pypi by using a thread-
    safe sequential number generator instead of relying on object
    id unicity and timely finalizer triggering.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libusb1?expand=0&rev=15
2025-04-11 12:45:51 +00:00
7e18fc5026 Accepting request 1239521 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1239521
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-libusb1?expand=0&rev=7
2025-01-22 15:39:27 +00:00
ddf8906dac - Update to 3.2.0
* Add example for scanning the complete device tree
  * Fix CRLF problem
  * testUSB1: Fix python 3.13 support
- Drop py313.patch, merged upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libusb1?expand=0&rev=13
2025-01-22 13:01:50 +00:00
63df17709f Accepting request 1227781 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1227781
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-libusb1?expand=0&rev=6
2024-12-02 18:10:18 +00:00
22ca78ce42 - Add upstream py313.patch to fix build with new python
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libusb1?expand=0&rev=11
2024-12-02 14:03:04 +00:00
2 changed files with 2 additions and 14 deletions

View File

@@ -1,12 +1,3 @@
-------------------------------------------------------------------
Mon Jun 30 12:04:24 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Switch build system from setuptools to pyproject.toml
* Add python-pip and python-wheel to BuildRequires
* Replace %python_build with %pyproject_wheel
* Replace %python_install with %pyproject_install
- Use Python 3.11 on SLE-15 by default
-------------------------------------------------------------------
Fri Apr 11 12:45:26 UTC 2025 - Dirk Müller <dmueller@suse.com>

View File

@@ -16,7 +16,6 @@
#
%{?sle15_python_module_pythons}
Name: python-libusb1
Version: 3.3.1
Release: 0
@@ -26,9 +25,7 @@ Summary: Python wrapper for libusb-1.0
License: LGPL-2.1-or-later
URL: https://github.com/vpelletier/%{name}
Source: https://files.pythonhosted.org/packages/source/l/libusb1/libusb1-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: libusb-1_0-0 >= 1.0.21
BuildRequires: python-rpm-macros
@@ -47,10 +44,10 @@ sed -i '1{/^#!/d}' examples/*.py
chmod a-x examples/*.py
%build
%pyproject_wheel
%python_build
%install
%pyproject_install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check