[oe] [meta-python][PATCH] python3-pystemd: add new recipe

Khem Raj raj.khem at gmail.com
Wed Aug 14 01:28:05 UTC 2019


On Mon, Aug 12, 2019 at 10:15 PM Dan Callaghan
<dan.callaghan at opengear.com> wrote:
>
> This library provides wrappers around the systemd DBus API for
> manipulating systemd services.
>
> Signed-off-by: Dan Callaghan <dan.callaghan at opengear.com>
> ---
>  .../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
>
> diff --git a/meta-python/recipes-devtools/python/python3-pystemd_0.6.0.bb b/meta-python/recipes-devtools/python/python3-pystemd_0.6.0.bb
> new file mode 100644
> index 000000000..6c6e9ad5d
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-pystemd_0.6.0.bb
> @@ -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 in
DISTRO_FEATURES)



> +
> +inherit pypi setuptools3
> +
> +BBCLASSEXTEND = "native"
> --
> 2.20.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


More information about the Openembedded-devel mailing list