Commit Graph
12 Commits
Author SHA1 Message Date
Ankur Tyagi 6bbc65fd7a pocketpy: upgrade 2.1.8 -> 2.2.0
Changelog:
https://github.com/pocketpy/pocketpy/releases/tag/v2.2.0

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-28 06:57:40 -07:00
Khem Raj 201f3c95cc pocketpy: disable CMake Unity build to fix buildpaths QA warnings
pocketpy's upstream CMakeLists.txt defaults PK_BUILD_WITH_UNITY to ON
for CMake >= 3.16, which makes CMake generate a synthetic translation
unit (Unity/unity_pocketpy_c.c) that #includes every source file by
its absolute build-tree path. That generated file gets copied
verbatim into the pocketpy-src package's /usr/src/debug tree, so its
embedded paths trip the buildpaths QA check for both TMPDIR and the
build host's HOME directory.

Setting OEQA_BUILDPATHS_SKIP as suggested in the warning text would
only silence the HOME-directory half of the check; TMPDIR has no skip
mechanism in insane.bbclass and would keep firing. Instead, disable
the Unity build via -DPK_BUILD_WITH_UNITY=OFF so CMake emits normal
per-file translation units with no absolute paths in their contents.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-09-27 07:51:34 -07:00
Khem Raj adbed0ea03 pocketpy: upgrade 2.1.3 -> 2.1.8
Point release with bug fixes and minor improvements.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-14 09:06:24 -07:00
Khem Raj 466bf08759 pocketpy: Upgrade to 3.1.3
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-28 23:31:28 -07:00
Michael Fitzmayer 37a07db365 pocketpy: Upgrade to 2.1.1
Update LICENSE checksum: the year in the copyright notice has been updated.

Enable CMake option PK_ENABLE_OS which allows PocketPy to perform file operations.

Signed-off-by: Michael Fitzmayer <mail@michael-fitzmayer.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-04 10:28:30 -07:00
Alexander Kanavin fc78d37ff0 meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Wang Mingyu e7e8617a3d pocketpy: upgrade 2.0.5 -> 2.0.6
Changelog:
=========
- add pybind11 implementation for module reload
- Improve memory managements (mem-v2)
- implement array2d.chunked_array2d[T, TContext]
- Add test cases for array2d.chunked_array2d
- Refactor Frame struct
- [lz4] Make lz4 a submodule.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-11 17:17:21 -07:00
Wang Mingyu e8d120d94f pocketpy: upgrade 2.0.4 -> 2.0.5
Changelog:
============
- use cpython % and // impl
- add colorcvt module
- add py_importlib_reload and importlib module
- add py_interrupt and set single handler for REPL
- add PK_LOW_MEMORY_MODE
- reduce type's memory cost
- allow customize malloc, realloc and free
- make C99 compilers work
- fix win32 clang build
- avoid undefined behavior signed int overflow
- fix pybind11 implementation for error_already_set

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-24 18:20:01 -08:00
Khem Raj 14b3a5ccb2 pocketpy: Add pic options to cflags
Ensures that PIC is always used to build

Fixes
error: relocation R_386_PC32 cannot be used against symbol 'LZ4_compress_fast_extState'; recompile with -fPIC

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-07 18:41:11 -08:00
Wang Mingyu b9a1eaa15f pocketpy: upgrade 2.0.3 -> 2.0.4
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-07 18:41:10 -08:00
Michael Fitzmayer 0ffa4bc5af pocketpy: update to version 2.0.3
- Fix some type annotation usage e.g. int | None.
- Fix some builtins hash functions
- Fix a severe bug of dict
- Clean up #defines
- Improve array2d
- Fix a bug of super
- Fix a bug of context manager

Signed-off-by: Michael Fitzmayer <mail@michael-fitzmayer.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-08 18:54:11 -08:00
Michael Fitzmayer edd83e2e6a Add recipe: pocketpy 2.0.2
pocketpy is a portable Python 3.x Interpreter in Modern C.

It aims to be an alternative to lua for game scripting, with elegant
syntax, powerful features and competitive performance.  pkpy is
extremely easy to embed via a single header file pocketpy.h, without
external dependencies.

Signed-off-by: Michael Fitzmayer <mail@michael-fitzmayer.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-21 21:42:37 -08:00