14
0
forked from pool/micropython
2021-08-02 17:46:05 +00:00
committed by Git OBS Bridge
parent e911e09ac5
commit c80e996e56
2 changed files with 6 additions and 4 deletions

View File

@@ -1,8 +1,8 @@
-------------------------------------------------------------------
Mon Aug 2 15:11:39 UTC 2021 - Danilo Spinella <danilo.spinella@suse.com>
- Add patch to fix uasyncio_heaplock test
* fix-uasyncio_heaplock-test.patch
- Add fix-uasyncio_heaplock-test.patchto fix uasyncio_heaplock
test (originally from gh#micropython/micropython#7449)
-------------------------------------------------------------------
Tue Jul 27 14:51:40 UTC 2021 - Matej Cepl <mcepl@suse.com>

View File

@@ -24,6 +24,8 @@ License: MIT
Group: Development/Languages/Python
URL: https://micropython.org/
Source: https://micropython.org/resources/source/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM fix-uasyncio_heaplock-test.patch gh#micropython/micropython#7449 mcepl@suse.com
# Make uasyncio_heaplock test more deterministic.
Patch0: fix-uasyncio_heaplock-test.patch
BuildRequires: openssl
BuildRequires: python3
@@ -36,8 +38,8 @@ ExcludeArch: %{ix86} %{arm} ppc64 ppc64le
A lean and efficient Python implementation for microcontrollers and constrained systems
%prep
%setup -q
%patch0 -p1
%autosetup -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