micropython: bump version to v1.8.3
PATCH 1/2 micropython: bump version to v1.8.3
--- package/micropython/micropython.hash | 2 +- package/micropython/micropython.mk | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-)
package/micropython/micropython.hash +1 -1
@@ -1,2 +1,2 @@ #locally computed -sha256 f8ea3faffa797de1a06c16c8f57c784c665b318ca08ac17f74dcbc95322d47de micropython-v1.6.tar.gz +sha256 871378fcf1f1042c399896d5673da67d12e1fb36c2e706af289fc959bc8f7a57 micropython-v1.8.3.tar.gz
package/micropython/micropython.mk +8 -1
@@ -4,7 +4,7 @@ # ################################################################################ -MICROPYTHON_VERSION = v1.6 +MICROPYTHON_VERSION = v1.8.3 MICROPYTHON_SITE = $(call github,micropython,micropython,$(MICROPYTHON_VERSION)) MICROPYTHON_LICENSE = MIT MICROPYTHON_LICENSE_FILES = LICENSE
@@ -16,14 +16,21 @@ ifeq ($(BR2_i386)$(BR2_x86_64)$(BR2_arm)$(BR2_armeb),) MICROPYTHON_CFLAGS = -DMICROPY_GCREGS_SETJMP=1 endif +# When building from a tarball we don't have some of the dependencies that are in +# the git repository as submodules +MICROPYTHON_MAKE_OPTS = MICROPY_PY_BTREE=0 +MICROPYTHON_MAKE_OPTS += MICROPY_PY_USSL=0 + define MICROPYTHON_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/unix \ + $(MICROPYTHON_MAKE_OPTS) \ CROSS_COMPILE=$(TARGET_CROSS) \ CFLAGS_EXTRA=$(MICROPYTHON_CFLAGS) endef define MICROPYTHON_INSTALL_TARGET_CMDS $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/unix \ + $(MICROPYTHON_MAKE_OPTS) \ DESTDIR=$(TARGET_DIR) \ PREFIX=$(TARGET_DIR)/usr \ install
Signature · 1 line
2.9.2.518.ged577c6.dirty
PATCH 2/2 micropython-lib: bump version to v1.8.2
--- package/micropython-lib/micropython-lib.hash | 2 +- package/micropython-lib/micropython-lib.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/micropython-lib/micropython-lib.hash +1 -1
@@ -1,2 +1,2 @@ # Locally computed -sha256 e659444fadd755c1b5dbff091aa1b23a835e7361da3a32f38774bd39a15937ad micropython-lib-v1.0.tar.gz +sha256 4f9250a93413c9925b912d54fe3aaee2d275c82bdb447fc07a090fc60287f5e8 micropython-lib-v1.8.2.tar.gz
package/micropython-lib/micropython-lib.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -MICROPYTHON_LIB_VERSION = v1.0 +MICROPYTHON_LIB_VERSION = v1.8.2 MICROPYTHON_LIB_SITE = $(call github,micropython,micropython-lib,$(MICROPYTHON_LIB_VERSION)) MICROPYTHON_LIB_LICENSE = Python software foundation license v2 (some modules), MIT (everything else) MICROPYTHON_LIB_LICENSE_FILES = LICENSE
Signature · 1 line
2.9.2.518.ged577c6.dirty
PATCH 1/2 micropython: bump version to v1.8.3
In reply to Chris PackhamHello,
Quoted 5 lines · Chris Packham
Signed-off-by Chris Packham <[email protected]>--- package/micropython/micropython.hash | 2 +- package/micropython/micropython.mk | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-)
Thanks, I've applied to next. One comment below, though.
package/micropython/micropython.mk ifeq ($(BR2_i386)$(BR2_x86_64)$(BR2_arm)$(BR2_armeb),) · line 22
Quoted 4 lines
package/micropython/micropython.mk +4
-0+# When building from a tarball we don't have some of the dependencies that are in +# the git repository as submodules +MICROPYTHON_MAKE_OPTS = MICROPY_PY_BTREE=0 +MICROPYTHON_MAKE_OPTS += MICROPY_PY_USSL=0
You could also package the corresponding dependencies as separate packages in Buildroot. For example, it seems like the SSL support uses axtls, which is a separate library available at
http://axtls.sourceforge.net/.
I'm not sure what is the dependency for the MICROPY_BY_BTREE option though.
Alternatively, you could use the brand new MICROPYTHON_GIT_SUBMODULES = YES option, which would tell our download logic to also fetch submodules. *But* when the submodules are in fact external libraries that could be separately packaged in Buildroot, we will very much prefer this solution.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
Thomas Petazzoni
AppliedPATCH 2/2 micropython-lib: bump version to v1.8.2
In reply to Chris PackhamHello,
Quoted 5 lines · Chris Packham
Signed-off-by Chris Packham <[email protected]>--- package/micropython-lib/micropython-lib.hash | 2 +- package/micropython-lib/micropython-lib.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Applied to next, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com