]> git.pld-linux.org Git - packages/micropython.git/commitdiff
Up to 1.18. master
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 1 Apr 2022 19:42:47 +0000 (21:42 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 1 Apr 2022 19:42:47 +0000 (21:42 +0200)
micropython.spec

index 9a0f4f35428fdf6c6245204aaee3909cefba0f92..d45ca3a18b3b1b136bc9914ad0c6bad64813c01d 100644 (file)
@@ -4,14 +4,15 @@
 
 Summary:       Implementation of Python 3 with very low memory footprint
 Name:          micropython
-Version:       1.10
+Version:       1.18
 Release:       1
 License:       MIT
 Group:         Development/Languages/Python
 Source0:       http://micropython.org/resources/source/%{name}-%{version}.tar.xz
-# Source0-md5: d16db23dd070064ed491f31e4fd3b540
+# Source0-md5: 134dcca4c286b8be9d2cc738809b7246
 URL:           http://micropython.org/
 BuildRequires: libffi-devel
+BuildRequires: mbedtls-devel
 BuildRequires: pkgconfig
 BuildRequires: python
 BuildRequires: python-modules
@@ -29,8 +30,15 @@ Implementation of Python 3 with very low memory footprint.
 %setup -q
 
 %build
+
+# add -I/where/jni.h (do we have a method to get this dir?) is and MICROPY_PY_JNI=1 to make below
+
 %{__make} -C ports/unix \
        CC="%{__cc}" \
+       CFLAGS_EXTRA="%{rpmcppflags} %{rpmcflags} -Wno-error=maybe-uninitialized" \
+       LDFLAGS_EXTRA="%{rpmldflags}" \
+       MICROPY_SSL_MBEDTLS=1 \
+       STRIP=true \
        V=1
 
 %{?with_tests:%{__make} -C ports/unix test}
This page took 0.106684 seconds and 4 git commands to generate.