27 Commits

Author SHA256 Message Date
040d2aca98 Accepting request 1299777 from devel:languages:python
- Version 1.26.0
  * Added machine.I2CTarget for creating I2C target devices on multiple ports.
  * New MCU support: STM32N6xx (800 MHz, ML accel) & ESP32-C2 (WiFi + BLE).
  * Major float accuracy boost (~28% → ~98%), constant folding in compiler.
  * Optimized native/Viper emitters; reduced heap use for slices.
  * Time functions standardized (1970–2099); new boards across ESP32, SAMD, STM32, Zephyr.
  * ESP32: ESP-IDF 5.4.2, flash auto-detect, PCNT class, LAN8670 PHY.
  * RP2: compressed errors, better lightsleep, hard IRQ timers.
  * Zephyr v4.0.0: PWM, SoftI2C/SPI, BLE runtime services, boot.py/main.py support.
  * mpremote adds fs tree, improved df, portable config paths.
  * Updated lwIP, LittleFS, libhydrogen, stm32lib; expanded hardware/CI tests.
- Removed micropython-gcc15-string-initialization.patch as included upstream

OBS-URL: https://build.opensuse.org/request/show/1299777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/micropython?expand=0&rev=22
2025-08-15 19:52:37 +00:00
c9e59fe971 - Removed micropython-gcc15-string-initialization.patch as included upstream
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=54
2025-08-15 09:15:21 +00:00
8f53efdcfb - Version 1.26.0
* Added machine.I2CTarget for creating I2C target devices on multiple ports.
  * New MCU support: STM32N6xx (800 MHz, ML accel) & ESP32-C2 (WiFi + BLE).
  * Major float accuracy boost (~28% → ~98%), constant folding in compiler.
  * Optimized native/Viper emitters; reduced heap use for slices.
  * Time functions standardized (1970–2099); new boards across ESP32, SAMD, STM32, Zephyr.
  * ESP32: ESP-IDF 5.4.2, flash auto-detect, PCNT class, LAN8670 PHY.
  * RP2: compressed errors, better lightsleep, hard IRQ timers.
  * Zephyr v4.0.0: PWM, SoftI2C/SPI, BLE runtime services, boot.py/main.py support.
  * mpremote adds fs tree, improved df, portable config paths.
  * Updated lwIP, LittleFS, libhydrogen, stm32lib; expanded hardware/CI tests.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=53
