Update
OBS-URL: https://build.opensuse.org/package/show/home:dheidler/python-rshell?expand=0&rev=2
This commit is contained in:
@@ -30,8 +30,8 @@ BuildRequires: %{python_module setuptools}
|
|||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python3-pyserial
|
Requires: python-pyserial
|
||||||
Requires: python3-pyudev
|
Requires: python-pyudev
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@@ -50,9 +50,10 @@ sed -i -e 's_#!/usr/bin/env python3__' rshell/*.py
|
|||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
|
||||||
|
# tests can't run as they require a micropython board connected via USB
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
%python3_fix_shebang
|
|
||||||
%python_clone -a %{buildroot}%{_bindir}/rshell
|
%python_clone -a %{buildroot}%{_bindir}/rshell
|
||||||
%python_clone -a %{buildroot}%{_bindir}/pyboard
|
%python_clone -a %{buildroot}%{_bindir}/pyboard
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
Reference in New Issue
Block a user