[oe] [meta-python][PATCH v2] systemd-python: add a new recipe

Martin Jansa martin.jansa at gmail.com
Tue Apr 11 07:13:40 UTC 2017


On Tue, Apr 11, 2017 at 10:36:54AM +0200, Florian Wickert wrote:
> I suggest to use DEPENDS += "systemd (<=234)" to enforce version 
> checking against systemd for this recipe.
> License is LICENSE = "LGPLv2.1+" from what I see on github.
> Also, since you are using ${PYTHON_PN} already, it would be good to have 
> both python 2 & 3 recipes.
> 

The summary sill says systemd-python.

You should also add:
inherit distro_features_check
# depends on systemd
REQUIRED_DISTRO_FEATURES = "systemd"

> 
> On 04/10/2017 11:31 PM, Andrej Rode wrote:
> > Adds new recipe for python-systemd, python bindings for libsystemd
> >
> > Signed-off-by: Andrej Rode <andrej.rode at ettus.com>
> > ---
> >   meta-python/recipes-devtools/python/python-systemd_234.bb | 12 ++++++++++++
> >   1 file changed, 12 insertions(+)
> >   create mode 100644 meta-python/recipes-devtools/python/python-systemd_234.bb
> >
> > diff --git a/meta-python/recipes-devtools/python/python-systemd_234.bb b/meta-python/recipes-devtools/python/python-systemd_234.bb
> > new file mode 100644
> > index 0000000..4eb2170
> > --- /dev/null
> > +++ b/meta-python/recipes-devtools/python/python-systemd_234.bb
> > @@ -0,0 +1,12 @@
> > +SUMMARY = "Python interface for libsystemd"
> > +HOMEPAGE = "https://github.com/systemd/python-systemd"
> > +LICENSE = "LGPLv2+"
> > +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fbd65380cdd255951079008b364516c"
> > +
> > +PYPI_PACKAGE = "systemd-python"
> > +DEPENDS += "systemd"
> > +RDEPENDS_${PN} += "systemd"
> > +inherit pypi setuptools
> > +
> > +SRC_URI[md5sum] = "5071ea5bcb976186e92a3f5e75df221d"
> > +SRC_URI[sha256sum] = "fd0e44bf70eadae45aadc292cb0a7eb5b0b6372cd1b391228047d33895db83e7"
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20170411/3bf48ade/attachment-0002.sig>


More information about the Openembedded-devel mailing list