Группа :: Development/Python3
Пакет: python3-module-pyusb
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%global modulename pyusb
Name: python3-module-pyusb
Version: 1.2.1
Release: alt1
Summary: Python module which provides easy USB access
Group: Development/Python3
License: BSD-3-Clause
Url: http://pyusb.sourceforge.net/
Packager: Andrey Cherepaanov <cas at altlinux.org>
BuildArch: noarch
# Source-url: https://github.com/walac/pyusb/archive/%version.tar.gz
Source: pyusb-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools_scm
BuildRequires: libusb-devel
%description
PyUSB is a Python module which provides easy USB access. For uncountable
reasons, PyUSB has been frozen for a while, but the project is coming
back soon. Meanwhile, you can access the current project page here.
%prep
%setup -n %modulename-%version
%build
export SETUPTOOLS_SCM_PRETEND_VERSION=%version
%python3_build
%install
export SETUPTOOLS_SCM_PRETEND_VERSION=%version
%python3_install
%files
%doc README.rst
%python3_sitelibdir/usb/
%python3_sitelibdir/*egg-info
%changelog
…
Полный changelog можно просмотреть здесь
Name: python3-module-pyusb
Version: 1.2.1
Release: alt1
Summary: Python module which provides easy USB access
Group: Development/Python3
License: BSD-3-Clause
Url: http://pyusb.sourceforge.net/
Packager: Andrey Cherepaanov <cas at altlinux.org>
BuildArch: noarch
# Source-url: https://github.com/walac/pyusb/archive/%version.tar.gz
Source: pyusb-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools_scm
BuildRequires: libusb-devel
%description
PyUSB is a Python module which provides easy USB access. For uncountable
reasons, PyUSB has been frozen for a while, but the project is coming
back soon. Meanwhile, you can access the current project page here.
%prep
%setup -n %modulename-%version
%build
export SETUPTOOLS_SCM_PRETEND_VERSION=%version
%python3_build
%install
export SETUPTOOLS_SCM_PRETEND_VERSION=%version
%python3_install
%files
%doc README.rst
%python3_sitelibdir/usb/
%python3_sitelibdir/*egg-info
%changelog
…
Полный changelog можно просмотреть здесь