Skip to contentSkip to conversation

python3-asyncvarlink: add recipe

PATCH In review Alex Kiernan 2 participants 5 messages Sep 28

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python3-asyncvarlink: add recipe

asyncio Varlink binding with file-descriptor passing; interfaces are derived from annotated Python classes.

AI-Generated: Claude Opus 5 (Claude Code)

---
 .../packagegroups/packagegroup-meta-python.bb  |  1 +
 .../python/python3-asyncvarlink_0.3.2.bb       | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-asyncvarlink_0.3.2.bb
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -0
index d9a91512763e..9d07fc44e27a 100644
@@ -39,6 +39,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-asttokens \
     python3-async-timeout \
     python3-asyncio-glib \
+    python3-asyncvarlink \
     python3-attr \
     python3-autobahn \
     python3-automat \
meta-python/recipes-devtools/python/python3-asyncvarlink_0.3.2.bb new file +18 -0
new file mode 100644
index 000000000000..abbe50cab342
@@ -0,0 +1,18 @@
+SUMMARY = "asyncio-compatible, type-driven Varlink implementation"
+DESCRIPTION = "An asyncio Varlink binding supporting file-descriptor passing, \
+with interfaces derived from annotated Python classes."
+HOMEPAGE = "https://github.com/helmutg/asyncvarlink"
+SECTION = "devel/python"
+
+LICENSE = "LGPL-2.0-or-later"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=9ec28527f3d544b51ceb0e1907d0bf3f"
+
+inherit python_flit_core
+
+RDEPENDS:${PN} = "\
+    python3-asyncio \
+    python3-core \
+    python3-io \
+    python3-json \
+    python3-logging \
+"
#1 lore raw

PATCH 2/2 python3-varlink: add recipe

Reference Python Varlink binding. Fetched from git as 32.1.0 was never published to PyPI (latest there is 31.0.0 from 2021).

AI-Generated: Claude Opus 5 (Claude Code)

---
 .../packagegroups/packagegroup-meta-python.bb |  1 +
 .../python/python3-varlink_32.1.0.bb          | 27 +++++++++++++++++++
 2 files changed, 28 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-varlink_32.1.0.bb
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -0
index 9d07fc44e27a..f84941daf08b 100644
@@ -440,6 +440,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-ujson \
     python3-unidiff \
     python3-uritemplate \
+    python3-varlink \
     python3-vcversioner \
     python3-versioneer \
     python3-versiontools \
meta-python/recipes-devtools/python/python3-varlink_32.1.0.bb new file +27 -0
new file mode 100644
index 000000000000..8c532371d0a2
@@ -0,0 +1,27 @@
+SUMMARY = "Python implementation of the Varlink protocol"
+HOMEPAGE = "https://github.com/varlink/python"
+SECTION = "devel/python"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e"
+
+# 32.1.0 is not published on PyPI
+SRC_URI = "git://github.com/varlink/python.git;protocol=https;branch=master"
+SRCREV = "8b3ba4e8206b098c524f538036a941b47797840d"
+
+inherit python_setuptools_build_meta
+
+# Keep the bundled test suite, and its python3-unittest dependency, separate
+PACKAGES =+ "${PN}-tests"
+FILES:${PN}-tests = "${PYTHON_SITEPACKAGES_DIR}/varlink/tests"
+RDEPENDS:${PN}-tests = "${PN} python3-unittest"
+
+RDEPENDS:${PN} = "\
+    python3-core \
+    python3-datetime \
+    python3-io \
+    python3-json \
+    python3-netclient \
+    python3-netserver \
+    python3-shell \
+"
#2 lore raw

Re: [oe] [meta-python][PATCH 2/2] python3-varlink: add recipe

Can these tests be make to run as part of ptest image framework in this layer e.g. Can I execute it as part of meta-python-image-ptest-all

Quoted 75 lines · Alex Kiernan via lists.openembedded.org

