Install this package:
emerge -a dev-lang/micropython
If the package is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask dev-lang/micropython
Or alternatively:
emerge --autounmask-write -a dev-lang/micropython
<pkgmetadata> <longdescription lang="en"> 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. </longdescription> <upstream> <remote-id type="github">micropython/micropython</remote-id> </upstream> </pkgmetadata>
Manage flags for this package:
euse -i <flag> -p dev-lang/micropython |
euse -E <flag> -p dev-lang/micropython |
euse -D <flag> -p dev-lang/micropython
| Flag | Description | 1.25.0 | 1.23.0 |
|---|---|---|---|
| test | Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently) | ✓ | ✓ |
| Type | File | Size | Versions |
|---|---|---|---|
| DIST | micropython-1.23.0.tar.xz | 85748224 bytes | 1.23.0 |
| DIST | micropython-1.25.0.tar.xz | 109072312 bytes | 1.25.0 |
| Type | File | Size |
|---|