python3-pystemd: add new recipe
PATCH 1/1 python3-pystemd: add new recipe
This library provides wrappers around the systemd DBus API for manipulating systemd services.
--- .../recipes-devtools/python/python3-pystemd_0.6.0.bb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pystemd_0.6.0.bb
meta-python/recipes-devtools/python/python3-pystemd_0.6.0.bb new file +12 -0
@@ -0,0 +1,12 @@ +SUMMARY = "Python bindings for interacting with systemd over DBus" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" + +SRC_URI[md5sum] = "c5472be419f53f53f5da089ca8c981c0" +SRC_URI[sha256sum] = "b1fc072c87e3766711f64caf86fd633dca393e20c8a0a37a5058dd70a21d8a14" + +DEPENDS = "systemd" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native"
Signature · 1 line
2.20.1
Quoted 16 lines · Dan Callaghan
This library provides wrappers around the systemd DBus API for manipulating systemd services.
Signed-off-by Dan Callaghan <[email protected]>--- .../recipes-devtools/python/python3-pystemd_0.6.0.bb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pystemd_0.6.0.bbmeta-python/recipes-devtools/python/python3-pystemd_0.6.0.bb new file +0
-0
meta-python/recipes-devtools/python/python3-pystemd_0.6.0.bb line 8
Quoted 8 lines
meta-python/recipes-devtools/python/python3-pystemd_0.6.0.bb new file +8
-0@@ -0,0 +1,12 @@ +SUMMARY = "Python bindings for interacting with systemd over DBus" +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" + +SRC_URI[md5sum] = "c5472be419f53f53f5da089ca8c981c0" +SRC_URI[sha256sum] = "b1fc072c87e3766711f64caf86fd633dca393e20c8a0a37a5058dd70a21d8a14" + +DEPENDS = "systemd"
We have to also check for systemd in REQUIRED_DISTRO_FEATURE or else it can cause errors e.g.
ERROR: Nothing PROVIDES 'systemd' (but /mnt/jenkins/workspace/yocto-world-glibc/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-pystemd_0.6.0.bb DEPENDS on or otherwise requires it)
systemd was skipped: missing required distro feature 'systemd' (not inDISTRO_FEATURES)
Quoted 12 lines
meta-python/recipes-devtools/python/python3-pystemd_0.6.0.bb new file +4
-1+ +inherit pypi setuptools3 + +BBCLASSEXTEND = "native" --2.20.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Excerpts from Khem Raj's message of 2019-08-13 18:28:05 -07:00:
Quoted 8 lines
We have to also check for systemd in
REQUIRED_DISTRO_FEATUREor else it can cause errors e.g.ERROR: Nothing PROVIDES 'systemd' (but
/mnt/jenkins/workspace/yocto-world-glibc/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-pystemd_0.6.0.bbDEPENDS on or otherwise requires it)
systemd was skipped: missing required distro feature 'systemd' (not inDISTRO_FEATURES)
Oh I see... I haven't used REQUIRED_DISTRO_FEATURES before. I was testing in our distro which already has systemd turned on. But it seems pretty straightforward... I will post a v2 of the patch.
Signature · 3 lines
Dan Callaghan <[email protected]> Software Engineer Opengear <https://opengear.com/>