forked from pool/python-libusb1
Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| bb68c610db | |||
| dd5d817bcf | |||
| 7e18fc5026 | |||
| ddf8906dac | |||
| 63df17709f | |||
| 22ca78ce42 |
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user