forked from pool/micropython
Add patch metadata
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=8
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 2 15:11:39 UTC 2021 - Danilo Spinella <danilo.spinella@suse.com>
|
Mon Aug 2 15:11:39 UTC 2021 - Danilo Spinella <danilo.spinella@suse.com>
|
||||||
|
|
||||||
- Add patch to fix uasyncio_heaplock test
|
- Add fix-uasyncio_heaplock-test.patchto fix uasyncio_heaplock
|
||||||
* fix-uasyncio_heaplock-test.patch
|
test (originally from gh#micropython/micropython#7449)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 27 14:51:40 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
Tue Jul 27 14:51:40 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|||||||
@@ -24,6 +24,8 @@ License: MIT
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://micropython.org/
|
URL: https://micropython.org/
|
||||||
Source: https://micropython.org/resources/source/%{name}-%{version}.tar.xz
|
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
|
Patch0: fix-uasyncio_heaplock-test.patch
|
||||||
BuildRequires: openssl
|
BuildRequires: openssl
|
||||||
BuildRequires: python3
|
BuildRequires: python3
|
||||||
@@ -36,8 +38,8 @@ ExcludeArch: %{ix86} %{arm} ppc64 ppc64le
|
|||||||
A lean and efficient Python implementation for microcontrollers and constrained systems
|
A lean and efficient Python implementation for microcontrollers and constrained systems
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch0 -p1
|
|
||||||
sed -i -e "s:/usr/lib/micropython:%{_prefix}/lib/micropython:g" "ports/unix/main.c"
|
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
|
%define make_flags V=1 MICROPY_PY_BTREE=0 MICROPY_PY_USSL=0
|
||||||
|
|||||||
Reference in New Issue
Block a user