|
|
5ef87c6 |
%global srcname libusb1
|
|
|
5ef87c6 |
|
|
|
5ef87c6 |
Name: python-%{srcname}
|
|
|
ad087b3 |
Version: 1.8.1
|
|
|
ad087b3 |
Release: 1%{?dist}
|
|
|
f34f3a2 |
Summary: Pure-python wrapper for libusb-1.0
|
|
|
5ef87c6 |
|
|
|
5ef87c6 |
License: LGPLv2+
|
|
|
5ef87c6 |
URL: https://github.com/vpelletier/python-libusb1
|
|
|
f34f3a2 |
Source0: %{pypi_source}
|
|
|
5ef87c6 |
|
|
|
5ef87c6 |
BuildArch: noarch
|
|
|
2cdc52c |
BuildRequires: python3-devel
|
|
|
f34f3a2 |
BuildRequires: python3-Cython
|
|
|
f2b7d63 |
BuildRequires: python3-wheel
|
|
|
5ef87c6 |
BuildRequires: libusb-devel
|
|
|
5ef87c6 |
|
|
|
5ef87c6 |
%description
|
|
|
5ef87c6 |
Pure-python wrapper for libusb-1.0.
|
|
|
5ef87c6 |
|
|
|
5ef87c6 |
Supports all transfer types, both in synchronous and asynchronous mode.
|
|
|
5ef87c6 |
|
|
|
5ef87c6 |
%package -n python3-%{srcname}
|
|
|
f34f3a2 |
Requires: libusb1
|
|
|
f34f3a2 |
Summary: %{summary}
|
|
|
5ef87c6 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
5ef87c6 |
|
|
|
5ef87c6 |
%description -n python3-%{srcname}
|
|
|
5ef87c6 |
Pure-python wrapper for libusb-1.0.
|
|
|
5ef87c6 |
|
|
|
5ef87c6 |
Supports all transfer types, both in synchronous and asynchronous mode.
|
|
|
5ef87c6 |
|
|
|
5ef87c6 |
|
|
|
5ef87c6 |
%prep
|
|
|
5ef87c6 |
%autosetup -n %{srcname}-%{version}
|
|
|
5ef87c6 |
rm -rf %{srcname}.egg-info
|
|
|
f34f3a2 |
rm -rf __pycache__
|
|
|
5ef87c6 |
|
|
|
5ef87c6 |
%build
|
|
|
5ef87c6 |
%py3_build
|
|
|
5ef87c6 |
|
|
|
5ef87c6 |
%install
|
|
|
5ef87c6 |
%py3_install
|
|
|
5ef87c6 |
|
|
|
5ef87c6 |
%check
|
|
|
5ef87c6 |
%{__python3} setup.py test
|
|
|
5ef87c6 |
|
|
|
5ef87c6 |
%files -n python3-%{srcname}
|
|
|
5ef87c6 |
%license COPYING COPYING.LESSER
|
|
|
f34f3a2 |
%doc README.rst PKG-INFO
|
|
|
f34f3a2 |
%pycached %{python3_sitelib}/%{srcname}.py
|
|
|
f34f3a2 |
%{python3_sitelib}/usb1/
|
|
|
f34f3a2 |
%{python3_sitelib}/%{srcname}-*.egg-info
|
|
|
5ef87c6 |
|
|
|
5ef87c6 |
%changelog
|
|
|
ad087b3 |
* Sun Nov 29 2020 Jonny Heggheim <hegjon@gmail.com> - 1.8.1-1
|
|
|
ad087b3 |
- Updated to 1.8.1
|
|
|
ad087b3 |
|
|
|
99d5ce4 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8-2
|
|
|
99d5ce4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
99d5ce4 |
|
|
|
f34f3a2 |
* Sat Jul 11 2020 Jonny Heggheim <hegjon@gmail.com> - 1.8-1
|
|
|
f34f3a2 |
- Updated to 1.8
|
|
|
f34f3a2 |
|
|
|
a6d20dd |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.6.4-10
|
|
|
a6d20dd |
- Rebuilt for Python 3.9
|
|
|
a6d20dd |
|
|
|
e6eb6c3 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.4-9
|
|
|
e6eb6c3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
e6eb6c3 |
|
|
|
3970d9b |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.6.4-8
|
|
|
3970d9b |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
3970d9b |
|
|
|
c19fdcf |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.6.4-7
|
|
|
c19fdcf |
- Rebuilt for Python 3.8
|
|
|
c19fdcf |
|
|
|
fcac68f |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.4-6
|
|
|
fcac68f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
fcac68f |
|
|
|
42c5831 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.4-5
|
|
|
42c5831 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
42c5831 |
|
|
|
2cdc52c |
* Sun Sep 16 2018 Jonny Heggheim <hegjon@gmail.com> - 1.6.4-4
|
|
|
2cdc52c |
- Removed Python2 sub-package
|
|
|
2cdc52c |
|
|
|
4a7b248 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.4-3
|
|
|
4a7b248 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
4a7b248 |
|
|
|
928a4df |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.6.4-2
|
|
|
928a4df |
- Rebuilt for Python 3.7
|
|
|
928a4df |
|
|
|
5ef87c6 |
* Tue Mar 20 2018 Jonny Heggheim <hegjon@gmail.com> - 1.6.4-1
|
|
|
5ef87c6 |
- Inital version
|