14
0
forked from pool/micropython

Accepting request 909824 from home:dspinella:branches:devel:languages:python

- Add patch to fix uasyncio_heaplock test
  * fix-uasyncio_heaplock-test.patch

OBS-URL: https://build.opensuse.org/request/show/909824
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=7
This commit is contained in:
2021-08-02 17:38:20 +00:00
committed by Git OBS Bridge
parent bb478b5899
commit e911e09ac5
3 changed files with 55 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ License: MIT
Group: Development/Languages/Python
URL: https://micropython.org/
Source: https://micropython.org/resources/source/%{name}-%{version}.tar.xz
Patch0: fix-uasyncio_heaplock-test.patch
BuildRequires: openssl
BuildRequires: python3
BuildRequires: readline-devel
@@ -36,6 +37,7 @@ A lean and efficient Python implementation for microcontrollers and constrained
%prep
%setup -q
%patch0 -p1
sed -i -e "s:/usr/lib/micropython:%{_prefix}/lib/micropython:g" "ports/unix/main.c"
%define make_flags V=1 MICROPY_PY_BTREE=0 MICROPY_PY_USSL=0