Reference Python Varlink binding. Fetched from git as 32.1.0 was never published to PyPI (latest there is 31.0.0 from 2021).

AI-Generated: Claude Opus 5 (Claude Code)

---
 .../packagegroups/packagegroup-meta-python.bb |  1 +
 .../python/python3-varlink_32.1.0.bb          | 27 +++++++++++++++++++
 2 files changed, 28 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/

python3-varlink_32.1.0.bb

(quoted diff) +0 -0

packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/ packagegroup-meta-python.bb
index 9d07fc44e27a..f84941daf08b 100644

meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -0
@@ -440,6 +440,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-ujson \
     python3-unidiff \
     python3-uritemplate \
+    python3-varlink \
     python3-vcversioner \
     python3-versioneer \
     python3-versiontools \
meta-python/recipes-devtools/python/python3-varlink_32.1.0.bb new file +6 -0
new file mode 100644
index 000000000000..8c532371d0a2
@@ -0,0 +1,27 @@
+SUMMARY = "Python implementation of the Varlink protocol"
+HOMEPAGE = "https://github.com/varlink/python"
+SECTION = "devel/python"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM =

"file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e"

meta-python/recipes-devtools/python/python3-varlink_32.1.0.bb new file +3 -0
+
+# 32.1.0 is not published on PyPI
+SRC_URI = "git://

github.com/varlink/python.git;protocol=https;branch=master"

meta-python/recipes-devtools/python/python3-varlink_32.1.0.bb new file +5 -0
+SRCREV = "8b3ba4e8206b098c524f538036a941b47797840d"
+
+inherit python_setuptools_build_meta
+
+# Keep the bundled test suite, and its python3-unittest dependency,

separate

