@@ -89,6 +89,7 @@ PTESTS_FAST_META_PYTHON = "\
python3-unidiff \
python3-uritemplate \
python3-validators \
+ python3-varlink \
python3-wrapt \
python3-wsproto \
python3-xlrd \
new file mode 100644
@@ -0,0 +1,28 @@
+SUMMARY = " Python implementation of the Varlink protocol"
+HOMEPAGE = "https://varlink.org/python/"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e"
+
+SRC_URI = "git://github.com/varlink/python.git;protocol=https;branch=master"
+
+SRCREV = "6012b8805bf2ebcc981c84bd56a3e949a2141c16"
+
+S = "${WORKDIR}/git"
+
+inherit python_setuptools_build_meta ptest-python-pytest
+
+DEPENDS += "python3-setuptools-scm-native"
+
+RDEPENDS:${PN} += " \
+ python3-core \
+ python3-datetime \
+ python3-io \
+ python3-json \
+ python3-netclient \
+ python3-netserver \
+ python3-shell \
+ python3-stringold \
+ python3-unittest \
+"
+
+PTEST_PYTEST_DIR = "varlink/tests"
Add a python recipe to install the python implementation for the varlink interface. The recipe is using the current master head, instead of the version from pypi. This is done as the pypi version is 4 years old, while the master is continuously maintained in GitHub. The runtime dependencies were created by looking at all the import statement in the installed files of the repository and looking at the relevant packages from the python3 manifest file in meta-poky. Signed-off-by: Omri Sarig <omri.sarig13@gmail.com> --- .../ptest-packagelists-meta-python.inc | 1 + .../python/python3-varlink_git.bb | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-varlink_git.bb