2025-08-15 08:25:38 +00:00
67eb298778 Accepting request 1291954 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1291954
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/micropython?expand=0&rev=21
2025-07-11 19:30:41 +00:00
479ad3f4b3 Accepting request 1291781 from home:badshah400:GCC15
Add micropython-gcc15-string-initialization.patch: Refactor string literal as array initializer (gh#micropython/micropython#17269).

OBS-URL: https://build.opensuse.org/request/show/1291781
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=51
2025-07-11 11:04:06 +00:00
494d61ca63 Accepting request 1282363 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1282363
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/micropython?expand=0&rev=20
2025-06-03 17:10:48 +00:00
bcb6d6a664 Delete even more libs
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=47
2025-05-27 13:16:18 +00:00
4cb58cf646 Tinyusb is not needed on linux
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=46
2025-05-26 13:11:17 +00:00
e9f68f91df Don't include all ports
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=45
2025-05-26 12:56:32 +00:00
a143fb3542 Drop more unneeded libs
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=44
2025-05-26 12:34:40 +00:00
6993c0f7f6 Mention prepare.sh in spec file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=43
2025-05-26 12:22:43 +00:00
af622f8333 - Add script to delete some 3rd party libraries from the src tar
that are not needed to build the unix port in order to
  make the legal review easier

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=42
2025-05-26 11:55:32 +00:00
f48c9863a9 Accepting request 1270586 from devel:languages:python
- Update to 1.25.0
  * Add ROMFS support (see also "mpremote romfs" cmd with "query", "build", and "deploy" sub-commands)
    ROMFS defines a read-only, memory-mappable, extensible filesystem that can contain arbitrary resources,
	including precompiled mpy files, and allows executing bytecode directly from the filesystem.
	This makes importing significantly faster and use a lot less memory.
  * Inline assembler now supports 32-bit RISC-V assembly code via the newly implemented @micropython.asm_rv32 decorator.
  * Datagram TLS (DTLS) is now supported by the tls module and enabled on the alif, mimxrt, renesas-ra, rp2, stm32 and unix ports.
  * mpremote command-line tool now supports recursive remove via the new "rm -r"
  * mpremote now supports relative URLs in the package.json for installing from the local filesystem
  * "mpremote mount" has optimised readline support
  * full support for tuples and start/end arguments in str.startswith() and str.endswith() methods
  * vfs.mount() with no arguments now returns a list of mounted filesystems
  * marshal module has been added with dumps() and loads() functions
  * MicroPython native linker mpy_ld.py now includes support for linking in static libraries automatically
  * native modules now support 32-bit RISC-V code
  * force _FILE_OFFSET_BITS=64 to fix 32-bit file ABI
  * enable VfsRom on standard and coverage variants
  * use the bare metal mbedTLS config in the coverage buiid
  * add recursive mutex support
  * main: add coverage test for mounting ROMFS filesystem at startup
- Drop fix_re_sub_test_on_python3.13.patch as not needed anymore

OBS-URL: https://build.opensuse.org/request/show/1270586
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/micropython?expand=0&rev=19
2025-04-18 14:20:54 +00:00
64d6dbbb6a - Update to 1.25.0
* Add ROMFS support (see also "mpremote romfs" cmd with "query", "build", and "deploy" sub-commands)
    ROMFS defines a read-only, memory-mappable, extensible filesystem that can contain arbitrary resources,
	including precompiled mpy files, and allows executing bytecode directly from the filesystem.
	This makes importing significantly faster and use a lot less memory.
  * Inline assembler now supports 32-bit RISC-V assembly code via the newly implemented @micropython.asm_rv32 decorator.
  * Datagram TLS (DTLS) is now supported by the tls module and enabled on the alif, mimxrt, renesas-ra, rp2, stm32 and unix ports.
  * mpremote command-line tool now supports recursive remove via the new "rm -r"
  * mpremote now supports relative URLs in the package.json for installing from the local filesystem
  * "mpremote mount" has optimised readline support
  * full support for tuples and start/end arguments in str.startswith() and str.endswith() methods
  * vfs.mount() with no arguments now returns a list of mounted filesystems
  * marshal module has been added with dumps() and loads() functions
  * MicroPython native linker mpy_ld.py now includes support for linking in static libraries automatically
  * native modules now support 32-bit RISC-V code
  * force _FILE_OFFSET_BITS=64 to fix 32-bit file ABI
  * enable VfsRom on standard and coverage variants
  * use the bare metal mbedTLS config in the coverage buiid
  * add recursive mutex support
  * main: add coverage test for mounting ROMFS filesystem at startup
- Drop fix_re_sub_test_on_python3.13.patch as not needed anymore

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=40
2025-04-16 12:11:06 +00:00
c9a3a55fa5 Accepting request 1255628 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1255628
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/micropython?expand=0&rev=18
2025-03-25 21:10:23 +00:00
7f27bebe07 - Add fix_re_sub_test_on_python3.13.patch to fix re_sub test
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=38
2025-03-17 12:53:37 +00:00
adade8a593 Accepting request 1246653 from devel:languages:python
- Add subpackage mpy-tools which contains mpy-cross and mpy-tool

OBS-URL: https://build.opensuse.org/request/show/1246653
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/micropython?expand=0&rev=17
2025-02-18 18:12:50 +00:00
d735501d4a - Add subpackage mpy-tools which contains mpy-cross and mpy-tool
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=36
2025-02-18 11:49:19 +00:00
6df9150b08 Accepting request 1244833 from devel:languages:python
Build mpremote

OBS-URL: https://build.opensuse.org/request/show/1244833
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/micropython?expand=0&rev=16
2025-02-11 20:22:45 +00:00
9955417dbe Fix 15.6 fixes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=34
2025-02-10 17:38:34 +00:00
b3240a1079 Accepting request 1244139 from home:dheidler:branches:devel:languages:python
- Fix build for 15.6

Depends on https://build.opensuse.org/requests/1244131

OBS-URL: https://build.opensuse.org/request/show/1244139
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=33
2025-02-07 19:04:09 +00:00
1b94672148 Accepting request 1243566 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1243566
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/micropython?expand=0&rev=15
2025-02-06 21:08:30 +00:00
fe4b3a5d6d Accepting request 1243518 from home:dheidler
- Build mpremote tool

OBS-URL: https://build.opensuse.org/request/show/1243518
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=31
2025-02-06 07:58:50 +00:00
9cdda4c07a Accepting request 1227683 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1227683
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/micropython?expand=0&rev=14
2024-12-02 15:59:19 +00:00
368e053cd0 Accepting request 1227541 from home:jaimeMF:branches:devel:languages:python
- Update to 1.24.1:
  * https://github.com/micropython/micropython/releases/tag/v1.24.1
- Update to 1.24.0:
  * https://github.com/micropython/micropython/releases/tag/v1.24.0

OBS-URL: https://build.opensuse.org/request/show/1227541
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=29
2024-12-02 08:46:28 +00:00
677e47e685 Accepting request 1201783 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1201783
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/micropython?expand=0&rev=13
2024-09-19 19:16:54 +00:00
01a6cb8fe1 Accepting request 1201778 from home:yacar:branches:devel:languages:python
- Update to 1.23.0:
  * https://github.com/micropython/micropython/releases/tag/v1.23.0

OBS-URL: https://build.opensuse.org/request/show/1201778
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/micropython?expand=0&rev=27
2024-09-18 12:08:46 +00:00
3 changed files with 1 additions and 13 deletions

Binary file not shown.

View File

@@ -1,8 +1,3 @@
-------------------------------------------------------------------
Wed Oct 22 12:19:48 UTC 2025 - Dominik Heidler <dheidler@suse.de>
- Build with mbedtls-3.6.5 instead of bundled 3.6.2 to fix CVE-2025-59438
-------------------------------------------------------------------
Fri Aug 15 08:13:39 UTC 2025 - Dominik Heidler <dheidler@suse.de>

View File

@@ -27,7 +27,6 @@ License: MIT
URL: https://micropython.org/
Source0: %{name}-%{version}.tar.xz
Source1: prepare.sh
Source2: https://github.com/Mbed-TLS/mbedtls/releases/download/mbedtls-3.6.5/mbedtls-3.6.5.tar.bz2#/mbedtls-3.6.5.tar.bz2
BuildRequires: openssl
BuildRequires: pkgconfig
BuildRequires: python3
@@ -66,15 +65,12 @@ MicroPython tools like the mpy-cross compiler for compiling.py files to .mpy fil
Also mpy-tool for inspecting .mpy files.
%prep
%autosetup -p1 -a2
%autosetup -p1
sed -i -e "s:/usr/lib/micropython:%{_prefix}/lib/micropython:g" "ports/unix/main.c"
%define make_flags V=1 MICROPY_PY_BTREE=0 MICROPY_PY_USSL=0
rm -rf lib/mbedtls
mv mbedtls-3.6.5 lib/mbedtls
%build
# micropython
export CFLAGS="%optflags -Wno-dangling-pointer"