meta-python/recipes-devtools/python/python3-varlink_32.1.0.bb new file +13 -1
+PACKAGES =+ "${PN}-tests"
+FILES:${PN}-tests = "${PYTHON_SITEPACKAGES_DIR}/varlink/tests"
+RDEPENDS:${PN}-tests = "${PN} python3-unittest"
+
+RDEPENDS:${PN} = "\
+    python3-core \
+    python3-datetime \
+    python3-io \
+    python3-json \
+    python3-netclient \
+    python3-netserver \
+    python3-shell \
+"
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group. View/Reply Online (#130428):
https://lists.openembedded.org/g/openembedded-devel/message/130428
Mute This Topic: https://lists.openembedded.org/mt/121468544/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

Re: [oe] [meta-python][PATCH 2/2] python3-varlink: add recipe

Will do. I have a terrible feeling that what I thought I was building wasn't actually what I submitted as the layer I picked these out of was still in my bilayers :(

Quoted 82 lines · On Mon, 28 Sept 2026, 18:30 Khem Raj, <[email protected]> wrote:

Can these tests be make to run as part of ptest image framework in this layer e.g. Can I execute it as part of meta-python-image-ptest-all

Quoted 76 lines · Alex Kiernan via lists.openembedded.org

Reference Python Varlink binding. Fetched from git as 32.1.0 was never published to PyPI (latest there is 31.0.0 from 2021).

AI-Generated: Claude Opus 5 (Claude Code)

---
 .../packagegroups/packagegroup-meta-python.bb |  1 +
 .../python/python3-varlink_32.1.0.bb          | 27 +++++++++++++++++++
 2 files changed, 28 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/

python3-varlink_32.1.0.bb

(quoted diff) +0 -0

packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/ packagegroup-meta-python.bb
index 9d07fc44e27a..f84941daf08b 100644

meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -0
@@ -440,6 +440,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-ujson \
     python3-unidiff \
     python3-uritemplate \
+    python3-varlink \
     python3-vcversioner \
     python3-versioneer \
     python3-versiontools \
(quoted diff) +0 -0

python3-varlink_32.1.0.bb b/meta-python/recipes-devtools/python/ python3-varlink_32.1.0.bb
new file mode 100644
index 000000000000..8c532371d0a2

meta-python/recipes-devtools/python/python3-varlink_32.1.0.bb new file +6 -0
@@ -0,0 +1,27 @@
+SUMMARY = "Python implementation of the Varlink protocol"
+HOMEPAGE = "https://github.com/varlink/python"
+SECTION = "devel/python"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM =

"file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e"

meta-python/recipes-devtools/python/python3-varlink_32.1.0.bb new file +3 -0
+
+# 32.1.0 is not published on PyPI
+SRC_URI = "git://

github.com/varlink/python.git;protocol=https;branch=master"

meta-python/recipes-devtools/python/python3-varlink_32.1.0.bb new file +5 -0
+SRCREV = "8b3ba4e8206b098c524f538036a941b47797840d"
+
+inherit python_setuptools_build_meta
+
+# Keep the bundled test suite, and its python3-unittest dependency,

separate

meta-python/recipes-devtools/python/python3-varlink_32.1.0.bb new file +13 -1
+PACKAGES =+ "${PN}-tests"
+FILES:${PN}-tests = "${PYTHON_SITEPACKAGES_DIR}/varlink/tests"
+RDEPENDS:${PN}-tests = "${PN} python3-unittest"
+
+RDEPENDS:${PN} = "\
+    python3-core \
+    python3-datetime \
+    python3-io \
+    python3-json \
+    python3-netclient \
+    python3-netserver \
+    python3-shell \
+"
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group. View/Reply Online (#130428):
https://lists.openembedded.org/g/openembedded-devel/message/130428
Mute This Topic: https://lists.openembedded.org/mt/121468544/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#4 lore raw
In reply to Alex Kiernan

its seems to have https://github.com/helmutg/asyncvarlink/tree/main/tests
please work on adding these as a ptest package

Quoted 65 lines · Alex Kiernan via lists.openembedded.org

asyncio Varlink binding with file-descriptor passing; interfaces are derived from annotated Python classes.

AI-Generated: Claude Opus 5 (Claude Code)

---
 .../packagegroups/packagegroup-meta-python.bb  |  1 +
 .../python/python3-asyncvarlink_0.3.2.bb       | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/

python3-asyncvarlink_0.3.2.bb

(quoted diff) +0 -0

packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/ packagegroup-meta-python.bb
index d9a91512763e..9d07fc44e27a 100644

meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -0
@@ -39,6 +39,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
     python3-asttokens \
     python3-async-timeout \
     python3-asyncio-glib \
+    python3-asyncvarlink \
     python3-attr \
     python3-autobahn \
     python3-automat \
(quoted diff) +0 -0

python3-asyncvarlink_0.3.2.bb b/meta-python/recipes-devtools/python/ python3-asyncvarlink_0.3.2.bb
new file mode 100644
index 000000000000..abbe50cab342

meta-python/recipes-devtools/python/python3-asyncvarlink_0.3.2.bb new file +2 -0
@@ -0,0 +1,18 @@
+SUMMARY = "asyncio-compatible, type-driven Varlink implementation"
+DESCRIPTION = "An asyncio Varlink binding supporting file-descriptor

passing, \

meta-python/recipes-devtools/python/python3-asyncvarlink_0.3.2.bb new file +16 -1
+with interfaces derived from annotated Python classes."
+HOMEPAGE = "https://github.com/helmutg/asyncvarlink"
+SECTION = "devel/python"
+
+LICENSE = "LGPL-2.0-or-later"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=9ec28527f3d544b51ceb0e1907d0bf3f"
+
+inherit python_flit_core
+
+RDEPENDS:${PN} = "\
+    python3-asyncio \
+    python3-core \
+    python3-io \
+    python3-json \
+    python3-logging \
+"
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group. View/Reply Online (#130427):
https://lists.openembedded.org/g/openembedded-devel/message/130427
Mute This Topic: https://lists.openembedded.org/mt/121468542/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-