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>
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>
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>
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>
- 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>
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>