add recipes: canopenterm 1.0.8, pocketpy 2.0.2
PATCH 1/1 add recipes: canopenterm 1.0.8, pocketpy 2.0.2
CANopenTerm is a versatile software tool to analyse and configure CANopen devices. It extends its capabilities to support other CAN CC protocols, including SAE J1939 and OBD-II.
pocketpy is a portable Python 3.x interpreter in modern C. CANopenTerm depends on it.
--- .../pocketpy/pocketpy_2.0.2.bb | 25 +++++++++++++++++++ .../canopenterm/canopenterm_1.0.8.bb | 23 +++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.2.bb create mode 100644 meta-oe/recipes-extended/canopenterm/canopenterm_1.0.8.bb
meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.2.bb new file +25 -0
@@ -0,0 +1,25 @@ +SUMMARY = "pocketpy" +DESCRIPTION = "A Portable Python 3.x Interpreter in Modern C" +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;tag=v${PV}" +S = "${WORKDIR}/git" + +inherit cmake + +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/ +} + +PACKAGES = "${PN} ${PN}-dev ${PN}-dbg" + +FILES:${PN} = "${libdir}/libpocketpy.so" +FILES:${PN}-dev = "${includedir}/pocketpy" +FILES:${PN}-dbg += "${libdir}/.debug/libpocketpy.so"
meta-oe/recipes-extended/canopenterm/canopenterm_1.0.8.bb new file +23 -0
@@ -0,0 +1,23 @@ + +SUMMARY = "CANopenTerm" +DESCRIPTION = "A versatile software tool to analyse and configure CANopen devices" +HOMEPAGE = "https://canopenterm.de" +BUGTRACKER = "https://github.com/CANopenTerm/CANopenTerm/issues" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=10e84ea70e8c3a1fbc462f5424806474" + +DEPENDS = "libinih libsdl2 lua libsocketcan pocketpy readline" + +SRC_URI = "git://github.com/CANopenTerm/CANopenTerm.git;protocol=https;branch=main;tag=v${PV}" +S = "${WORKDIR}/git" + +inherit cmake + +EXTRA_OECMAKE += "-DBUILD_YOCTO=ON" + +FILES:${PN} += "/usr/bin/CANopenTerm \ + /usr/share/CANopenTerm \ + " + +RDEPENDS:${PN} = "libinih libsdl2 lua libsocketcan pocketpy readline"
Signature · 1 line
2.39.5
Quoted 22 lines · Michael Fitzmayer via lists.openembedded.org
CANopenTerm is a versatile software tool to analyse and configure CANopen devices. It extends its capabilities to support other CAN CC protocols, including SAE J1939 and OBD-II.
pocketpy is a portable Python 3.x interpreter in modern C. CANopenTerm depends on it.
Signed-off-by Michael Fitzmayer <[email protected]>--- .../pocketpy/pocketpy_2.0.2.bb | 25 +++++++++++++++++++ .../canopenterm/canopenterm_1.0.8.bb | 23 +++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.2.bb create mode 100644 meta-oe/recipes-extended/canopenterm/canopenterm_1.0.8.bbmeta-oe/recipes-devtools/pocketpy/pocketpy_2.0.2.bb new file +0
-0
meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.2.bb line 1
Quoted 1 line
meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.2.bb new file +1
-0@@ -0,0 +1,25 @@ +SUMMARY = "pocketpy"
This seems too terse, infact the DESCRIPTION below is apt for summary.
meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.2.bb line 9
Quoted 8 lines
meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.2.bb new file +8
-0+DESCRIPTION = "A Portable Python 3.x Interpreter in Modern C" +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;tag=v${PV}"
lets not use tag here, they may not work when the network is disabled since they act as floating labels, please set
SRCREV instead.
meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.2.bb line 10
Quoted 1 line
meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.2.bb new file +1
-0+S = "${WORKDIR}/git"
additional space after S are unusual, just use one space.
meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.2.bb line 21
Quoted 11 lines
meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.2.bb new file +11
-0+ +inherit cmake + +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/ +} + +PACKAGES = "${PN} ${PN}-dev ${PN}-dbg"
It seems unnecessary to redefine PACKAGES here. Just remove it.
meta-oe/recipes-extended/canopenterm/canopenterm_1.0.8.bb line 2
Quoted 12 lines
meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.2.bb new file +4
-0+ +FILES:${PN} = "${libdir}/libpocketpy.so" +FILES:${PN}-dev = "${includedir}/pocketpy" +FILES:${PN}-dbg += "${libdir}/.debug/libpocketpy.so"meta-oe/recipes-extended/canopenterm/canopenterm_1.0.8.bb new file +2
-0@@ -0,0 +1,23 @@ + +SUMMARY = "CANopenTerm"
Too terse like recipe above
meta-oe/recipes-extended/canopenterm/canopenterm_1.0.8.bb line 12
Quoted 10 lines
meta-oe/recipes-extended/canopenterm/canopenterm_1.0.8.bb new file +10
-0+DESCRIPTION = "A versatile software tool to analyse and configure CANopen devices" +HOMEPAGE = "https://canopenterm.de" +BUGTRACKER = "https://github.com/CANopenTerm/CANopenTerm/issues" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=10e84ea70e8c3a1fbc462f5424806474" + +DEPENDS = "libinih libsdl2 lua libsocketcan pocketpy readline" + +SRC_URI = "git://github.com/CANopenTerm/CANopenTerm.git;protocol=https;branch=main;tag=v${PV}"
Hmm, same comment as above
meta-oe/recipes-extended/canopenterm/canopenterm_1.0.8.bb line 14
Quoted 2 lines
meta-oe/recipes-extended/canopenterm/canopenterm_1.0.8.bb new file +2
-0+S = "${WORKDIR}/git" +
remove additional spaces
meta-oe/recipes-extended/canopenterm/canopenterm_1.0.8.bb line 21
Quoted 7 lines
meta-oe/recipes-extended/canopenterm/canopenterm_1.0.8.bb new file +7
-0+inherit cmake + +EXTRA_OECMAKE += "-DBUILD_YOCTO=ON" + +FILES:${PN} += "/usr/bin/CANopenTerm \ + /usr/share/CANopenTerm \ + "
Use ${bindir} and ${datadir} variables instead of hardcoding /usr/bin and /usr/share
Quoted 14 lines
meta-oe/recipes-extended/canopenterm/canopenterm_1.0.8.bb new file +2
-1+ +RDEPENDS:${PN} = "libinih libsdl2 lua libsocketcan pocketpy readline" --2.39.5
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#113975): https://lists.openembedded.org/g/openembedded-devel/message/113975
Mute This Topic: https://lists.openembedded.org/mt/109709776/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
PATCH 1/2 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.
--- .../pocketpy/pocketpy_2.0.2.bb | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.2.bb
meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.2.bb new file +32 -0
@@ -0,0 +1,32 @@ +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 = "b5a443efa11e7d6576025d1b9a397ead9e9260c9" + +S = "${WORKDIR}/git" + +inherit cmake + +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"
Signature · 1 line
2.39.5
PATCH 2/2 Add recipe: canopenterm 1.0.8
In reply to Khem RajCANopenTerm is an open-source software tool designed for the development, testing, and analysis of CANopen CC networks and devices. It extends its capabilities to support other CAN CC protocols, including SAE J1939 and OBD-II.
--- .../canopenterm/canopenterm_1.0.8.bb | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meta-oe/recipes-extended/canopenterm/canopenterm_1.0.8.bb
meta-oe/recipes-extended/canopenterm/canopenterm_1.0.8.bb new file +29 -0
@@ -0,0 +1,29 @@ + +SUMMARY = "CANopenTerm is a versatile software tool to analyse and \ + configure CANopen devices. \ + " +DESCRIPTION = "CANopenTerm is an open-source software tool designed for the \ + development, testing, and analysis of CANopen CC networks and \ + devices. It extends its capabilities to support other CAN CC \ + protocols, including SAE J1939 and OBD-II. \ + " +HOMEPAGE = "https://canopenterm.de" +BUGTRACKER = "https://github.com/CANopenTerm/CANopenTerm/issues" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=10e84ea70e8c3a1fbc462f5424806474" + +DEPENDS = "libinih libsdl2 lua libsocketcan pocketpy" + +SRC_URI = "git://github.com/CANopenTerm/CANopenTerm.git;protocol=https;branch=main" +SRCREV = "5bc04e09351f68e889381e1912b0445c4f18ee32" + +S = "${WORKDIR}/git" + +inherit cmake + +EXTRA_OECMAKE += "-DBUILD_YOCTO=ON" + +FILES:${PN} += "${bindir}/CANopenTerm ${datadir}" + +RDEPENDS:${PN} = "libinih libsdl2 lua libsocketcan pocketpy"
Signature · 1 line
2.39.5