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.


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 <[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

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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to