mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 17:59:59 +00:00
e8d120d94f
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>
35 lines
1.2 KiB
BlitzBasic
35 lines
1.2 KiB
BlitzBasic
SUMMARY = "A Portable Python 3.x Interpreter in Modern C."
|
|
DESCRIPTION = "pkpy is a lightweight(~15K LOC) Python 3.x \
|
|
interpreter for game scripting, written in C11. \
|
|
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. \
|
|
"
|
|
HOMEPAGE = "https://pocketpy.dev/"
|
|
BUGTRACKER = "https://github.com/pocketpy/pocketpy/issues"
|
|
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=8cdfa87bc5e09bc07f8cf64135026d91"
|
|
|
|
SRC_URI = "git://github.com/pocketpy/pocketpy.git;protocol=https;branch=main"
|
|
SRCREV = "8024f46b544698ef51d1ca0bb50a29cf0d411a29"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit cmake
|
|
|
|
CFLAGS += "-fPIC"
|
|
|
|
do_install() {
|
|
install -d ${D}${libdir}
|
|
install -m 0644 ${B}/libpocketpy.so ${D}${libdir}/
|
|
install -d ${D}${includedir}/pocketpy
|
|
cp -r ${S}/include/* ${D}${includedir}/pocketpy/
|
|
}
|
|
|
|
FILES:${PN} = "${libdir}/libpocketpy.so"
|
|
FILES:${PN}-dev = "${includedir}/pocketpy"
|
|
FILES:${PN}-dbg += "${libdir}/.debug/libpocketpy.so"
|