systemd-python: add a new recipe
PATCH v2 1/1 systemd-python: add a new recipe
Adds new recipe for python-systemd, python bindings for libsystemd
--- 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
meta-python/recipes-devtools/python/python-systemd_234.bb new file +12 -0
@@ -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"
Signature · 1 line
2.10.2
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.
Quoted 26 lines · Andrej Rode
Adds new recipe for python-systemd, python bindings for libsystemd
Signed-off-by Andrej Rode <[email protected]>--- 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
meta-python/recipes-devtools/python/python-systemd_234.bb new file +12
-0@@ -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"
Quoted 6 lines · Florian Wickert
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"
Quoted 34 lines · Andrej Rode
Quoted 26 lines
Adds new recipe for python-systemd, python bindings for libsystemd
Signed-off-by Andrej Rode <[email protected]>--- 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
meta-python/recipes-devtools/python/python-systemd_234.bb new file +12
-0@@ -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"Signature · 4 lines
_______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]