Commit Graph

9 Commits

Author SHA1 Message Date
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