dev-lang / micropython

Python implementation for microcontrollers

Official package sites : https://github.com/micropython/micropython · https://micropython.org ·

The MicroPython project aims to put an implementation of Python 3.x on microcontrollers and small embedded systems. MicroPython implements the entire Python 3.4 syntax (including exceptions, with, yield from, etc., and additionally async/await keywords from Python 3.5). The following core datatypes are provided: str (including basic Unicode support), bytes, bytearray, tuple, list, dict, set, frozenset, array.array, collections.namedtuple, classes and instances. Builtin modules include sys, time, and struct, etc. Select ports have support for _thread module (multithreading). Note that only a subset of Python 3 functionality is implemented for the data types and modules. MicroPython can execute scripts in textual source form or from precompiled bytecode, in both cases either from an on-device filesystem or "frozen" into the MicroPython executable.

v1.23.0 :: 0 :: gentoo

Modified
License
MIT
Keywords
~amd64 ~arm64 ~x86
USE flags
test

General

test
Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)

dev-libs / libffi : Portable, high level programming interface to various calling conventions

virtual / pkgconfig : Virtual for the pkg-config implementation

713974
dev-lang/micropython-1.17 : ../.../db.h: fatal error: sys/cdefs.h: No such file or directory
727248
dev-lang/micropython calls size directly
737066
dev-lang/micropython-1.11 fails tests
764083
dev-lang/micropython-1.23.0 fails to compile with dev-lang/python-exec[-native-symlinks]
829564
dev-lang/micropython-1.17 fails to compile: objgenerator.c:102:21: error: variable n_exc_stack_unused set but not used [-Werror,-Wunused-but-set-variable]
833169
dev-lang/micropython-1.17 fails tests: - FAIL extmod/uasyncio_wait_task.py
859283
dev-lang/micropython should become slotted
859286
dev-lang/micropython: bump to latest ABI 5 version 1.18
859289
dev-lang/micropython: bump to ABI 6 version 1.19
875068
dev-lang/micropython-1.17 - ../.../objgenerator.c: error: variable
908985
dev-lang/micropython-1.20.0 bump request
926832
dev-lang/micropython: update to 1.22.2
930517
dev-lang/micropython-1.17 - main.c: warning: conflicting types for mp_import_stat due to enum/integer mismatch; have uint(const char ) {aka unsigned i
936121
dev-lang/micropython-1.23.0 - [perl-5.40] [icu-75.1] [gcc-15] emitinlinethumb.c:138:9: error: initializer-string for array of ‘unsigned char’ is too long [-Werror=unterminated-string-initialization]
937354
dev-lang/micropython: fails to build with mold
940699
dev-lang/micropython-1.23.0 - [ncurses-6.5] [libtool] [gcc-15] cc1: all warnings being treated as errors
951159
dev-lang/micropython-1.23.0 - [go-1.24] [gcc-15] [ffmpeg] emitinlinethumb.c: error: initializer-string for array of unsigned char truncates NUL terminator but destination
Repository mirror & CI · gentoo
Merge updates from master
Arthur Zamarin · gentoo
dev-lang/micropython: drop 1.17, EAPI=7--
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Daniella · gentoo
dev-lang/micropython: Add official website
Co-authored-by: Aliaksei Urbanski <aliaksei.urbanski@gmail.com> Signed-off-by: Daniella <137890355+tfemby@users.noreply.github.com> Closes: https://github.com/gentoo/gentoo/pull/37227 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Daniella Kicsak · gentoo
dev-lang/micropython: add 1.23.0
Signed-off-by: Daniella Kicsak <nosqrt@outlook.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Kristaps Kaupe · gentoo
dev-lang/micropython: Fix building with GCC13
Closes: https://bugs.gentoo.org/916499 Closes: https://bugs.gentoo.org/895156 Signed-off-by: Kristaps Kaupe <kristaps@blogiem.lv> Closes: https://github.com/gentoo/gentoo/pull/34801 Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Arthur Zamarin · gentoo
dev-lang/micropython: Keyword 1.17 arm64, #873238
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Andreas Sturmlechner · gentoo
dev-lang/micropython: drop 1.11-r1, EAPI-6--
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Patrice Clement · gentoo
dev-lang/micropython: version bump.
EAPI 7 version bump the ebuild whilst at it. Closes: https://bugs.gentoo.org/820086 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-lang/micropython: add dev-libs/libffi subslot dep
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sergei Trofimovich · gentoo
dev-lang/micropython: use dev-libs/libffi instead of virtual/libffi
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Patrice Clement · gentoo
dev-lang/micropython: restore tests.
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Patrice Clement · gentoo
dev-lang/micropython: honor CFLAGS/LDFLAGS.
Don't rely on emake as it discards internal flags and generates compilation failures but patch Makefile directly. Also, this enforcement, although correct, causes a few tests to fail. I haven't looked at why in detail so tests are disabled for now until further investigation. Closes: https://bugs.gentoo.org/727092 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Repository mirror & CI · gentoo
Merge updates from master
Patrice Clement · gentoo
dev-lang/micropython: honor CFLAGS and LDFLAGS.
Closes: https://bugs.gentoo.org/726902 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Patrice Clement · gentoo
dev-lang/micropython: honor CC when running tests.
Closes: https://bugs.gentoo.org/722952 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-lang/micropython: Remove redundant
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Patrice Clement · gentoo
dev-lang/micropython: install mpy-cross binary.
Closes: https://bugs.gentoo.org/703540 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Patrice Clement · gentoo
dev-lang/micropython: clear QA warnings.
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Patrice Clement · gentoo
dev-lang/micropython: version bump.
Courtesy of Mike Auty <ikelos@gentoo.org>. Closes: https://bugs.gentoo.org/700362 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Patrice Clement · gentoo
dev-lang/micropython: version bump.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Patrice Clement · gentoo
dev-lang/micropython: new package.
The MicroPython project aims to put an implementation of Python 3.x on microcontrollers and small embedded systems. Package-Manager: Portage-2.3.13, Repoman-2.3.3