[meta-python] python3-pymodbus: add asyncio to package config

Message ID 20220314220139.8956-1-jsbronder@cold-front.org
State Under Review
Headers show
Series [meta-python] python3-pymodbus: add asyncio to package config | expand

Commit Message

Justin Bronder March 14, 2022, 10:01 p.m. UTC
When using asyncio as the backend for asynchronous communication,
pymodbus depends on python3-pyserial-asyncio.

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
---
 meta-python/recipes-devtools/python/python3-pymodbus_2.5.3.bb | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pymodbus_2.5.3.bb b/meta-python/recipes-devtools/python/python3-pymodbus_2.5.3.bb
index b628cadafe..46565876fe 100644
--- a/meta-python/recipes-devtools/python/python3-pymodbus_2.5.3.bb
+++ b/meta-python/recipes-devtools/python/python3-pymodbus_2.5.3.bb
@@ -11,6 +11,7 @@  inherit pypi setuptools3
 
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[repl] = ",,,python3-aiohttp python3-click python3-prompt-toolkit python3-pygments python3-pyserial-asyncio"
+PACKAGECONFIG[asyncio] = ",,,python3-pyserial-asyncio"
 PACKAGECONFIG[tornado] = ",,,python3-tornado"
 PACKAGECONFIG[twisted] = ",,,python3-twisted-conch"
 PACKAGECONFIG[redis] = ",,,python3-redis"