From 37a07db3653f6c003aa8c40df7a07fcf5c78b513 Mon Sep 17 00:00:00 2001 From: Michael Fitzmayer Date: Wed, 3 Sep 2025 21:37:39 +0200 Subject: 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 Signed-off-by: Khem Raj --- .../recipes-devtools/pocketpy/pocketpy_2.0.6.bb | 33 ------------------- .../recipes-devtools/pocketpy/pocketpy_2.1.1.bb | 37 ++++++++++++++++++++++ 2 files changed, 37 insertions(+), 33 deletions(-) delete mode 100644 meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.6.bb create mode 100644 meta-oe/recipes-devtools/pocketpy/pocketpy_2.1.1.bb diff --git a/meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.6.bb b/meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.6.bb deleted file mode 100644 index f3ffccf626..0000000000 --- a/meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.6.bb +++ /dev/null @@ -1,33 +0,0 @@ -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 = "8a3bdd7e0a43b44e3b32548543128d95e68a3802" - - -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" diff --git a/meta-oe/recipes-devtools/pocketpy/pocketpy_2.1.1.bb b/meta-oe/recipes-devtools/pocketpy/pocketpy_2.1.1.bb new file mode 100644 index 0000000000..c5fc4f0f6e --- /dev/null +++ b/meta-oe/recipes-devtools/pocketpy/pocketpy_2.1.1.bb @@ -0,0 +1,37 @@ +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=c292beb20a17db07c359b0cc2c039027" + +SRC_URI = "git://github.com/pocketpy/pocketpy.git;protocol=https;branch=main" +SRCREV = "b6a6aa85a6cbfe0427b48e523d53ee3832bf5bd2" + + +inherit cmake + +EXTRA_OECMAKE = "\ + -DPK_ENABLE_OS=ON \ +" + +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" -- cgit v1.2.3-54-g00ecf