forked from pool/micropython
Accepting request 1244139 from home:dheidler:branches:devel:languages:python
- Fix build for 15.6 Depends on https://build.opensuse.org/requests/1244131 OBS-URL: https://build.opensuse.org/request/show/1244139 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=33
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 7 10:33:24 UTC 2025 - Dominik Heidler <dheidler@suse.de>
|
||||
|
||||
- Fix build for 15.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 5 23:17:33 UTC 2025 - Dominik Heidler <dheidler@suse.de>
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
|
||||
%define pythons python3
|
||||
%{?sle15_python_module_pythons}
|
||||
|
||||
Name: micropython
|
||||
Version: 1.24.1
|
||||
@@ -37,14 +38,15 @@ ExcludeArch: %{ix86} %{arm} ppc64 ppc64le
|
||||
%package -n mpremote
|
||||
Summary: MicroPython remote control
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-hatch-requirements-txt
|
||||
BuildRequires: python3-hatchling
|
||||
BuildRequires: %{python_module hatch-requirements-txt}
|
||||
BuildRequires: %{python_module hatchling}
|
||||
Requires: python3-pyserial >= 3.3
|
||||
BuildRequires: %{python_module base >= 3.6}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
A lean and efficient Python implementation for microcontrollers and constrained systems
|
||||
@@ -89,19 +91,19 @@ popd
|
||||
rm -f tests/float/float_parse.py
|
||||
rm -f tests/float/float_parse_doubleprec.py
|
||||
%endif
|
||||
export MICROPY_CPYTHON3=python3
|
||||
make -C ports/unix PYTHON=%{_bindir}/python3 V=1 test
|
||||
export MICROPY_CPYTHON3=python%python_version
|
||||
make -C ports/unix PYTHON=%{_bindir}/python%python_version V=1 test
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc docs/unix/*
|
||||
%{_bindir}/micropython
|
||||
|
||||
%files -n mpremote
|
||||
%files -n mpremote %{python_files}
|
||||
%license tools/mpremote/LICENSE
|
||||
%doc tools/mpremote/README.md
|
||||
%{python3_sitelib}/mpremote
|
||||
%{python3_sitelib}/mpremote-%{version}.dist-info
|
||||
%{python_sitelib}/mpremote
|
||||
%{python_sitelib}/mpremote-%{version}.dist-info
|
||||
%{_bindir}/mpremote
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user