diff --git a/lang/python/micropython-lib/Makefile b/lang/python/micropython-lib/Makefile index 7e60c67c0f..e971313930 100644 --- a/lang/python/micropython-lib/Makefile +++ b/lang/python/micropython-lib/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=micropython-lib -PKG_VERSION:=1.27.0 +PKG_VERSION:=1.28.0 PKG_RELEASE:=1 PKG_SOURCE:=micropython-lib-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/micropython/micropython-lib/archive/refs/tags/v$(PKG_VERSION) -PKG_HASH:=d108975cc3940c868aa934adac9553f36bf6bcbb2a77190a6f78724ffc6bbeb5 +PKG_HASH:=244f1ac1623674444a2092983e22c0a1f6ac89ae116f93bc0f6bc05c77dd38bc PKG_MAINTAINER:=Alexandru Ardelean PKG_LICENSE:=MIT Python-2.0.1 diff --git a/lang/python/micropython/Makefile b/lang/python/micropython/Makefile index 40c2419082..2a8ab5cef2 100644 --- a/lang/python/micropython/Makefile +++ b/lang/python/micropython/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=micropython -PKG_VERSION:=1.27.0 +PKG_VERSION:=1.28.0 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://github.com/micropython/micropython/releases/download/v$(PKG_VERSION) -PKG_HASH:=9874b20646c3bbe81d524f779a16875e5d088b7065e175ffd2aa2a02f50573c9 +PKG_HASH:=4e43c59657b8da33b4bc503509a827cc3ea6cb66c446475c57776cf4467ba215 PKG_MAINTAINER:=Alexandru Ardelean PKG_LICENSE:=MIT diff --git a/lang/python/micropython/patches/040-extmod-use-external-mbedtls.patch b/lang/python/micropython/patches/040-extmod-use-external-mbedtls.patch index 3e1a145ba8..f092638941 100644 --- a/lang/python/micropython/patches/040-extmod-use-external-mbedtls.patch +++ b/lang/python/micropython/patches/040-extmod-use-external-mbedtls.patch @@ -9,7 +9,7 @@ Subject: [PATCH 06/10] extmod: Use system mbedtls --- a/extmod/extmod.mk +++ b/extmod/extmod.mk -@@ -242,91 +242,12 @@ SRC_THIRDPARTY_C += $(addprefix $(AXTLS_ +@@ -243,91 +243,12 @@ SRC_THIRDPARTY_C += $(addprefix $(AXTLS_ crypto/sha1.c \ ) else ifeq ($(MICROPY_SSL_MBEDTLS),1) diff --git a/lang/python/micropython/test.sh b/lang/python/micropython/test.sh index 82cf2ecd0c..95909cab8a 100644 --- a/lang/python/micropython/test.sh +++ b/lang/python/micropython/test.sh @@ -1,6 +1,6 @@ #!/bin/sh -nl=" -" +[ "$1" = "micropython-mbedtls" ] || [ "$1" = "micropython-nossl" ] || exit 0 -micropython -c "import sys${nl}print(sys.version)" | grep -F " MicroPython v${PKG_VERSION} " +micropython -c "import sys; print(sys.version)" | grep -F "MicroPython v$2" +micropython -c "print('hello from micropython')" | grep -F "hello from micropython"